io.qt.widgets.QDateEdit Maven / Gradle / Ivy
package io.qt.widgets;
import io.qt.*;
/**
* Widget for editing dates based on the QDateTimeEdit widget
* Java wrapper for Qt class QDateEdit
*/
public class QDateEdit extends io.qt.widgets.QDateTimeEdit
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QDateEdit.class);
/**
* See QDateEdit:: userDateChanged(QDate)
*/
@QtPropertyNotify(name="date")
public final @NonNull Signal1 userDateChanged = new Signal1<>();
/**
* See QDateEdit:: QDateEdit(QDate, QWidget*)
* @param date
* @param parent
*/
public QDateEdit(io.qt.core.@NonNull QDate date, io.qt.widgets.@Nullable QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, date, parent);
}
private native static void initialize_native(QDateEdit instance, io.qt.core.QDate date, io.qt.widgets.QWidget parent);
/**
* See QDateEdit:: QDateEdit(QWidget*)
* @param parent
*/
public QDateEdit(io.qt.widgets.@Nullable QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QDateEdit instance, io.qt.widgets.QWidget parent);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QDateEdit(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QDateEdit(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QDateEdit instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QDateEdit(io.qt.core.QDate, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QDateEdit(io.qt.core.@NonNull QDate date) {
this(date, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded constructor for {@link #QDateEdit(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QDateEdit() {
this((io.qt.widgets.QWidget)null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy