io.qt.widgets.QCalendarWidget Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Monthly based calendar widget allowing the user to select a date
* Java wrapper for Qt class QCalendarWidget
*/
public class QCalendarWidget extends io.qt.widgets.QWidget
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QCalendarWidget.class);
/**
* Java wrapper for Qt enum QCalendarWidget::HorizontalHeaderFormat
*/
public enum HorizontalHeaderFormat implements QtEnumerator {
/**
* Representing QCalendarWidget:: NoHorizontalHeader
*/
NoHorizontalHeader(0),
/**
* Representing QCalendarWidget:: SingleLetterDayNames
*/
SingleLetterDayNames(1),
/**
* Representing QCalendarWidget:: ShortDayNames
*/
ShortDayNames(2),
/**
* Representing QCalendarWidget:: LongDayNames
*/
LongDayNames(3);
static {
QtJambi_LibraryUtilities.initialize();
}
private HorizontalHeaderFormat(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull HorizontalHeaderFormat resolve(int value) {
switch (value) {
case 0: return NoHorizontalHeader;
case 1: return SingleLetterDayNames;
case 2: return ShortDayNames;
case 3: return LongDayNames;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QCalendarWidget::SelectionMode
*/
public enum SelectionMode implements QtEnumerator {
/**
* Representing QCalendarWidget:: NoSelection
*/
NoSelection(0),
/**
* Representing QCalendarWidget:: SingleSelection
*/
SingleSelection(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private SelectionMode(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull SelectionMode resolve(int value) {
switch (value) {
case 0: return NoSelection;
case 1: return SingleSelection;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QCalendarWidget::VerticalHeaderFormat
*/
public enum VerticalHeaderFormat implements QtEnumerator {
/**
* Representing QCalendarWidget:: NoVerticalHeader
*/
NoVerticalHeader(0),
/**
* Representing QCalendarWidget:: ISOWeekNumbers
*/
ISOWeekNumbers(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private VerticalHeaderFormat(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull VerticalHeaderFormat resolve(int value) {
switch (value) {
case 0: return NoVerticalHeader;
case 1: return ISOWeekNumbers;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QCalendarWidget:: activated(QDate)
*/
public final @NonNull Signal1 activated = new Signal1<>();
/**
* See QCalendarWidget:: clicked(QDate)
*/
public final @NonNull Signal1 clicked = new Signal1<>();
/**
* See QCalendarWidget:: currentPageChanged(int, int)
*/
public final @NonNull Signal2 currentPageChanged = new Signal2<>();
/**
* See QCalendarWidget:: selectionChanged()
*/
public final @NonNull Signal0 selectionChanged = new Signal0();
/**
* See QCalendarWidget:: QCalendarWidget(QWidget*)
*/
public QCalendarWidget(io.qt.widgets.@Nullable QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QCalendarWidget instance, io.qt.widgets.QWidget parent);
/**
* See QCalendarWidget:: calendar()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QCalendar calendar(){
return calendar_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QCalendar calendar_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: clearMaximumDate()
*/
@QtPropertyResetter(name="maximumDate")
@QtUninvokable
public final void clearMaximumDate(){
clearMaximumDate_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearMaximumDate_native(long __this__nativeId);
/**
* See QCalendarWidget:: clearMinimumDate()
*/
@QtPropertyResetter(name="minimumDate")
@QtUninvokable
public final void clearMinimumDate(){
clearMinimumDate_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearMinimumDate_native(long __this__nativeId);
/**
* See QCalendarWidget:: dateEditAcceptDelay()const
*/
@QtPropertyReader(name="dateEditAcceptDelay")
@QtUninvokable
public final int dateEditAcceptDelay(){
return dateEditAcceptDelay_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int dateEditAcceptDelay_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: dateTextFormat()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QMap dateTextFormat(){
return dateTextFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QMap dateTextFormat_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: dateTextFormat(QDate)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextCharFormat dateTextFormat(io.qt.core.@NonNull QDate date){
return dateTextFormat_native_QDate_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date));
}
@QtUninvokable
private native io.qt.gui.QTextCharFormat dateTextFormat_native_QDate_constfct(long __this__nativeId, long date);
/**
* See QCalendarWidget:: firstDayOfWeek()const
*/
@QtPropertyReader(name="firstDayOfWeek")
@QtUninvokable
public final io.qt.core.Qt.@NonNull DayOfWeek firstDayOfWeek(){
return io.qt.core.Qt.DayOfWeek.resolve(firstDayOfWeek_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int firstDayOfWeek_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: headerTextFormat()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextCharFormat headerTextFormat(){
return headerTextFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QTextCharFormat headerTextFormat_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: horizontalHeaderFormat()const
*/
@QtPropertyReader(name="horizontalHeaderFormat")
@QtUninvokable
public final io.qt.widgets.QCalendarWidget.@NonNull HorizontalHeaderFormat horizontalHeaderFormat(){
return io.qt.widgets.QCalendarWidget.HorizontalHeaderFormat.resolve(horizontalHeaderFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int horizontalHeaderFormat_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: isDateEditEnabled()const
*/
@QtPropertyReader(name="dateEditEnabled")
@QtUninvokable
public final boolean isDateEditEnabled(){
return isDateEditEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDateEditEnabled_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: isGridVisible()const
*/
@QtPropertyReader(name="gridVisible")
@QtUninvokable
public final boolean isGridVisible(){
return isGridVisible_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isGridVisible_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: isNavigationBarVisible()const
*/
@QtPropertyReader(name="navigationBarVisible")
@QtUninvokable
public final boolean isNavigationBarVisible(){
return isNavigationBarVisible_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isNavigationBarVisible_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: maximumDate()const
*/
@QtPropertyReader(name="maximumDate")
@QtUninvokable
public final io.qt.core.@NonNull QDate maximumDate(){
return maximumDate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QDate maximumDate_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: minimumDate()const
*/
@QtPropertyReader(name="minimumDate")
@QtUninvokable
public final io.qt.core.@NonNull QDate minimumDate(){
return minimumDate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QDate minimumDate_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: monthShown()const
*/
@QtUninvokable
public final int monthShown(){
return monthShown_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int monthShown_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: selectedDate()const
*/
@QtPropertyReader(name="selectedDate")
@QtUninvokable
public final io.qt.core.@NonNull QDate selectedDate(){
return selectedDate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QDate selectedDate_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: selectionMode()const
*/
@QtPropertyReader(name="selectionMode")
@QtUninvokable
public final io.qt.widgets.QCalendarWidget.@NonNull SelectionMode selectionMode(){
return io.qt.widgets.QCalendarWidget.SelectionMode.resolve(selectionMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int selectionMode_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: setCalendar(QCalendar)
*/
@QtUninvokable
public final void setCalendar(io.qt.core.@NonNull QCalendar calendar){
setCalendar_native_QCalendar(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(calendar));
}
@QtUninvokable
private native void setCalendar_native_QCalendar(long __this__nativeId, long calendar);
/**
* See QCalendarWidget:: setCurrentPage(int, int)
*/
public final void setCurrentPage(int year, int month){
setCurrentPage_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), year, month);
}
private native void setCurrentPage_native_int_int(long __this__nativeId, int year, int month);
/**
* See QCalendarWidget:: setDateEditAcceptDelay(int)
*/
@QtPropertyWriter(name="dateEditAcceptDelay")
@QtUninvokable
public final void setDateEditAcceptDelay(int delay){
setDateEditAcceptDelay_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), delay);
}
@QtUninvokable
private native void setDateEditAcceptDelay_native_int(long __this__nativeId, int delay);
/**
* See QCalendarWidget:: setDateEditEnabled(bool)
*/
@QtPropertyWriter(name="dateEditEnabled")
@QtUninvokable
public final void setDateEditEnabled(boolean enable){
setDateEditEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@QtUninvokable
private native void setDateEditEnabled_native_bool(long __this__nativeId, boolean enable);
/**
* See QCalendarWidget:: setDateRange(QDate, QDate)
*/
public final void setDateRange(io.qt.core.@NonNull QDate min, io.qt.core.@NonNull QDate max){
setDateRange_native_QDate_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(min), QtJambi_LibraryUtilities.internal.checkedNativeId(max));
}
private native void setDateRange_native_QDate_QDate(long __this__nativeId, long min, long max);
/**
* See QCalendarWidget:: setDateTextFormat(QDate, QTextCharFormat)
*/
@QtUninvokable
public final void setDateTextFormat(io.qt.core.@NonNull QDate date, io.qt.gui.@NonNull QTextCharFormat format){
setDateTextFormat_native_QDate_cref_QTextCharFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@QtUninvokable
private native void setDateTextFormat_native_QDate_cref_QTextCharFormat(long __this__nativeId, long date, long format);
/**
* See QCalendarWidget:: setFirstDayOfWeek(Qt::DayOfWeek)
*/
@QtPropertyWriter(name="firstDayOfWeek")
@QtUninvokable
public final void setFirstDayOfWeek(io.qt.core.Qt.@NonNull DayOfWeek dayOfWeek){
setFirstDayOfWeek_native_Qt_DayOfWeek(QtJambi_LibraryUtilities.internal.nativeId(this), dayOfWeek.value());
}
@QtUninvokable
private native void setFirstDayOfWeek_native_Qt_DayOfWeek(long __this__nativeId, int dayOfWeek);
/**
* See QCalendarWidget:: setGridVisible(bool)
*/
@QtPropertyWriter(name="gridVisible")
public final void setGridVisible(boolean show){
setGridVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), show);
}
private native void setGridVisible_native_bool(long __this__nativeId, boolean show);
/**
* See QCalendarWidget:: setHeaderTextFormat(QTextCharFormat)
*/
@QtUninvokable
public final void setHeaderTextFormat(io.qt.gui.@NonNull QTextCharFormat format){
setHeaderTextFormat_native_cref_QTextCharFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@QtUninvokable
private native void setHeaderTextFormat_native_cref_QTextCharFormat(long __this__nativeId, long format);
/**
* See QCalendarWidget:: setHorizontalHeaderFormat(QCalendarWidget::HorizontalHeaderFormat)
*/
@QtPropertyWriter(name="horizontalHeaderFormat")
@QtUninvokable
public final void setHorizontalHeaderFormat(io.qt.widgets.QCalendarWidget.@NonNull HorizontalHeaderFormat format){
setHorizontalHeaderFormat_native_QCalendarWidget_HorizontalHeaderFormat(QtJambi_LibraryUtilities.internal.nativeId(this), format.value());
}
@QtUninvokable
private native void setHorizontalHeaderFormat_native_QCalendarWidget_HorizontalHeaderFormat(long __this__nativeId, int format);
/**
* See QCalendarWidget:: setMaximumDate(QDate)
*/
@QtPropertyWriter(name="maximumDate")
@QtUninvokable
public final void setMaximumDate(io.qt.core.@NonNull QDate date){
setMaximumDate_native_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date));
}
@QtUninvokable
private native void setMaximumDate_native_QDate(long __this__nativeId, long date);
/**
* See QCalendarWidget:: setMinimumDate(QDate)
*/
@QtPropertyWriter(name="minimumDate")
@QtUninvokable
public final void setMinimumDate(io.qt.core.@NonNull QDate date){
setMinimumDate_native_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date));
}
@QtUninvokable
private native void setMinimumDate_native_QDate(long __this__nativeId, long date);
/**
* See QCalendarWidget:: setNavigationBarVisible(bool)
*/
@QtPropertyWriter(name="navigationBarVisible")
public final void setNavigationBarVisible(boolean visible){
setNavigationBarVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), visible);
}
private native void setNavigationBarVisible_native_bool(long __this__nativeId, boolean visible);
/**
* See QCalendarWidget:: setSelectedDate(QDate)
*/
@QtPropertyWriter(name="selectedDate")
public final void setSelectedDate(io.qt.core.@NonNull QDate date){
setSelectedDate_native_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date));
}
private native void setSelectedDate_native_QDate(long __this__nativeId, long date);
/**
* See QCalendarWidget:: setSelectionMode(QCalendarWidget::SelectionMode)
*/
@QtPropertyWriter(name="selectionMode")
@QtUninvokable
public final void setSelectionMode(io.qt.widgets.QCalendarWidget.@NonNull SelectionMode mode){
setSelectionMode_native_QCalendarWidget_SelectionMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@QtUninvokable
private native void setSelectionMode_native_QCalendarWidget_SelectionMode(long __this__nativeId, int mode);
/**
* See QCalendarWidget:: setVerticalHeaderFormat(QCalendarWidget::VerticalHeaderFormat)
*/
@QtPropertyWriter(name="verticalHeaderFormat")
@QtUninvokable
public final void setVerticalHeaderFormat(io.qt.widgets.QCalendarWidget.@NonNull VerticalHeaderFormat format){
setVerticalHeaderFormat_native_QCalendarWidget_VerticalHeaderFormat(QtJambi_LibraryUtilities.internal.nativeId(this), format.value());
}
@QtUninvokable
private native void setVerticalHeaderFormat_native_QCalendarWidget_VerticalHeaderFormat(long __this__nativeId, int format);
/**
* See QCalendarWidget:: setWeekdayTextFormat(Qt::DayOfWeek, QTextCharFormat)
*/
@QtUninvokable
public final void setWeekdayTextFormat(io.qt.core.Qt.@NonNull DayOfWeek dayOfWeek, io.qt.gui.@NonNull QTextCharFormat format){
setWeekdayTextFormat_native_Qt_DayOfWeek_cref_QTextCharFormat(QtJambi_LibraryUtilities.internal.nativeId(this), dayOfWeek.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@QtUninvokable
private native void setWeekdayTextFormat_native_Qt_DayOfWeek_cref_QTextCharFormat(long __this__nativeId, int dayOfWeek, long format);
/**
* See QCalendarWidget:: showNextMonth()
*/
public final void showNextMonth(){
showNextMonth_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void showNextMonth_native(long __this__nativeId);
/**
* See QCalendarWidget:: showNextYear()
*/
public final void showNextYear(){
showNextYear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void showNextYear_native(long __this__nativeId);
/**
* See QCalendarWidget:: showPreviousMonth()
*/
public final void showPreviousMonth(){
showPreviousMonth_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void showPreviousMonth_native(long __this__nativeId);
/**
* See QCalendarWidget:: showPreviousYear()
*/
public final void showPreviousYear(){
showPreviousYear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void showPreviousYear_native(long __this__nativeId);
/**
* See QCalendarWidget:: showSelectedDate()
*/
public final void showSelectedDate(){
showSelectedDate_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void showSelectedDate_native(long __this__nativeId);
/**
* See QCalendarWidget:: showToday()
*/
public final void showToday(){
showToday_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void showToday_native(long __this__nativeId);
/**
* See QCalendarWidget:: updateCell(QDate)
*/
@QtUninvokable
protected final void updateCell(io.qt.core.@NonNull QDate date){
updateCell_native_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date));
}
@QtUninvokable
private native void updateCell_native_QDate(long __this__nativeId, long date);
/**
* See QCalendarWidget:: updateCells()
*/
@QtUninvokable
protected final void updateCells(){
updateCells_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void updateCells_native(long __this__nativeId);
/**
* See QCalendarWidget:: verticalHeaderFormat()const
*/
@QtPropertyReader(name="verticalHeaderFormat")
@QtUninvokable
public final io.qt.widgets.QCalendarWidget.@NonNull VerticalHeaderFormat verticalHeaderFormat(){
return io.qt.widgets.QCalendarWidget.VerticalHeaderFormat.resolve(verticalHeaderFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int verticalHeaderFormat_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget:: weekdayTextFormat(Qt::DayOfWeek)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextCharFormat weekdayTextFormat(io.qt.core.Qt.@NonNull DayOfWeek dayOfWeek){
return weekdayTextFormat_native_Qt_DayOfWeek_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), dayOfWeek.value());
}
@QtUninvokable
private native io.qt.gui.QTextCharFormat weekdayTextFormat_native_Qt_DayOfWeek_constfct(long __this__nativeId, int dayOfWeek);
/**
* See QCalendarWidget:: yearShown()const
*/
@QtUninvokable
public final int yearShown(){
return yearShown_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int yearShown_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
@Override
public boolean event(io.qt.core.@Nullable QEvent event){
java.util.Objects.requireNonNull(event, "Argument 'event': null not expected.");
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QObject:: eventFilter(QObject*, QEvent*)
*/
@QtUninvokable
@Override
public boolean eventFilter(io.qt.core.@Nullable QObject watched, io.qt.core.@Nullable QEvent event){
return eventFilter_native_QObject_ptr_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(watched), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native boolean eventFilter_native_QObject_ptr_QEvent_ptr(long __this__nativeId, long watched, long event);
/**
* See QWidget:: keyPressEvent(QKeyEvent*)
*/
@QtUninvokable
@Override
protected void keyPressEvent(io.qt.gui.@Nullable QKeyEvent event){
java.util.Objects.requireNonNull(event, "Argument 'event': null not expected.");
keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget:: minimumSizeHint()const
*/
@QtUninvokable
public io.qt.core.@NonNull QSize minimumSizeHint(){
return minimumSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize minimumSizeHint_native_constfct(long __this__nativeId);
/**
* See QWidget:: mousePressEvent(QMouseEvent*)
*/
@QtUninvokable
@Override
protected void mousePressEvent(io.qt.gui.@Nullable QMouseEvent event){
java.util.Objects.requireNonNull(event, "Argument 'event': null not expected.");
mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long event);
/**
* See QCalendarWidget:: paintCell(QPainter*, QRect, QDate)const
*/
@QtUninvokable
protected void paintCell(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect rect, io.qt.core.@NonNull QDate date){
paintCell_native_QPainter_ptr_cref_QRect_QDate_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), QtJambi_LibraryUtilities.internal.checkedNativeId(date));
}
@QtUninvokable
private native void paintCell_native_QPainter_ptr_cref_QRect_QDate_constfct(long __this__nativeId, long painter, long rect, long date);
/**
* See QWidget:: resizeEvent(QResizeEvent*)
*/
@QtUninvokable
@Override
protected void resizeEvent(io.qt.gui.@Nullable QResizeEvent event){
resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long event);
/**
*
*/
@QtUninvokable
public io.qt.core.@NonNull QSize sizeHint(){
return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QCalendarWidget(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QCalendarWidget(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QCalendarWidget instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QCalendarWidget(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QCalendarWidget() {
this((io.qt.widgets.QWidget)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #dateEditAcceptDelay()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getDateEditAcceptDelay() {
return dateEditAcceptDelay();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #firstDayOfWeek()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.Qt.@NonNull DayOfWeek getFirstDayOfWeek() {
return firstDayOfWeek();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #horizontalHeaderFormat()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QCalendarWidget.@NonNull HorizontalHeaderFormat getHorizontalHeaderFormat() {
return horizontalHeaderFormat();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isDateEditEnabled()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getDateEditEnabled() {
return isDateEditEnabled();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isGridVisible()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getGridVisible() {
return isGridVisible();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isNavigationBarVisible()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getNavigationBarVisible() {
return isNavigationBarVisible();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #maximumDate()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QDate getMaximumDate() {
return maximumDate();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #minimumDate()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QDate getMinimumDate() {
return minimumDate();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #selectedDate()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QDate getSelectedDate() {
return selectedDate();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #selectionMode()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QCalendarWidget.@NonNull SelectionMode getSelectionMode() {
return selectionMode();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #verticalHeaderFormat()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QCalendarWidget.@NonNull VerticalHeaderFormat getVerticalHeaderFormat() {
return verticalHeaderFormat();
}
}