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

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

The newest version!
package io.qt.widgets;


/**
 * 

Spin box widget

*

Java wrapper for Qt class QSpinBox

*/ public class QSpinBox 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(QSpinBox.class); /** *

See QSpinBox::textChanged(QString)

*/ public final Signal1 textChanged = new Signal1<>(); /** *

See QSpinBox::valueChanged(int)

*/ @io.qt.QtPropertyNotify(name="value") public final Signal1<@io.qt.QtPrimitiveType Integer> valueChanged = new Signal1<>(); /** *

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

*/ public QSpinBox() { this((io.qt.widgets.QWidget)null); } /** *

See QSpinBox::QSpinBox(QWidget*)

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

See QSpinBox::cleanText()const

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

See QSpinBox::displayIntegerBase()const

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

See QSpinBox::maximum()const

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

See QSpinBox::minimum()const

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

See QSpinBox::prefix()const

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

See QSpinBox::setDisplayIntegerBase(int)

*/ @io.qt.QtPropertyWriter(name="displayIntegerBase") @io.qt.QtUninvokable public final void setDisplayIntegerBase(int base){ setDisplayIntegerBase_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), base); } @io.qt.QtUninvokable private native void setDisplayIntegerBase_native_int(long __this__nativeId, int base); /** *

See QSpinBox::setMaximum(int)

*/ @io.qt.QtPropertyWriter(name="maximum") @io.qt.QtUninvokable public final void setMaximum(int max){ setMaximum_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), max); } @io.qt.QtUninvokable private native void setMaximum_native_int(long __this__nativeId, int max); /** *

See QSpinBox::setMinimum(int)

*/ @io.qt.QtPropertyWriter(name="minimum") @io.qt.QtUninvokable public final void setMinimum(int min){ setMinimum_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), min); } @io.qt.QtUninvokable private native void setMinimum_native_int(long __this__nativeId, int min); /** *

See QSpinBox::setPrefix(QString)

*/ @io.qt.QtPropertyWriter(name="prefix") @io.qt.QtUninvokable public final void setPrefix(java.lang.String prefix){ setPrefix_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), prefix); } @io.qt.QtUninvokable private native void setPrefix_native_cref_QString(long __this__nativeId, java.lang.String prefix); /** *

See QSpinBox::setRange(int,int)

*/ @io.qt.QtUninvokable public final void setRange(int min, int max){ setRange_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), min, max); } @io.qt.QtUninvokable private native void setRange_native_int_int(long __this__nativeId, int min, int max); /** *

See QSpinBox::setSingleStep(int)

*/ @io.qt.QtPropertyWriter(name="singleStep") @io.qt.QtUninvokable public final void setSingleStep(int val){ setSingleStep_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), val); } @io.qt.QtUninvokable private native void setSingleStep_native_int(long __this__nativeId, int val); /** *

See QSpinBox::setStepType(QAbstractSpinBox::StepType)

*/ @io.qt.QtPropertyWriter(name="stepType") @io.qt.QtUninvokable public final void setStepType(io.qt.widgets.QAbstractSpinBox.StepType stepType){ setStepType_native_QAbstractSpinBox_StepType(QtJambi_LibraryUtilities.internal.nativeId(this), stepType.value()); } @io.qt.QtUninvokable private native void setStepType_native_QAbstractSpinBox_StepType(long __this__nativeId, int stepType); /** *

See QSpinBox::setSuffix(QString)

*/ @io.qt.QtPropertyWriter(name="suffix") @io.qt.QtUninvokable public final void setSuffix(java.lang.String suffix){ setSuffix_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), suffix); } @io.qt.QtUninvokable private native void setSuffix_native_cref_QString(long __this__nativeId, java.lang.String suffix); /** *

See QSpinBox::setValue(int)

*/ @io.qt.QtPropertyWriter(name="value") public final void setValue(int val){ setValue_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), val); } private native void setValue_native_int(long __this__nativeId, int val); /** *

See QSpinBox::singleStep()const

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

See QSpinBox::stepType()const

*/ @io.qt.QtPropertyReader(name="stepType") @io.qt.QtUninvokable public final io.qt.widgets.QAbstractSpinBox.StepType stepType(){ return io.qt.widgets.QAbstractSpinBox.StepType.resolve(stepType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int stepType_native_constfct(long __this__nativeId); /** *

See QSpinBox::suffix()const

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

See QSpinBox::value()const

*/ @io.qt.QtPropertyReader(name="value") @io.qt.QtPropertyUser @io.qt.QtUninvokable public final int value(){ return value_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int value_native_constfct(long __this__nativeId); /** *

See QObject::event(QEvent*)

*/ @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 str){ return fixup_native_ref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), str); } @io.qt.QtUninvokable private native java.lang.String fixup_native_ref_QString_constfct(long __this__nativeId, java.lang.String str); /** *

See QSpinBox::textFromValue(int)const

*/ @io.qt.QtUninvokable protected java.lang.String textFromValue(int val){ return textFromValue_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), val); } @io.qt.QtUninvokable private native java.lang.String textFromValue_native_int_constfct(long __this__nativeId, int val); /** *

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 QSpinBox::valueFromText(QString)const

*/ @io.qt.QtUninvokable protected int valueFromText(java.lang.String text){ return valueFromText_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @io.qt.QtUninvokable private native int valueFromText_native_cref_QString_constfct(long __this__nativeId, java.lang.String text); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QSpinBox(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 QSpinBox(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QSpinBox instance, QDeclarativeConstructor constructor); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy