io.qt.widgets.QCalendarWidget Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
/**
* 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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QCalendarWidget.class);
/**
* Java wrapper for Qt enum QCalendarWidget::HorizontalHeaderFormat
*/
public enum HorizontalHeaderFormat implements io.qt.QtEnumerator {
NoHorizontalHeader(0),
SingleLetterDayNames(1),
ShortDayNames(2),
LongDayNames(3);
private HorizontalHeaderFormat(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static 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 io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QCalendarWidget::SelectionMode
*/
public enum SelectionMode implements io.qt.QtEnumerator {
NoSelection(0),
SingleSelection(1);
private SelectionMode(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static SelectionMode resolve(int value) {
switch (value) {
case 0: return NoSelection;
case 1: return SingleSelection;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QCalendarWidget::VerticalHeaderFormat
*/
public enum VerticalHeaderFormat implements io.qt.QtEnumerator {
NoVerticalHeader(0),
ISOWeekNumbers(1);
private VerticalHeaderFormat(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static VerticalHeaderFormat resolve(int value) {
switch (value) {
case 0: return NoVerticalHeader;
case 1: return ISOWeekNumbers;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QCalendarWidget::activated(QDate)
*/
public final Signal1 activated = new Signal1<>();
/**
* See QCalendarWidget::clicked(QDate)
*/
public final Signal1 clicked = new Signal1<>();
/**
* See QCalendarWidget::currentPageChanged(int,int)
*/
public final Signal2<@io.qt.QtPrimitiveType Integer, @io.qt.QtPrimitiveType Integer> currentPageChanged = new Signal2<>();
/**
* See QCalendarWidget::selectionChanged()
*/
public final Signal0 selectionChanged = new Signal0();
/**
* Overloaded constructor for {@link #QCalendarWidget(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QCalendarWidget() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QCalendarWidget::QCalendarWidget(QWidget*)
*/
public QCalendarWidget(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QCalendarWidget instance, io.qt.widgets.QWidget parent);
@io.qt.QtUninvokable
public final io.qt.core.QCalendar calendar(){
return calendar_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QCalendar calendar_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::dateEditAcceptDelay()const
*/
@io.qt.QtPropertyReader(name="dateEditAcceptDelay")
@io.qt.QtUninvokable
public final int dateEditAcceptDelay(){
return dateEditAcceptDelay_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int dateEditAcceptDelay_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::dateTextFormat()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QMap dateTextFormat(){
return dateTextFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QMap dateTextFormat_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::dateTextFormat(QDate)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextCharFormat dateTextFormat(io.qt.core.QDate date){
return dateTextFormat_native_QDate_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextCharFormat dateTextFormat_native_QDate_constfct(long __this__nativeId, long date);
/**
* See QCalendarWidget::firstDayOfWeek()const
*/
@io.qt.QtPropertyReader(name="firstDayOfWeek")
@io.qt.QtUninvokable
public final io.qt.core.Qt.DayOfWeek firstDayOfWeek(){
return io.qt.core.Qt.DayOfWeek.resolve(firstDayOfWeek_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int firstDayOfWeek_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::headerTextFormat()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextCharFormat headerTextFormat(){
return headerTextFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextCharFormat headerTextFormat_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::horizontalHeaderFormat()const
*/
@io.qt.QtPropertyReader(name="horizontalHeaderFormat")
@io.qt.QtUninvokable
public final io.qt.widgets.QCalendarWidget.HorizontalHeaderFormat horizontalHeaderFormat(){
return io.qt.widgets.QCalendarWidget.HorizontalHeaderFormat.resolve(horizontalHeaderFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int horizontalHeaderFormat_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::isDateEditEnabled()const
*/
@io.qt.QtPropertyReader(name="dateEditEnabled")
@io.qt.QtUninvokable
public final boolean isDateEditEnabled(){
return isDateEditEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isDateEditEnabled_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::isGridVisible()const
*/
@io.qt.QtPropertyReader(name="gridVisible")
@io.qt.QtUninvokable
public final boolean isGridVisible(){
return isGridVisible_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isGridVisible_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::isNavigationBarVisible()const
*/
@io.qt.QtPropertyReader(name="navigationBarVisible")
@io.qt.QtUninvokable
public final boolean isNavigationBarVisible(){
return isNavigationBarVisible_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isNavigationBarVisible_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::maximumDate()const
*/
@io.qt.QtPropertyReader(name="maximumDate")
@io.qt.QtUninvokable
public final io.qt.core.QDate maximumDate(){
return maximumDate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QDate maximumDate_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::minimumDate()const
*/
@io.qt.QtPropertyReader(name="minimumDate")
@io.qt.QtUninvokable
public final io.qt.core.QDate minimumDate(){
return minimumDate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QDate minimumDate_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::monthShown()const
*/
@io.qt.QtUninvokable
public final int monthShown(){
return monthShown_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int monthShown_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::selectedDate()const
*/
@io.qt.QtPropertyReader(name="selectedDate")
@io.qt.QtUninvokable
public final io.qt.core.QDate selectedDate(){
return selectedDate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QDate selectedDate_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::selectionMode()const
*/
@io.qt.QtPropertyReader(name="selectionMode")
@io.qt.QtUninvokable
public final io.qt.widgets.QCalendarWidget.SelectionMode selectionMode(){
return io.qt.widgets.QCalendarWidget.SelectionMode.resolve(selectionMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int selectionMode_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public final void setCalendar(io.qt.core.QCalendar calendar){
setCalendar_native_QCalendar(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(calendar));
}
@io.qt.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)
*/
@io.qt.QtPropertyWriter(name="dateEditAcceptDelay")
@io.qt.QtUninvokable
public final void setDateEditAcceptDelay(int delay){
setDateEditAcceptDelay_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), delay);
}
@io.qt.QtUninvokable
private native void setDateEditAcceptDelay_native_int(long __this__nativeId, int delay);
/**
* See QCalendarWidget::setDateEditEnabled(bool)
*/
@io.qt.QtPropertyWriter(name="dateEditEnabled")
@io.qt.QtUninvokable
public final void setDateEditEnabled(boolean enable){
setDateEditEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@io.qt.QtUninvokable
private native void setDateEditEnabled_native_bool(long __this__nativeId, boolean enable);
/**
* See QCalendarWidget::setDateRange(QDate,QDate)
*/
public final void setDateRange(io.qt.core.QDate min, io.qt.core.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)
*/
@io.qt.QtUninvokable
public final void setDateTextFormat(io.qt.core.QDate date, io.qt.gui.QTextCharFormat format){
setDateTextFormat_native_QDate_cref_QTextCharFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@io.qt.QtUninvokable
private native void setDateTextFormat_native_QDate_cref_QTextCharFormat(long __this__nativeId, long date, long format);
/**
* See QCalendarWidget::setFirstDayOfWeek(Qt::DayOfWeek)
*/
@io.qt.QtPropertyWriter(name="firstDayOfWeek")
@io.qt.QtUninvokable
public final void setFirstDayOfWeek(io.qt.core.Qt.DayOfWeek dayOfWeek){
setFirstDayOfWeek_native_Qt_DayOfWeek(QtJambi_LibraryUtilities.internal.nativeId(this), dayOfWeek.value());
}
@io.qt.QtUninvokable
private native void setFirstDayOfWeek_native_Qt_DayOfWeek(long __this__nativeId, int dayOfWeek);
/**
* See QCalendarWidget::setGridVisible(bool)
*/
@io.qt.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)
*/
@io.qt.QtUninvokable
public final void setHeaderTextFormat(io.qt.gui.QTextCharFormat format){
setHeaderTextFormat_native_cref_QTextCharFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@io.qt.QtUninvokable
private native void setHeaderTextFormat_native_cref_QTextCharFormat(long __this__nativeId, long format);
/**
* See QCalendarWidget::setHorizontalHeaderFormat(QCalendarWidget::HorizontalHeaderFormat)
*/
@io.qt.QtPropertyWriter(name="horizontalHeaderFormat")
@io.qt.QtUninvokable
public final void setHorizontalHeaderFormat(io.qt.widgets.QCalendarWidget.HorizontalHeaderFormat format){
setHorizontalHeaderFormat_native_QCalendarWidget_HorizontalHeaderFormat(QtJambi_LibraryUtilities.internal.nativeId(this), format.value());
}
@io.qt.QtUninvokable
private native void setHorizontalHeaderFormat_native_QCalendarWidget_HorizontalHeaderFormat(long __this__nativeId, int format);
/**
* See QCalendarWidget::setMaximumDate(QDate)
*/
@io.qt.QtPropertyWriter(name="maximumDate")
@io.qt.QtUninvokable
public final void setMaximumDate(io.qt.core.QDate date){
setMaximumDate_native_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date));
}
@io.qt.QtUninvokable
private native void setMaximumDate_native_QDate(long __this__nativeId, long date);
/**
* See QCalendarWidget::setMinimumDate(QDate)
*/
@io.qt.QtPropertyWriter(name="minimumDate")
@io.qt.QtUninvokable
public final void setMinimumDate(io.qt.core.QDate date){
setMinimumDate_native_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date));
}
@io.qt.QtUninvokable
private native void setMinimumDate_native_QDate(long __this__nativeId, long date);
/**
* See QCalendarWidget::setNavigationBarVisible(bool)
*/
@io.qt.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)
*/
@io.qt.QtPropertyWriter(name="selectedDate")
public final void setSelectedDate(io.qt.core.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)
*/
@io.qt.QtPropertyWriter(name="selectionMode")
@io.qt.QtUninvokable
public final void setSelectionMode(io.qt.widgets.QCalendarWidget.SelectionMode mode){
setSelectionMode_native_QCalendarWidget_SelectionMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@io.qt.QtUninvokable
private native void setSelectionMode_native_QCalendarWidget_SelectionMode(long __this__nativeId, int mode);
/**
* See QCalendarWidget::setVerticalHeaderFormat(QCalendarWidget::VerticalHeaderFormat)
*/
@io.qt.QtPropertyWriter(name="verticalHeaderFormat")
@io.qt.QtUninvokable
public final void setVerticalHeaderFormat(io.qt.widgets.QCalendarWidget.VerticalHeaderFormat format){
setVerticalHeaderFormat_native_QCalendarWidget_VerticalHeaderFormat(QtJambi_LibraryUtilities.internal.nativeId(this), format.value());
}
@io.qt.QtUninvokable
private native void setVerticalHeaderFormat_native_QCalendarWidget_VerticalHeaderFormat(long __this__nativeId, int format);
/**
* See QCalendarWidget::setWeekdayTextFormat(Qt::DayOfWeek,QTextCharFormat)
*/
@io.qt.QtUninvokable
public final void setWeekdayTextFormat(io.qt.core.Qt.DayOfWeek dayOfWeek, io.qt.gui.QTextCharFormat format){
setWeekdayTextFormat_native_Qt_DayOfWeek_cref_QTextCharFormat(QtJambi_LibraryUtilities.internal.nativeId(this), dayOfWeek.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@io.qt.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)
*/
@io.qt.QtUninvokable
protected final void updateCell(io.qt.core.QDate date){
updateCell_native_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date));
}
@io.qt.QtUninvokable
private native void updateCell_native_QDate(long __this__nativeId, long date);
/**
* See QCalendarWidget::updateCells()
*/
@io.qt.QtUninvokable
protected final void updateCells(){
updateCells_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void updateCells_native(long __this__nativeId);
/**
* See QCalendarWidget::verticalHeaderFormat()const
*/
@io.qt.QtPropertyReader(name="verticalHeaderFormat")
@io.qt.QtUninvokable
public final io.qt.widgets.QCalendarWidget.VerticalHeaderFormat verticalHeaderFormat(){
return io.qt.widgets.QCalendarWidget.VerticalHeaderFormat.resolve(verticalHeaderFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int verticalHeaderFormat_native_constfct(long __this__nativeId);
/**
* See QCalendarWidget::weekdayTextFormat(Qt::DayOfWeek)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextCharFormat weekdayTextFormat(io.qt.core.Qt.DayOfWeek dayOfWeek){
return weekdayTextFormat_native_Qt_DayOfWeek_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), dayOfWeek.value());
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextCharFormat weekdayTextFormat_native_Qt_DayOfWeek_constfct(long __this__nativeId, int dayOfWeek);
/**
* See QCalendarWidget::yearShown()const
*/
@io.qt.QtUninvokable
public final int yearShown(){
return yearShown_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int yearShown_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent event){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QObject::eventFilter(QObject*,QEvent*)
*/
@io.qt.QtUninvokable
public boolean eventFilter(io.qt.core.QObject watched, io.qt.core.QEvent event){
return eventFilter_native_QObject_ptr_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(watched), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native boolean eventFilter_native_QObject_ptr_QEvent_ptr(long __this__nativeId, long watched, long event);
/**
* See QWidget::keyPressEvent(QKeyEvent*)
*/
@io.qt.QtUninvokable
protected void keyPressEvent(io.qt.gui.QKeyEvent event){
keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::minimumSizeHint()const
*/
@io.qt.QtUninvokable
public io.qt.core.QSize minimumSizeHint(){
return minimumSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize minimumSizeHint_native_constfct(long __this__nativeId);
/**
* See QWidget::mousePressEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mousePressEvent(io.qt.gui.QMouseEvent event){
mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long event);
/**
* See QCalendarWidget::paintCell(QPainter*,QRect,QDate)const
*/
@io.qt.QtUninvokable
protected void paintCell(io.qt.gui.QPainter painter, io.qt.core.QRect rect, io.qt.core.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));
}
@io.qt.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*)
*/
@io.qt.QtUninvokable
protected void resizeEvent(io.qt.gui.QResizeEvent event){
resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long event);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.core.QSize sizeHint(){
return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QCalendarWidget(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QCalendarWidget(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QCalendarWidget instance, QDeclarativeConstructor constructor);
}