All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.widgets.QDateTimeEdit Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.widgets;

import io.qt.*;


/**
 * 

Widget for editing dates and times

*

Java wrapper for Qt class QDateTimeEdit

*/ public class QDateTimeEdit extends io.qt.widgets.QAbstractSpinBox { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QDateTimeEdit.class); /** *

Java wrapper for Qt enum QDateTimeEdit::Section

* * @see Sections */ public enum Section implements QtFlagEnumerator { /** *

Representing QDateTimeEdit::NoSection

*/ NoSection(0), /** *

Representing QDateTimeEdit::AmPmSection

*/ AmPmSection(1), /** *

Representing QDateTimeEdit::MSecSection

*/ MSecSection(2), /** *

Representing QDateTimeEdit::SecondSection

*/ SecondSection(4), /** *

Representing QDateTimeEdit::MinuteSection

*/ MinuteSection(8), /** *

Representing QDateTimeEdit::HourSection

*/ HourSection(16), /** *

Representing QDateTimeEdit::DaySection

*/ DaySection(256), /** *

Representing QDateTimeEdit::MonthSection

*/ MonthSection(512), /** *

Representing QDateTimeEdit::YearSection

*/ YearSection(1024), /** *

Representing QDateTimeEdit::TimeSections_Mask

*/ TimeSections_Mask(31), /** *

Representing QDateTimeEdit::DateSections_Mask

*/ DateSections_Mask(1792); static { QtJambi_LibraryUtilities.initialize(); } private Section(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public @NonNull Sections asFlags() { return new Sections(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull Sections combined(@NonNull Section e) { return asFlags().setFlag(e, true); } /** * Excludes other enum entry from a flag of this entry. * @param e enum entry * @return new flag */ public @NonNull Sections cleared(@NonNull Section e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link Sections} from the entries. * @param values entries * @return new flag */ public static @NonNull Sections flags(@Nullable Section @NonNull... values) { return new Sections(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull Section resolve(int value) { switch (value) { case 0: return NoSection; case 1: return AmPmSection; case 2: return MSecSection; case 4: return SecondSection; case 8: return MinuteSection; case 16: return HourSection; case 256: return DaySection; case 512: return MonthSection; case 1024: return YearSection; case 31: return TimeSections_Mask; case 1792: return DateSections_Mask; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link Section} */ public static final class Sections extends QFlags
implements Comparable { private static final long serialVersionUID = 0xfb309c8902f4b3b2L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new Sections where the flags in args are set. * @param args enum entries */ public Sections(@Nullable Section @NonNull... args){ super(args); } /** * Creates a new Sections with given value. * @param value */ public Sections(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new Sections */ @Override public final @NonNull Sections combined(@StrictNonNull Section e){ return new Sections(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull Sections setFlag(@Nullable Section e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final @NonNull Sections setFlag(@Nullable Section e, boolean on){ if (on) { setValue(value() | e.value()); }else { setValue(value() & ~e.value()); } return this; } /** * Returns an array of flag objects represented by this Sections. * @return array of enum entries */ @Override public final @NonNull Section @NonNull[] flags(){ return super.flags(Section.values()); } /** * {@inheritDoc} */ @Override public final @NonNull Sections clone(){ return new Sections(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull Sections other){ return Integer.compare(value(), other.value()); } } /** *

See QDateTimeEdit::dateChanged(QDate)

*/ @QtPropertyNotify(name="date") public final @NonNull Signal1 dateChanged = new Signal1<>(); /** *

See QDateTimeEdit::dateTimeChanged(QDateTime)

*/ @QtPropertyNotify(name="dateTime") public final @NonNull Signal1 dateTimeChanged = new Signal1<>(); /** *

See QDateTimeEdit::timeChanged(QTime)

*/ @QtPropertyNotify(name="time") public final @NonNull Signal1 timeChanged = new Signal1<>(); /** *

See QDateTimeEdit::QDateTimeEdit(QDate,QWidget*)

*/ public QDateTimeEdit(io.qt.core.@NonNull QDate d, io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, d, parent); } private native static void initialize_native(QDateTimeEdit instance, io.qt.core.QDate d, io.qt.widgets.QWidget parent); /** *

See QDateTimeEdit::QDateTimeEdit(QDateTime,QWidget*)

*/ public QDateTimeEdit(io.qt.core.@NonNull QDateTime dt, io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, dt, parent); } private native static void initialize_native(QDateTimeEdit instance, io.qt.core.QDateTime dt, io.qt.widgets.QWidget parent); /** *

See QDateTimeEdit::QDateTimeEdit(QTime,QWidget*)

*/ public QDateTimeEdit(io.qt.core.@NonNull QTime t, io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, t, parent); } private native static void initialize_native(QDateTimeEdit instance, io.qt.core.QTime t, io.qt.widgets.QWidget parent); /** *

See QDateTimeEdit::QDateTimeEdit(QVariant,QMetaType::Type,QWidget*)

*/ protected QDateTimeEdit(java.lang.Object val, io.qt.core.QMetaType.@NonNull Type parserType, io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, val, parserType, parent); } private native static void initialize_native(QDateTimeEdit instance, java.lang.Object val, io.qt.core.QMetaType.Type parserType, io.qt.widgets.QWidget parent); /** *

See QDateTimeEdit::QDateTimeEdit(QWidget*)

*/ public QDateTimeEdit(io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QDateTimeEdit instance, io.qt.widgets.QWidget parent); /** *

See QDateTimeEdit::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 QDateTimeEdit::calendarPopup()const

*/ @QtPropertyReader(name="calendarPopup") @QtUninvokable public final boolean calendarPopup(){ return calendarPopup_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean calendarPopup_native_constfct(long __this__nativeId); /** *

Returns the calendar widget for the editor if calendarPopup is set to true and (sections() & DateSections_Mask) != 0

*

See QDateTimeEdit::calendarWidget()const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QCalendarWidget calendarWidget(){ return calendarWidget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.widgets.QCalendarWidget calendarWidget_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::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 QDateTimeEdit::clearMaximumDateTime()

*/ @QtPropertyResetter(name="maximumDateTime") @QtUninvokable public final void clearMaximumDateTime(){ clearMaximumDateTime_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clearMaximumDateTime_native(long __this__nativeId); /** *

See QDateTimeEdit::clearMaximumTime()

*/ @QtPropertyResetter(name="maximumTime") @QtUninvokable public final void clearMaximumTime(){ clearMaximumTime_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clearMaximumTime_native(long __this__nativeId); /** *

See QDateTimeEdit::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 QDateTimeEdit::clearMinimumDateTime()

*/ @QtPropertyResetter(name="minimumDateTime") @QtUninvokable public final void clearMinimumDateTime(){ clearMinimumDateTime_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clearMinimumDateTime_native(long __this__nativeId); /** *

See QDateTimeEdit::clearMinimumTime()

*/ @QtPropertyResetter(name="minimumTime") @QtUninvokable public final void clearMinimumTime(){ clearMinimumTime_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clearMinimumTime_native(long __this__nativeId); /** *

See QDateTimeEdit::currentSection()const

*/ @QtPropertyReader(name="currentSection") @QtUninvokable public final io.qt.widgets.QDateTimeEdit.@NonNull Section currentSection(){ return io.qt.widgets.QDateTimeEdit.Section.resolve(currentSection_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int currentSection_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::currentSectionIndex()const

*/ @QtPropertyReader(name="currentSectionIndex") @QtUninvokable public final int currentSectionIndex(){ return currentSectionIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int currentSectionIndex_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::date()const

*/ @QtPropertyReader(name="date") @QtUninvokable public final io.qt.core.@NonNull QDate date(){ return date_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QDate date_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::dateTime()const

*/ @QtPropertyReader(name="dateTime") @QtPropertyUser @QtUninvokable public final io.qt.core.@NonNull QDateTime dateTime(){ return dateTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QDateTime dateTime_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::displayFormat()const

*/ @QtPropertyReader(name="displayFormat") @QtUninvokable public final java.lang.@NonNull String displayFormat(){ return displayFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String displayFormat_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::displayedSections()const

*/ @QtPropertyReader(name="displayedSections") @QtUninvokable public final io.qt.widgets.QDateTimeEdit.@NonNull Sections displayedSections(){ return new io.qt.widgets.QDateTimeEdit.Sections(displayedSections_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int displayedSections_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::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 QDateTimeEdit::maximumDateTime()const

*/ @QtPropertyReader(name="maximumDateTime") @QtUninvokable public final io.qt.core.@NonNull QDateTime maximumDateTime(){ return maximumDateTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QDateTime maximumDateTime_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::maximumTime()const

*/ @QtPropertyReader(name="maximumTime") @QtUninvokable public final io.qt.core.@NonNull QTime maximumTime(){ return maximumTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QTime maximumTime_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::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 QDateTimeEdit::minimumDateTime()const

*/ @QtPropertyReader(name="minimumDateTime") @QtUninvokable public final io.qt.core.@NonNull QDateTime minimumDateTime(){ return minimumDateTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QDateTime minimumDateTime_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::minimumTime()const

*/ @QtPropertyReader(name="minimumTime") @QtUninvokable public final io.qt.core.@NonNull QTime minimumTime(){ return minimumTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QTime minimumTime_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::sectionAt(int)const

*/ @QtUninvokable public final io.qt.widgets.QDateTimeEdit.@NonNull Section sectionAt(int index){ return io.qt.widgets.QDateTimeEdit.Section.resolve(sectionAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index)); } @QtUninvokable private native int sectionAt_native_int_constfct(long __this__nativeId, int index); /** *

See QDateTimeEdit::sectionCount()const

*/ @QtPropertyReader(name="sectionCount") @QtUninvokable public final int sectionCount(){ return sectionCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int sectionCount_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::sectionText(QDateTimeEdit::Section)const

*/ @QtUninvokable public final java.lang.@NonNull String sectionText(io.qt.widgets.QDateTimeEdit.@NonNull Section section){ return sectionText_native_QDateTimeEdit_Section_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), section.value()); } @QtUninvokable private native java.lang.String sectionText_native_QDateTimeEdit_Section_constfct(long __this__nativeId, int section); /** *

See QDateTimeEdit::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 QDateTimeEdit::setCalendarPopup(bool)

*/ @QtPropertyWriter(name="calendarPopup") @QtUninvokable public final void setCalendarPopup(boolean enable){ setCalendarPopup_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable); } @QtUninvokable private native void setCalendarPopup_native_bool(long __this__nativeId, boolean enable); /** *

See QDateTimeEdit::setCalendarWidget(QCalendarWidget*)

*/ @QtUninvokable public final void setCalendarWidget(io.qt.widgets.@Nullable QCalendarWidget calendarWidget){ setCalendarWidget_native_QCalendarWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(calendarWidget)); } @QtUninvokable private native void setCalendarWidget_native_QCalendarWidget_ptr(long __this__nativeId, long calendarWidget); /** *

See QDateTimeEdit::setCurrentSection(QDateTimeEdit::Section)

*/ @QtPropertyWriter(name="currentSection") @QtUninvokable public final void setCurrentSection(io.qt.widgets.QDateTimeEdit.@NonNull Section section){ setCurrentSection_native_QDateTimeEdit_Section(QtJambi_LibraryUtilities.internal.nativeId(this), section.value()); } @QtUninvokable private native void setCurrentSection_native_QDateTimeEdit_Section(long __this__nativeId, int section); /** *

See QDateTimeEdit::setCurrentSectionIndex(int)

*/ @QtPropertyWriter(name="currentSectionIndex") @QtUninvokable public final void setCurrentSectionIndex(int index){ setCurrentSectionIndex_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native void setCurrentSectionIndex_native_int(long __this__nativeId, int index); /** *

See QDateTimeEdit::setDate(QDate)

*/ @QtPropertyWriter(name="date") public final void setDate(io.qt.core.@NonNull QDate date){ setDate_native_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date)); } private native void setDate_native_QDate(long __this__nativeId, long date); /** *

Set the range of allowed dates for the date time edit

*

See QDateTimeEdit::setDateRange(QDate,QDate)

*/ @QtUninvokable 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)); } @QtUninvokable private native void setDateRange_native_QDate_QDate(long __this__nativeId, long min, long max); /** *

See QDateTimeEdit::setDateTime(QDateTime)

*/ @QtPropertyWriter(name="dateTime") public final void setDateTime(io.qt.core.@NonNull QDateTime dateTime){ setDateTime_native_cref_QDateTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dateTime)); } private native void setDateTime_native_cref_QDateTime(long __this__nativeId, long dateTime); /** *

Set the range of allowed date-times for the date time edit

*

See QDateTimeEdit::setDateTimeRange(QDateTime,QDateTime)

*/ @QtUninvokable public final void setDateTimeRange(io.qt.core.@NonNull QDateTime min, io.qt.core.@NonNull QDateTime max){ setDateTimeRange_native_cref_QDateTime_cref_QDateTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(min), QtJambi_LibraryUtilities.internal.checkedNativeId(max)); } @QtUninvokable private native void setDateTimeRange_native_cref_QDateTime_cref_QDateTime(long __this__nativeId, long min, long max); /** *

See QDateTimeEdit::setDisplayFormat(QString)

*/ @QtPropertyWriter(name="displayFormat") @QtUninvokable public final void setDisplayFormat(java.lang.@NonNull String format){ setDisplayFormat_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), format); } @QtUninvokable private native void setDisplayFormat_native_cref_QString(long __this__nativeId, java.lang.String format); /** *

See QDateTimeEdit::setMaximumDate(QDate)

*/ @QtPropertyWriter(name="maximumDate") @QtUninvokable public final void setMaximumDate(io.qt.core.@NonNull QDate max){ setMaximumDate_native_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(max)); } @QtUninvokable private native void setMaximumDate_native_QDate(long __this__nativeId, long max); /** *

See QDateTimeEdit::setMaximumDateTime(QDateTime)

*/ @QtPropertyWriter(name="maximumDateTime") @QtUninvokable public final void setMaximumDateTime(io.qt.core.@NonNull QDateTime dt){ setMaximumDateTime_native_cref_QDateTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dt)); } @QtUninvokable private native void setMaximumDateTime_native_cref_QDateTime(long __this__nativeId, long dt); /** *

See QDateTimeEdit::setMaximumTime(QTime)

*/ @QtPropertyWriter(name="maximumTime") @QtUninvokable public final void setMaximumTime(io.qt.core.@NonNull QTime max){ setMaximumTime_native_QTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(max)); } @QtUninvokable private native void setMaximumTime_native_QTime(long __this__nativeId, long max); /** *

See QDateTimeEdit::setMinimumDate(QDate)

*/ @QtPropertyWriter(name="minimumDate") @QtUninvokable public final void setMinimumDate(io.qt.core.@NonNull QDate min){ setMinimumDate_native_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(min)); } @QtUninvokable private native void setMinimumDate_native_QDate(long __this__nativeId, long min); /** *

See QDateTimeEdit::setMinimumDateTime(QDateTime)

*/ @QtPropertyWriter(name="minimumDateTime") @QtUninvokable public final void setMinimumDateTime(io.qt.core.@NonNull QDateTime dt){ setMinimumDateTime_native_cref_QDateTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dt)); } @QtUninvokable private native void setMinimumDateTime_native_cref_QDateTime(long __this__nativeId, long dt); /** *

See QDateTimeEdit::setMinimumTime(QTime)

*/ @QtPropertyWriter(name="minimumTime") @QtUninvokable public final void setMinimumTime(io.qt.core.@NonNull QTime min){ setMinimumTime_native_QTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(min)); } @QtUninvokable private native void setMinimumTime_native_QTime(long __this__nativeId, long min); /** *

See QDateTimeEdit::setSelectedSection(QDateTimeEdit::Section)

*/ @QtUninvokable public final void setSelectedSection(io.qt.widgets.QDateTimeEdit.@NonNull Section section){ setSelectedSection_native_QDateTimeEdit_Section(QtJambi_LibraryUtilities.internal.nativeId(this), section.value()); } @QtUninvokable private native void setSelectedSection_native_QDateTimeEdit_Section(long __this__nativeId, int section); /** *

See QDateTimeEdit::setTime(QTime)

*/ @QtPropertyWriter(name="time") public final void setTime(io.qt.core.@NonNull QTime time){ setTime_native_QTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(time)); } private native void setTime_native_QTime(long __this__nativeId, long time); /** *

Set the range of allowed times for the date time edit

*

See QDateTimeEdit::setTimeRange(QTime,QTime)

*/ @QtUninvokable public final void setTimeRange(io.qt.core.@NonNull QTime min, io.qt.core.@NonNull QTime max){ setTimeRange_native_QTime_QTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(min), QtJambi_LibraryUtilities.internal.checkedNativeId(max)); } @QtUninvokable private native void setTimeRange_native_QTime_QTime(long __this__nativeId, long min, long max); /** *

See QDateTimeEdit::setTimeSpec(Qt::TimeSpec)

*/ @QtPropertyWriter(name="timeSpec") @QtUninvokable public final void setTimeSpec(io.qt.core.Qt.@NonNull TimeSpec spec){ setTimeSpec_native_Qt_TimeSpec(QtJambi_LibraryUtilities.internal.nativeId(this), spec.value()); } @QtUninvokable private native void setTimeSpec_native_Qt_TimeSpec(long __this__nativeId, int spec); /** *

See QDateTimeEdit::time()const

*/ @QtPropertyReader(name="time") @QtUninvokable public final io.qt.core.@NonNull QTime time(){ return time_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QTime time_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::timeSpec()const

*/ @QtPropertyReader(name="timeSpec") @QtUninvokable public final io.qt.core.Qt.@NonNull TimeSpec timeSpec(){ return io.qt.core.Qt.TimeSpec.resolve(timeSpec_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int timeSpec_native_constfct(long __this__nativeId); /** *

See QAbstractSpinBox::clear()

*/ @QtUninvokable @Override public void clear(){ clear_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clear_native(long __this__nativeId); /** *

See QDateTimeEdit::dateTimeFromText(QString)const

*/ @QtUninvokable protected io.qt.core.@NonNull QDateTime dateTimeFromText(java.lang.@NonNull String text){ return dateTimeFromText_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @QtUninvokable private native io.qt.core.QDateTime dateTimeFromText_native_cref_QString_constfct(long __this__nativeId, java.lang.String text); /** *

See QObject::event(QEvent*)

*/ @QtUninvokable @Override public boolean event(io.qt.core.@Nullable QEvent event){ 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 QAbstractSpinBox::fixup(QString&)const

*/ @QtUninvokable @Override public void fixup(io.qt.core.@StrictNonNull QString input){ java.util.Objects.requireNonNull(input, "Argument 'input': null not expected."); fixup_native_ref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), input); } @QtUninvokable private native void fixup_native_ref_QString_constfct(long __this__nativeId, io.qt.core.QString input); /** *

See QWidget::focusInEvent(QFocusEvent*)

*/ @QtUninvokable @Override protected void focusInEvent(io.qt.gui.@Nullable QFocusEvent event){ focusInEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void focusInEvent_native_QFocusEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::focusNextPrevChild(bool)

*/ @QtUninvokable @Override protected boolean focusNextPrevChild(boolean next){ return focusNextPrevChild_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), next); } @QtUninvokable private native boolean focusNextPrevChild_native_bool(long __this__nativeId, boolean next); /** *

See QAbstractSpinBox::initStyleOption(QStyleOptionSpinBox*)const

*/ @QtUninvokable @Override protected void initStyleOption(io.qt.widgets.@Nullable QStyleOptionSpinBox option){ initStyleOption_native_QStyleOptionSpinBox_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(option)); } @QtUninvokable private native void initStyleOption_native_QStyleOptionSpinBox_ptr_constfct(long __this__nativeId, long option); /** *

See QWidget::keyPressEvent(QKeyEvent*)

*/ @QtUninvokable @Override protected void keyPressEvent(io.qt.gui.@Nullable QKeyEvent event){ 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::mousePressEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mousePressEvent(io.qt.gui.@Nullable QMouseEvent event){ 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 QWidget::paintEvent(QPaintEvent*)

*/ @QtUninvokable @Override protected void paintEvent(io.qt.gui.@Nullable QPaintEvent event){ paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::sizeHint()const

*/ @QtUninvokable @Override 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); /** *

See QAbstractSpinBox::stepBy(int)

*/ @QtUninvokable @Override public void stepBy(int steps){ stepBy_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), steps); } @QtUninvokable private native void stepBy_native_int(long __this__nativeId, int steps); /** *

See QAbstractSpinBox::stepEnabled()const

*/ @QtUninvokable @Override protected io.qt.widgets.QAbstractSpinBox.@NonNull StepEnabled stepEnabled(){ return new io.qt.widgets.QAbstractSpinBox.StepEnabled(stepEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int stepEnabled_native_constfct(long __this__nativeId); /** *

See QDateTimeEdit::textFromDateTime(QDateTime)const

*/ @QtUninvokable protected java.lang.@NonNull String textFromDateTime(io.qt.core.@NonNull QDateTime dt){ return textFromDateTime_native_cref_QDateTime_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dt)); } @QtUninvokable private native java.lang.String textFromDateTime_native_cref_QDateTime_constfct(long __this__nativeId, long dt); /** *

See QAbstractSpinBox::validate(QString&,int&)const

*/ @QtUninvokable @Override public io.qt.gui.QValidator.@NonNull State validate(io.qt.gui.QValidator.@StrictNonNull QValidationData input){ java.util.Objects.requireNonNull(input, "Argument 'input': null not expected."); return io.qt.gui.QValidator.State.resolve(validate_native_ref_QString_ref_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), input)); } @QtUninvokable private native int validate_native_ref_QString_ref_int_constfct(long __this__nativeId, io.qt.gui.QValidator.QValidationData input); /** *

See QWidget::wheelEvent(QWheelEvent*)

*/ @QtUninvokable @Override protected void wheelEvent(io.qt.gui.@Nullable QWheelEvent event){ wheelEvent_native_QWheelEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void wheelEvent_native_QWheelEvent_ptr(long __this__nativeId, long event); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QDateTimeEdit(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QDateTimeEdit(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QDateTimeEdit instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QDateTimeEdit(io.qt.core.QDate, io.qt.widgets.QWidget)} * with parent = null.

*/ public QDateTimeEdit(io.qt.core.@NonNull QDate d) { this(d, (io.qt.widgets.QWidget)null); } /** *

Overloaded constructor for {@link #QDateTimeEdit(io.qt.core.QDateTime, io.qt.widgets.QWidget)} * with parent = null.

*/ public QDateTimeEdit(io.qt.core.@NonNull QDateTime dt) { this(dt, (io.qt.widgets.QWidget)null); } /** *

Overloaded constructor for {@link #QDateTimeEdit(io.qt.core.QTime, io.qt.widgets.QWidget)} * with parent = null.

*/ public QDateTimeEdit(io.qt.core.@NonNull QTime t) { this(t, (io.qt.widgets.QWidget)null); } /** *

Overloaded constructor for {@link #QDateTimeEdit(java.lang.Object, io.qt.core.QMetaType.Type, io.qt.widgets.QWidget)} * with parent = null.

*/ protected QDateTimeEdit(java.lang.Object val, io.qt.core.QMetaType.@NonNull Type parserType) { this(val, parserType, (io.qt.widgets.QWidget)null); } /** *

Overloaded constructor for {@link #QDateTimeEdit(io.qt.widgets.QWidget)} * with parent = null.

*/ public QDateTimeEdit() { this((io.qt.widgets.QWidget)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #calendarPopup()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getCalendarPopup() { return calendarPopup(); } /** * @hidden *

Kotlin property getter. In Java use {@link #currentSection()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QDateTimeEdit.@NonNull Section getCurrentSection() { return currentSection(); } /** * @hidden *

Kotlin property getter. In Java use {@link #currentSectionIndex()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getCurrentSectionIndex() { return currentSectionIndex(); } /** * @hidden *

Kotlin property getter. In Java use {@link #date()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QDate getDate() { return date(); } /** * @hidden *

Kotlin property getter. In Java use {@link #dateTime()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QDateTime getDateTime() { return dateTime(); } /** * @hidden *

Kotlin property getter. In Java use {@link #displayFormat()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getDisplayFormat() { return displayFormat(); } /** * @hidden *

Kotlin property getter. In Java use {@link #displayedSections()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QDateTimeEdit.@NonNull Sections getDisplayedSections() { return displayedSections(); } /** * @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 #maximumDateTime()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QDateTime getMaximumDateTime() { return maximumDateTime(); } /** * @hidden *

Kotlin property getter. In Java use {@link #maximumTime()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QTime getMaximumTime() { return maximumTime(); } /** * @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 #minimumDateTime()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QDateTime getMinimumDateTime() { return minimumDateTime(); } /** * @hidden *

Kotlin property getter. In Java use {@link #minimumTime()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QTime getMinimumTime() { return minimumTime(); } /** * @hidden *

Kotlin property getter. In Java use {@link #sectionCount()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getSectionCount() { return sectionCount(); } /** * @hidden *

Kotlin property getter. In Java use {@link #time()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QTime getTime() { return time(); } /** * @hidden *

Kotlin property getter. In Java use {@link #timeSpec()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull TimeSpec getTimeSpec() { return timeSpec(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy