io.qt.widgets.QDateTimeEdit Maven / Gradle / Ivy
package io.qt.widgets;
/**
* 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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QDateTimeEdit.class);
/**
* Java wrapper for Qt enum QDateTimeEdit::Section
*
* @see Sections
*/
public enum Section implements io.qt.QtFlagEnumerator {
NoSection(0),
AmPmSection(1),
MSecSection(2),
SecondSection(4),
MinuteSection(8),
HourSection(16),
DaySection(256),
MonthSection(512),
YearSection(1024),
TimeSections_Mask(31),
DateSections_Mask(1792);
private Section(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public Sections asFlags() {
return new Sections(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public Sections combined(Section e) {
return new Sections(this, e);
}
/**
* Creates a new {@link Sections} from the entries.
* @param values entries
* @return new flag
*/
public static Sections flags(Section ... values) {
return new Sections(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static 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 io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* QFlags type for enum {@link Section}
*/
public static final class Sections extends io.qt.QFlags implements Comparable {
private static final long serialVersionUID = 0xfb309c8902f4b3b2L;
/**
* Creates a new Sections where the flags in args
are set.
* @param args enum entries
*/
public Sections(Section ... 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 Sections combined(Section e){
return new Sections(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final Sections setFlag(Section e){
super.setFlag(e);
return this;
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final Sections setFlag(Section e, boolean on){
super.setFlag(e, on);
return this;
}
/**
* Returns an array of flag objects represented by this Sections.
* @return array of enum entries
*/
@Override
public final Section[] flags(){
return super.flags(Section.values());
}
/**
* {@inheritDoc}
*/
@Override
public final Sections clone(){
return new Sections(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(Sections other){
return Integer.compare(value(), other.value());
}
}
/**
* See QDateTimeEdit::dateChanged(QDate)
*/
@io.qt.QtPropertyNotify(name="date")
public final Signal1 dateChanged = new Signal1<>();
/**
* See QDateTimeEdit::dateTimeChanged(QDateTime)
*/
@io.qt.QtPropertyNotify(name="dateTime")
public final Signal1 dateTimeChanged = new Signal1<>();
/**
* See QDateTimeEdit::timeChanged(QTime)
*/
@io.qt.QtPropertyNotify(name="time")
public final Signal1 timeChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QDateTimeEdit(io.qt.core.QDate, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QDateTimeEdit(io.qt.core.QDate d) {
this(d, (io.qt.widgets.QWidget)null);
}
/**
* See QDateTimeEdit::QDateTimeEdit(QDate,QWidget*)
*/
public QDateTimeEdit(io.qt.core.QDate d, io.qt.widgets.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);
/**
* Overloaded constructor for {@link #QDateTimeEdit(io.qt.core.QTime, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QDateTimeEdit(io.qt.core.QTime t) {
this(t, (io.qt.widgets.QWidget)null);
}
/**
* See QDateTimeEdit::QDateTimeEdit(QTime,QWidget*)
*/
public QDateTimeEdit(io.qt.core.QTime t, io.qt.widgets.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);
/**
* Overloaded constructor for {@link #QDateTimeEdit(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QDateTimeEdit() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QDateTimeEdit::QDateTimeEdit(QWidget*)
*/
public QDateTimeEdit(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QDateTimeEdit instance, io.qt.widgets.QWidget parent);
/**
* Overloaded constructor for {@link #QDateTimeEdit(io.qt.core.QDateTime, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QDateTimeEdit(io.qt.core.QDateTime dt) {
this(dt, (io.qt.widgets.QWidget)null);
}
/**
* See QDateTimeEdit::QDateTimeEdit(QDateTime,QWidget*)
*/
public QDateTimeEdit(io.qt.core.QDateTime dt, io.qt.widgets.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);
/**
* 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.Type parserType) {
this(val, parserType, (io.qt.widgets.QWidget)null);
}
protected QDateTimeEdit(java.lang.Object val, io.qt.core.QMetaType.Type parserType, io.qt.widgets.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);
@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 QDateTimeEdit::calendarPopup()const
*/
@io.qt.QtPropertyReader(name="calendarPopup")
@io.qt.QtUninvokable
public final boolean calendarPopup(){
return calendarPopup_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.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
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QCalendarWidget calendarWidget(){
return calendarWidget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.widgets.QCalendarWidget calendarWidget_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::clearMaximumDate()
*/
@io.qt.QtPropertyResetter(name="maximumDate")
@io.qt.QtUninvokable
public final void clearMaximumDate(){
clearMaximumDate_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void clearMaximumDate_native(long __this__nativeId);
/**
* See QDateTimeEdit::clearMaximumDateTime()
*/
@io.qt.QtPropertyResetter(name="maximumDateTime")
@io.qt.QtUninvokable
public final void clearMaximumDateTime(){
clearMaximumDateTime_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void clearMaximumDateTime_native(long __this__nativeId);
/**
* See QDateTimeEdit::clearMaximumTime()
*/
@io.qt.QtPropertyResetter(name="maximumTime")
@io.qt.QtUninvokable
public final void clearMaximumTime(){
clearMaximumTime_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void clearMaximumTime_native(long __this__nativeId);
/**
* See QDateTimeEdit::clearMinimumDate()
*/
@io.qt.QtPropertyResetter(name="minimumDate")
@io.qt.QtUninvokable
public final void clearMinimumDate(){
clearMinimumDate_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void clearMinimumDate_native(long __this__nativeId);
/**
* See QDateTimeEdit::clearMinimumDateTime()
*/
@io.qt.QtPropertyResetter(name="minimumDateTime")
@io.qt.QtUninvokable
public final void clearMinimumDateTime(){
clearMinimumDateTime_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void clearMinimumDateTime_native(long __this__nativeId);
/**
* See QDateTimeEdit::clearMinimumTime()
*/
@io.qt.QtPropertyResetter(name="minimumTime")
@io.qt.QtUninvokable
public final void clearMinimumTime(){
clearMinimumTime_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void clearMinimumTime_native(long __this__nativeId);
/**
* See QDateTimeEdit::currentSection()const
*/
@io.qt.QtPropertyReader(name="currentSection")
@io.qt.QtUninvokable
public final io.qt.widgets.QDateTimeEdit.Section currentSection(){
return io.qt.widgets.QDateTimeEdit.Section.resolve(currentSection_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int currentSection_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::currentSectionIndex()const
*/
@io.qt.QtPropertyReader(name="currentSectionIndex")
@io.qt.QtUninvokable
public final int currentSectionIndex(){
return currentSectionIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int currentSectionIndex_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::date()const
*/
@io.qt.QtPropertyReader(name="date")
@io.qt.QtUninvokable
public final io.qt.core.QDate date(){
return date_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QDate date_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::dateTime()const
*/
@io.qt.QtPropertyReader(name="dateTime")
@io.qt.QtPropertyUser
@io.qt.QtUninvokable
public final io.qt.core.QDateTime dateTime(){
return dateTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QDateTime dateTime_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::displayFormat()const
*/
@io.qt.QtPropertyReader(name="displayFormat")
@io.qt.QtUninvokable
public final java.lang.String displayFormat(){
return displayFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String displayFormat_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::displayedSections()const
*/
@io.qt.QtPropertyReader(name="displayedSections")
@io.qt.QtUninvokable
public final io.qt.widgets.QDateTimeEdit.Sections displayedSections(){
return new io.qt.widgets.QDateTimeEdit.Sections(displayedSections_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int displayedSections_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::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 QDateTimeEdit::maximumDateTime()const
*/
@io.qt.QtPropertyReader(name="maximumDateTime")
@io.qt.QtUninvokable
public final io.qt.core.QDateTime maximumDateTime(){
return maximumDateTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QDateTime maximumDateTime_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::maximumTime()const
*/
@io.qt.QtPropertyReader(name="maximumTime")
@io.qt.QtUninvokable
public final io.qt.core.QTime maximumTime(){
return maximumTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QTime maximumTime_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::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 QDateTimeEdit::minimumDateTime()const
*/
@io.qt.QtPropertyReader(name="minimumDateTime")
@io.qt.QtUninvokable
public final io.qt.core.QDateTime minimumDateTime(){
return minimumDateTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QDateTime minimumDateTime_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::minimumTime()const
*/
@io.qt.QtPropertyReader(name="minimumTime")
@io.qt.QtUninvokable
public final io.qt.core.QTime minimumTime(){
return minimumTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QTime minimumTime_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::sectionAt(int)const
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QDateTimeEdit.Section sectionAt(int index){
return io.qt.widgets.QDateTimeEdit.Section.resolve(sectionAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index));
}
@io.qt.QtUninvokable
private native int sectionAt_native_int_constfct(long __this__nativeId, int index);
/**
* See QDateTimeEdit::sectionCount()const
*/
@io.qt.QtPropertyReader(name="sectionCount")
@io.qt.QtUninvokable
public final int sectionCount(){
return sectionCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int sectionCount_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::sectionText(QDateTimeEdit::Section)const
*/
@io.qt.QtUninvokable
public final java.lang.String sectionText(io.qt.widgets.QDateTimeEdit.Section section){
return sectionText_native_QDateTimeEdit_Section_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), section.value());
}
@io.qt.QtUninvokable
private native java.lang.String sectionText_native_QDateTimeEdit_Section_constfct(long __this__nativeId, int section);
@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 QDateTimeEdit::setCalendarPopup(bool)
*/
@io.qt.QtPropertyWriter(name="calendarPopup")
@io.qt.QtUninvokable
public final void setCalendarPopup(boolean enable){
setCalendarPopup_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@io.qt.QtUninvokable
private native void setCalendarPopup_native_bool(long __this__nativeId, boolean enable);
/**
* See QDateTimeEdit::setCalendarWidget(QCalendarWidget*)
*/
@io.qt.QtUninvokable
public final void setCalendarWidget(io.qt.widgets.QCalendarWidget calendarWidget){
setCalendarWidget_native_QCalendarWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(calendarWidget));
}
@io.qt.QtUninvokable
private native void setCalendarWidget_native_QCalendarWidget_ptr(long __this__nativeId, long calendarWidget);
/**
* See QDateTimeEdit::setCurrentSection(QDateTimeEdit::Section)
*/
@io.qt.QtPropertyWriter(name="currentSection")
@io.qt.QtUninvokable
public final void setCurrentSection(io.qt.widgets.QDateTimeEdit.Section section){
setCurrentSection_native_QDateTimeEdit_Section(QtJambi_LibraryUtilities.internal.nativeId(this), section.value());
}
@io.qt.QtUninvokable
private native void setCurrentSection_native_QDateTimeEdit_Section(long __this__nativeId, int section);
/**
* See QDateTimeEdit::setCurrentSectionIndex(int)
*/
@io.qt.QtPropertyWriter(name="currentSectionIndex")
@io.qt.QtUninvokable
public final void setCurrentSectionIndex(int index){
setCurrentSectionIndex_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native void setCurrentSectionIndex_native_int(long __this__nativeId, int index);
/**
* See QDateTimeEdit::setDate(QDate)
*/
@io.qt.QtPropertyWriter(name="date")
public final void setDate(io.qt.core.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)
*/
@io.qt.QtUninvokable
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));
}
@io.qt.QtUninvokable
private native void setDateRange_native_QDate_QDate(long __this__nativeId, long min, long max);
/**
* See QDateTimeEdit::setDateTime(QDateTime)
*/
@io.qt.QtPropertyWriter(name="dateTime")
public final void setDateTime(io.qt.core.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)
*/
@io.qt.QtUninvokable
public final void setDateTimeRange(io.qt.core.QDateTime min, io.qt.core.QDateTime max){
setDateTimeRange_native_cref_QDateTime_cref_QDateTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(min), QtJambi_LibraryUtilities.internal.checkedNativeId(max));
}
@io.qt.QtUninvokable
private native void setDateTimeRange_native_cref_QDateTime_cref_QDateTime(long __this__nativeId, long min, long max);
/**
* See QDateTimeEdit::setDisplayFormat(QString)
*/
@io.qt.QtPropertyWriter(name="displayFormat")
@io.qt.QtUninvokable
public final void setDisplayFormat(java.lang.String format){
setDisplayFormat_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), format);
}
@io.qt.QtUninvokable
private native void setDisplayFormat_native_cref_QString(long __this__nativeId, java.lang.String format);
/**
* See QDateTimeEdit::setMaximumDate(QDate)
*/
@io.qt.QtPropertyWriter(name="maximumDate")
@io.qt.QtUninvokable
public final void setMaximumDate(io.qt.core.QDate max){
setMaximumDate_native_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(max));
}
@io.qt.QtUninvokable
private native void setMaximumDate_native_QDate(long __this__nativeId, long max);
/**
* See QDateTimeEdit::setMaximumDateTime(QDateTime)
*/
@io.qt.QtPropertyWriter(name="maximumDateTime")
@io.qt.QtUninvokable
public final void setMaximumDateTime(io.qt.core.QDateTime dt){
setMaximumDateTime_native_cref_QDateTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dt));
}
@io.qt.QtUninvokable
private native void setMaximumDateTime_native_cref_QDateTime(long __this__nativeId, long dt);
/**
* See QDateTimeEdit::setMaximumTime(QTime)
*/
@io.qt.QtPropertyWriter(name="maximumTime")
@io.qt.QtUninvokable
public final void setMaximumTime(io.qt.core.QTime max){
setMaximumTime_native_QTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(max));
}
@io.qt.QtUninvokable
private native void setMaximumTime_native_QTime(long __this__nativeId, long max);
/**
* See QDateTimeEdit::setMinimumDate(QDate)
*/
@io.qt.QtPropertyWriter(name="minimumDate")
@io.qt.QtUninvokable
public final void setMinimumDate(io.qt.core.QDate min){
setMinimumDate_native_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(min));
}
@io.qt.QtUninvokable
private native void setMinimumDate_native_QDate(long __this__nativeId, long min);
/**
* See QDateTimeEdit::setMinimumDateTime(QDateTime)
*/
@io.qt.QtPropertyWriter(name="minimumDateTime")
@io.qt.QtUninvokable
public final void setMinimumDateTime(io.qt.core.QDateTime dt){
setMinimumDateTime_native_cref_QDateTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dt));
}
@io.qt.QtUninvokable
private native void setMinimumDateTime_native_cref_QDateTime(long __this__nativeId, long dt);
/**
* See QDateTimeEdit::setMinimumTime(QTime)
*/
@io.qt.QtPropertyWriter(name="minimumTime")
@io.qt.QtUninvokable
public final void setMinimumTime(io.qt.core.QTime min){
setMinimumTime_native_QTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(min));
}
@io.qt.QtUninvokable
private native void setMinimumTime_native_QTime(long __this__nativeId, long min);
/**
* See QDateTimeEdit::setSelectedSection(QDateTimeEdit::Section)
*/
@io.qt.QtUninvokable
public final void setSelectedSection(io.qt.widgets.QDateTimeEdit.Section section){
setSelectedSection_native_QDateTimeEdit_Section(QtJambi_LibraryUtilities.internal.nativeId(this), section.value());
}
@io.qt.QtUninvokable
private native void setSelectedSection_native_QDateTimeEdit_Section(long __this__nativeId, int section);
/**
* See QDateTimeEdit::setTime(QTime)
*/
@io.qt.QtPropertyWriter(name="time")
public final void setTime(io.qt.core.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)
*/
@io.qt.QtUninvokable
public final void setTimeRange(io.qt.core.QTime min, io.qt.core.QTime max){
setTimeRange_native_QTime_QTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(min), QtJambi_LibraryUtilities.internal.checkedNativeId(max));
}
@io.qt.QtUninvokable
private native void setTimeRange_native_QTime_QTime(long __this__nativeId, long min, long max);
/**
* See QDateTimeEdit::setTimeSpec(Qt::TimeSpec)
*/
@io.qt.QtPropertyWriter(name="timeSpec")
@io.qt.QtUninvokable
public final void setTimeSpec(io.qt.core.Qt.TimeSpec spec){
setTimeSpec_native_Qt_TimeSpec(QtJambi_LibraryUtilities.internal.nativeId(this), spec.value());
}
@io.qt.QtUninvokable
private native void setTimeSpec_native_Qt_TimeSpec(long __this__nativeId, int spec);
/**
* See QDateTimeEdit::time()const
*/
@io.qt.QtPropertyReader(name="time")
@io.qt.QtUninvokable
public final io.qt.core.QTime time(){
return time_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QTime time_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::timeSpec()const
*/
@io.qt.QtPropertyReader(name="timeSpec")
@io.qt.QtUninvokable
public final io.qt.core.Qt.TimeSpec timeSpec(){
return io.qt.core.Qt.TimeSpec.resolve(timeSpec_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int timeSpec_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void clear_native(long __this__nativeId);
/**
* See QDateTimeEdit::dateTimeFromText(QString)const
*/
@io.qt.QtUninvokable
protected io.qt.core.QDateTime dateTimeFromText(java.lang.String text){
return dateTimeFromText_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
@io.qt.QtUninvokable
private native io.qt.core.QDateTime dateTimeFromText_native_cref_QString_constfct(long __this__nativeId, java.lang.String text);
/**
*
*/
@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 QAbstractSpinBox::fixup(QString&)const
*/
@io.qt.QtUninvokable
public java.lang.String fixup(java.lang.String input){
return fixup_native_ref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), input);
}
@io.qt.QtUninvokable
private native java.lang.String fixup_native_ref_QString_constfct(long __this__nativeId, java.lang.String input);
/**
* See QWidget::focusInEvent(QFocusEvent*)
*/
@io.qt.QtUninvokable
protected void focusInEvent(io.qt.gui.QFocusEvent event){
focusInEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void focusInEvent_native_QFocusEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::focusNextPrevChild(bool)
*/
@io.qt.QtUninvokable
protected boolean focusNextPrevChild(boolean next){
return focusNextPrevChild_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), next);
}
@io.qt.QtUninvokable
private native boolean focusNextPrevChild_native_bool(long __this__nativeId, boolean next);
/**
* See QAbstractSpinBox::initStyleOption(QStyleOptionSpinBox*)const
*/
@io.qt.QtUninvokable
void _initStyleOption(io.qt.widgets.QStyleOptionSpinBox option){
_initStyleOption_native_QStyleOptionSpinBox_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option);
}
@io.qt.QtUninvokable
private native void _initStyleOption_native_QStyleOptionSpinBox_ptr_constfct(long __this__nativeId, io.qt.widgets.QStyleOptionSpinBox option);
/**
* 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::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 QWidget::paintEvent(QPaintEvent*)
*/
@io.qt.QtUninvokable
protected void paintEvent(io.qt.gui.QPaintEvent event){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void paintEvent_native_QPaintEvent_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);
/**
* See QAbstractSpinBox::stepBy(int)
*/
@io.qt.QtUninvokable
public void stepBy(int steps){
stepBy_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), steps);
}
@io.qt.QtUninvokable
private native void stepBy_native_int(long __this__nativeId, int steps);
/**
* See QAbstractSpinBox::stepEnabled()const
*/
@io.qt.QtUninvokable
protected io.qt.widgets.QAbstractSpinBox.StepEnabled stepEnabled(){
return new io.qt.widgets.QAbstractSpinBox.StepEnabled(stepEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int stepEnabled_native_constfct(long __this__nativeId);
/**
* See QDateTimeEdit::textFromDateTime(QDateTime)const
*/
@io.qt.QtUninvokable
protected java.lang.String textFromDateTime(io.qt.core.QDateTime dt){
return textFromDateTime_native_cref_QDateTime_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dt));
}
@io.qt.QtUninvokable
private native java.lang.String textFromDateTime_native_cref_QDateTime_constfct(long __this__nativeId, long dt);
/**
* See QAbstractSpinBox::validate(QString&,int&)const
*/
@io.qt.QtUninvokable
public io.qt.gui.QValidator.State validate(io.qt.gui.QValidator.QValidationData input){
return io.qt.gui.QValidator.State.resolve(validate_native_ref_QString_ref_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), input));
}
@io.qt.QtUninvokable
private native int validate_native_ref_QString_ref_int_constfct(long __this__nativeId, io.qt.gui.QValidator.QValidationData input);
/**
* See QWidget::wheelEvent(QWheelEvent*)
*/
@io.qt.QtUninvokable
protected void wheelEvent(io.qt.gui.QWheelEvent event){
wheelEvent_native_QWheelEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void wheelEvent_native_QWheelEvent_ptr(long __this__nativeId, long event);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QDateTimeEdit(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 QDateTimeEdit(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QDateTimeEdit instance, QDeclarativeConstructor constructor);
}