java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionComplex
io.qt.widgets.QStyleOptionSpinBox
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QStyleOptionSpinBox extends QStyleOptionComplex implements Cloneable
Used to describe the parameters necessary for drawing a spin box
Java wrapper for Qt class QStyleOptionSpinBox
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QStyleOptionSpinBox()
protected
QStyleOptionSpinBox(QtObject.QPrivateConstructor p)
Constructor for internal use only.QStyleOptionSpinBox(QStyleOptionSpinBox other)
-
Method Summary
Modifier and Type Method Description QAbstractSpinBox.ButtonSymbols
buttonSymbols()
The type of button symbols to draw for the spin boxQStyleOptionSpinBox
clone()
boolean
frame()
Whether the spin box has a framevoid
set(QStyleOptionSpinBox arg__1)
void
setButtonSymbols(QAbstractSpinBox.ButtonSymbols buttonSymbols)
The type of button symbols to draw for the spin boxvoid
setFrame(boolean frame)
Whether the spin box has a framevoid
setStepEnabled(QAbstractSpinBox.StepEnabled stepEnabled)
Which buttons of the spin box that are enabledvoid
setStepEnabled(QAbstractSpinBox.StepEnabledFlag... stepEnabled)
Overloaded function forsetStepEnabled(io.qt.widgets.QAbstractSpinBox.StepEnabled)
.QAbstractSpinBox.StepEnabled
stepEnabled()
Which buttons of the spin box that are enabledMethods inherited from class io.qt.widgets.QStyleOptionComplex
activeSubControls, set, setActiveSubControls, setSubControls, subControls
Methods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, init, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
-
Constructor Details
-
QStyleOptionSpinBox
public QStyleOptionSpinBox() -
QStyleOptionSpinBox
-
QStyleOptionSpinBox
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setButtonSymbols
The type of button symbols to draw for the spin box
See QStyleOptionSpinBox::setButtonSymbols(QAbstractSpinBox::ButtonSymbols buttonSymbols)
-
buttonSymbols
The type of button symbols to draw for the spin box
-
setStepEnabled
Overloaded function for
setStepEnabled(io.qt.widgets.QAbstractSpinBox.StepEnabled)
. -
setStepEnabled
Which buttons of the spin box that are enabled
See QStyleOptionSpinBox::setStepEnabled(QFlags<QAbstractSpinBox::StepEnabledFlag> stepEnabled)
-
stepEnabled
Which buttons of the spin box that are enabled
-
setFrame
Whether the spin box has a frame
-
frame
Whether the spin box has a frame
-
clone
- Overrides:
clone
in classQStyleOptionComplex
-