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

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

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

import io.qt.*;


/**
 * 

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.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QKeySequenceEdit.class); /** *

See QKeySequenceEdit::editingFinished()

*/ public final @NonNull Signal0 editingFinished = new Signal0(); /** *

See QKeySequenceEdit::keySequenceChanged(QKeySequence)

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

See QKeySequenceEdit::QKeySequenceEdit(QKeySequence,QWidget*)

*/ public QKeySequenceEdit(io.qt.gui.@NonNull QKeySequence keySequence, io.qt.widgets.@Nullable 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); /** *

See QKeySequenceEdit::QKeySequenceEdit(QWidget*)

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

Clears the current key sequence

*

See QKeySequenceEdit::clear()

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

See QKeySequenceEdit::finishingKeyCombinations()const

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

See QKeySequenceEdit::isClearButtonEnabled()const

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

See QKeySequenceEdit::keySequence()const

*/ @QtPropertyReader(name="keySequence") @QtPropertyUser @QtUninvokable public final io.qt.gui.@NonNull QKeySequence keySequence(){ return keySequence_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QKeySequence keySequence_native_constfct(long __this__nativeId); /** *

See QKeySequenceEdit::maximumSequenceLength()const

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

See QKeySequenceEdit::setClearButtonEnabled(bool)

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

See QKeySequenceEdit::setFinishingKeyCombinations(QList<QKeyCombination>)

*/ @QtPropertyWriter(name="finishingKeyCombinations") @QtUninvokable public final void setFinishingKeyCombinations(java.util.@NonNull Collection finishingKeyCombinations){ setFinishingKeyCombinations_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), finishingKeyCombinations); } @QtUninvokable private native void setFinishingKeyCombinations_native_cref_QList(long __this__nativeId, java.util.Collection finishingKeyCombinations); /** *

See QKeySequenceEdit::setKeySequence(QKeySequence)

*/ @QtPropertyWriter(name="keySequence") public final void setKeySequence(io.qt.gui.@NonNull 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); /** *

See QKeySequenceEdit::setMaximumSequenceLength(qsizetype)

*/ @QtPropertyWriter(name="maximumSequenceLength") public final void setMaximumSequenceLength(long count){ setMaximumSequenceLength_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), count); } private native void setMaximumSequenceLength_native_qsizetype(long __this__nativeId, long count); /** *

See QObject::event(QEvent*)

*/ @QtUninvokable @Override public boolean event(io.qt.core.@Nullable QEvent arg__1){ return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native boolean event_native_QEvent_ptr(long __this__nativeId, long arg__1); /** *

See QWidget::focusOutEvent(QFocusEvent*)

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

See QWidget::keyPressEvent(QKeyEvent*)

*/ @QtUninvokable @Override protected void keyPressEvent(io.qt.gui.@Nullable QKeyEvent arg__1){ keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long arg__1); /** *

See QWidget::keyReleaseEvent(QKeyEvent*)

*/ @QtUninvokable @Override protected void keyReleaseEvent(io.qt.gui.@Nullable QKeyEvent arg__1){ keyReleaseEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void keyReleaseEvent_native_QKeyEvent_ptr(long __this__nativeId, long arg__1); /** *

See QObject::timerEvent(QTimerEvent*)

*/ @QtUninvokable @Override protected void timerEvent(io.qt.core.@Nullable QTimerEvent arg__1){ timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @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. * @hidden */ @NativeAccess protected QKeySequenceEdit(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QKeySequenceEdit(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QKeySequenceEdit instance, QDeclarativeConstructor constructor); /** *

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

*/ public QKeySequenceEdit(io.qt.gui.@NonNull QKeySequence keySequence) { this(keySequence, (io.qt.widgets.QWidget)null); } /** *

Overloaded constructor for {@link #QKeySequenceEdit(java.lang.String, io.qt.widgets.QWidget)} * with parent = null.

*/ public QKeySequenceEdit(java.lang.@NonNull String keySequence) { this(keySequence, (io.qt.widgets.QWidget)null); } /** *

Overloaded constructor for {@link #QKeySequenceEdit(io.qt.gui.QKeySequence, io.qt.widgets.QWidget)}.

*/ public QKeySequenceEdit(java.lang.@NonNull String keySequence, io.qt.widgets.@Nullable QWidget parent) { this(new io.qt.gui.QKeySequence(keySequence), parent); } /** *

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

*/ public QKeySequenceEdit(int keySequence) { this(keySequence, (io.qt.widgets.QWidget)null); } /** *

Overloaded constructor for {@link #QKeySequenceEdit(io.qt.gui.QKeySequence, io.qt.widgets.QWidget)}.

*/ public QKeySequenceEdit(int keySequence, io.qt.widgets.@Nullable QWidget parent) { this(new io.qt.gui.QKeySequence(keySequence), parent); } /** *

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

*/ public QKeySequenceEdit(io.qt.gui.@NonNull QKeyCombination keySequence) { this(keySequence, (io.qt.widgets.QWidget)null); } /** *

Overloaded constructor for {@link #QKeySequenceEdit(io.qt.gui.QKeySequence, io.qt.widgets.QWidget)}.

*/ public QKeySequenceEdit(io.qt.gui.@NonNull QKeyCombination keySequence, io.qt.widgets.@Nullable QWidget parent) { this(new io.qt.gui.QKeySequence(keySequence), parent); } /** *

Overloaded constructor for {@link #QKeySequenceEdit(io.qt.gui.QKeySequence.StandardKey, io.qt.widgets.QWidget)} * with parent = null.

*/ public QKeySequenceEdit(io.qt.gui.QKeySequence.@NonNull StandardKey keySequence) { this(keySequence, (io.qt.widgets.QWidget)null); } /** *

Overloaded constructor for {@link #QKeySequenceEdit(io.qt.gui.QKeySequence, io.qt.widgets.QWidget)}.

*/ public QKeySequenceEdit(io.qt.gui.QKeySequence.@NonNull StandardKey keySequence, io.qt.widgets.@Nullable QWidget parent) { this(new io.qt.gui.QKeySequence(keySequence), parent); } /** *

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QList getFinishingKeyCombinations() { return finishingKeyCombinations(); } /** * @hidden *

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.gui.@NonNull QKeySequence getKeySequence() { return keySequence(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final long getMaximumSequenceLength() { return maximumSequenceLength(); } /** *

Overloaded function for {@link #setKeySequence(io.qt.gui.QKeySequence)}.

*/ public final void setKeySequence(java.lang.@NonNull String keySequence) { setKeySequence(new io.qt.gui.QKeySequence(keySequence)); } /** *

Overloaded function for {@link #setKeySequence(io.qt.gui.QKeySequence)}.

*/ public final void setKeySequence(int keySequence) { setKeySequence(new io.qt.gui.QKeySequence(keySequence)); } /** *

Overloaded function for {@link #setKeySequence(io.qt.gui.QKeySequence)}.

*/ public final void setKeySequence(io.qt.gui.@NonNull QKeyCombination keySequence) { setKeySequence(new io.qt.gui.QKeySequence(keySequence)); } /** *

Overloaded function for {@link #setKeySequence(io.qt.gui.QKeySequence)}.

*/ public final void setKeySequence(io.qt.gui.QKeySequence.@NonNull StandardKey keySequence) { setKeySequence(new io.qt.gui.QKeySequence(keySequence)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy