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

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

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

import io.qt.*;


/**
 * 

Used to describe the parameters necessary for drawing a spin box

*

Java wrapper for Qt class QStyleOptionSpinBox

*/ public class QStyleOptionSpinBox extends io.qt.widgets.QStyleOptionComplex implements java.lang.Cloneable { /** *

See QStyleOptionSpinBox::QStyleOptionSpinBox()

*/ public QStyleOptionSpinBox(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QStyleOptionSpinBox instance); /** *

See QStyleOptionSpinBox::QStyleOptionSpinBox(QStyleOptionSpinBox)

*/ public QStyleOptionSpinBox(io.qt.widgets.@NonNull QStyleOptionSpinBox other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QStyleOptionSpinBox instance, io.qt.widgets.QStyleOptionSpinBox other); /** *

See QStyleOptionSpinBox::operator=(QStyleOptionSpinBox)

*/ @QtUninvokable public final void assign(io.qt.widgets.@NonNull QStyleOptionSpinBox arg__1){ assign_native_cref_QStyleOptionSpinBox(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void assign_native_cref_QStyleOptionSpinBox(long __this__nativeId, long arg__1); /** *

The type of button symbols to draw for the spin box

*

See QStyleOptionSpinBox::buttonSymbols

*/ @QtUninvokable public final void setButtonSymbols(io.qt.widgets.QAbstractSpinBox.@NonNull ButtonSymbols buttonSymbols){ setButtonSymbols_native_cref_QAbstractSpinBox_ButtonSymbols(QtJambi_LibraryUtilities.internal.nativeId(this), buttonSymbols.value()); } @QtUninvokable private native void setButtonSymbols_native_cref_QAbstractSpinBox_ButtonSymbols(long __this__nativeId, int buttonSymbols); /** *

The type of button symbols to draw for the spin box

*

See QStyleOptionSpinBox::buttonSymbols

*/ @QtUninvokable public final io.qt.widgets.QAbstractSpinBox.@NonNull ButtonSymbols buttonSymbols(){ return io.qt.widgets.QAbstractSpinBox.ButtonSymbols.resolve(buttonSymbols_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int buttonSymbols_native(long __this__nativeId); /** *

Whether the spin box has a frame

*

See QStyleOptionSpinBox::frame

*/ @QtUninvokable public final void setFrame(boolean frame){ setFrame_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), frame); } @QtUninvokable private native void setFrame_native_bool(long __this__nativeId, boolean frame); /** *

Whether the spin box has a frame

*

See QStyleOptionSpinBox::frame

*/ @QtUninvokable public final boolean frame(){ return frame_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean frame_native(long __this__nativeId); /** *

Which buttons of the spin box that are enabled

*

See QStyleOptionSpinBox::stepEnabled

*/ @QtUninvokable public final void setStepEnabled(io.qt.widgets.QAbstractSpinBox.@NonNull StepEnabled stepEnabled){ setStepEnabled_native_cref_QAbstractSpinBox_StepEnabled(QtJambi_LibraryUtilities.internal.nativeId(this), stepEnabled.value()); } @QtUninvokable private native void setStepEnabled_native_cref_QAbstractSpinBox_StepEnabled(long __this__nativeId, int stepEnabled); /** *

Which buttons of the spin box that are enabled

*

See QStyleOptionSpinBox::stepEnabled

*/ @QtUninvokable public final io.qt.widgets.QAbstractSpinBox.@NonNull StepEnabled stepEnabled(){ return new io.qt.widgets.QAbstractSpinBox.StepEnabled(stepEnabled_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int stepEnabled_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QStyleOptionSpinBox(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QStyleOptionSpinBox::QStyleOptionSpinBox(QStyleOptionSpinBox)

*/ @QtUninvokable @Override public QStyleOptionSpinBox clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QStyleOptionSpinBox clone_native(long __this_nativeId); /** * @deprecated Use {@link #assign(io.qt.widgets.QStyleOptionSpinBox)} instead. */ @Deprecated @QtUninvokable public final void set(io.qt.widgets.@NonNull QStyleOptionSpinBox arg__1) { assign(arg__1); } /** * @hidden *

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

*/ @QtUninvokable public final io.qt.widgets.QAbstractSpinBox.@NonNull ButtonSymbols getButtonSymbols() { return buttonSymbols(); } /** * @hidden *

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

*/ @QtUninvokable public final boolean getFrame() { return frame(); } /** *

Overloaded function for {@link #setStepEnabled(io.qt.widgets.QAbstractSpinBox.StepEnabled)}.

*/ @QtUninvokable public final void setStepEnabled(io.qt.widgets.QAbstractSpinBox.@NonNull StepEnabledFlag @NonNull... stepEnabled) { setStepEnabled(new io.qt.widgets.QAbstractSpinBox.StepEnabled(stepEnabled)); } /** * @hidden *

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

*/ @QtUninvokable public final io.qt.widgets.QAbstractSpinBox.@NonNull StepEnabled getStepEnabled() { return stepEnabled(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy