
io.qt.widgets.QKeySequenceEdit Maven / Gradle / Ivy
package io.qt.widgets;
/**
* Allows to input a QKeySequence
* Java wrapper for Qt class QKeySequenceEdit
*/
public class QKeySequenceEdit 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(QKeySequenceEdit.class);
/**
* See QKeySequenceEdit::editingFinished()
*/
public final Signal0 editingFinished = new Signal0();
/**
* See QKeySequenceEdit::keySequenceChanged(QKeySequence)
*/
@io.qt.QtPropertyNotify(name="keySequence")
public final Signal1 keySequenceChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QKeySequenceEdit(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QKeySequenceEdit() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QKeySequenceEdit::QKeySequenceEdit(QWidget*)
*/
public QKeySequenceEdit(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QKeySequenceEdit instance, io.qt.widgets.QWidget parent);
/**
* Overloaded constructor for {@link #QKeySequenceEdit(io.qt.gui.QKeySequence, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QKeySequenceEdit(io.qt.gui.QKeySequence keySequence) {
this(keySequence, (io.qt.widgets.QWidget)null);
}
/**
* See QKeySequenceEdit::QKeySequenceEdit(QKeySequence,QWidget*)
*/
public QKeySequenceEdit(io.qt.gui.QKeySequence keySequence, io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, keySequence, parent);
}
private native static void initialize_native(QKeySequenceEdit instance, io.qt.gui.QKeySequence keySequence, io.qt.widgets.QWidget parent);
/**
* Clears the current key sequence
*
*/
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void clear_native(long __this__nativeId);
/**
* See QKeySequenceEdit::keySequence()const
*/
@io.qt.QtPropertyReader(name="keySequence")
@io.qt.QtPropertyUser
@io.qt.QtUninvokable
public final io.qt.gui.QKeySequence keySequence(){
return keySequence_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QKeySequence keySequence_native_constfct(long __this__nativeId);
/**
* See QKeySequenceEdit::setKeySequence(QKeySequence)
*/
@io.qt.QtPropertyWriter(name="keySequence")
public final void setKeySequence(io.qt.gui.QKeySequence keySequence){
setKeySequence_native_cref_QKeySequence(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(keySequence));
}
private native void setKeySequence_native_cref_QKeySequence(long __this__nativeId, long keySequence);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent arg__1){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::keyPressEvent(QKeyEvent*)
*/
@io.qt.QtUninvokable
protected void keyPressEvent(io.qt.gui.QKeyEvent arg__1){
keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::keyReleaseEvent(QKeyEvent*)
*/
@io.qt.QtUninvokable
protected void keyReleaseEvent(io.qt.gui.QKeyEvent arg__1){
keyReleaseEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void keyReleaseEvent_native_QKeyEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QObject::timerEvent(QTimerEvent*)
*/
@io.qt.QtUninvokable
protected void timerEvent(io.qt.core.QTimerEvent arg__1){
timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void timerEvent_native_QTimerEvent_ptr(long __this__nativeId, long arg__1);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QKeySequenceEdit(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 QKeySequenceEdit(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QKeySequenceEdit instance, QDeclarativeConstructor constructor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy