- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QStyleOptionSlider extends QStyleOptionComplex implements Cloneable
Used to describe the parameters needed for drawing a slider
Java wrapper for Qt class QStyleOptionSlider
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QStyleOptionSlider()
protected
QStyleOptionSlider(QtObject.QPrivateConstructor p)
Constructor for internal use only.QStyleOptionSlider(QStyleOptionSlider other)
-
Method Summary
Modifier and Type Method Description QStyleOptionSlider
clone()
boolean
dialWrapping()
Whether the dial should wrap or notQt.KeyboardModifiers
keyboardModifiers()
int
maximum()
The maximum value for the sliderint
minimum()
The minimum value for the sliderdouble
notchTarget()
The number of pixel between notchesQt.Orientation
orientation()
The slider's orientation (horizontal or vertical)int
pageStep()
The size of the page step of the slidervoid
set(QStyleOptionSlider arg__1)
void
setDialWrapping(boolean dialWrapping)
Whether the dial should wrap or notvoid
setKeyboardModifiers(Qt.KeyboardModifier... keyboardModifiers)
Overloaded function forsetKeyboardModifiers(io.qt.core.Qt.KeyboardModifiers)
.void
setKeyboardModifiers(Qt.KeyboardModifiers keyboardModifiers)
void
setMaximum(int maximum)
The maximum value for the slidervoid
setMinimum(int minimum)
The minimum value for the slidervoid
setNotchTarget(double notchTarget)
The number of pixel between notchesvoid
setOrientation(Qt.Orientation orientation)
The slider's orientation (horizontal or vertical)void
setPageStep(int pageStep)
The size of the page step of the slidervoid
setSingleStep(int singleStep)
The size of the single step of the slidervoid
setSliderPosition(int sliderPosition)
The position of the slider handlevoid
setSliderValue(int sliderValue)
The value of the slidervoid
setTickInterval(int tickInterval)
The interval that should be drawn between tick marksvoid
setTickPosition(QSlider.TickPosition tickPosition)
The position of the slider's tick marks, if anyvoid
setUpsideDown(boolean upsideDown)
The slider control orientationint
singleStep()
The size of the single step of the sliderint
sliderPosition()
The position of the slider handleint
sliderValue()
The value of the sliderint
tickInterval()
The interval that should be drawn between tick marksQSlider.TickPosition
tickPosition()
The position of the slider's tick marks, if anyboolean
upsideDown()
The slider control orientationMethods inherited from class io.qt.widgets.QStyleOptionComplex
activeSubControls, set, setActiveSubControls, setSubControls, subControls
Methods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
-
Constructor Details
-
QStyleOptionSlider
public QStyleOptionSlider() -
QStyleOptionSlider
-
QStyleOptionSlider
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setDialWrapping
Whether the dial should wrap or not
-
dialWrapping
Whether the dial should wrap or not
-
setKeyboardModifiers
Overloaded function for
setKeyboardModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setKeyboardModifiers
-
keyboardModifiers
-
setMaximum
The maximum value for the slider
-
maximum
The maximum value for the slider
-
setMinimum
The minimum value for the slider
-
minimum
The minimum value for the slider
-
setNotchTarget
The number of pixel between notches
-
notchTarget
The number of pixel between notches
-
setOrientation
The slider's orientation (horizontal or vertical)
-
orientation
The slider's orientation (horizontal or vertical)
-
setPageStep
The size of the page step of the slider
-
pageStep
The size of the page step of the slider
-
setSingleStep
The size of the single step of the slider
-
singleStep
The size of the single step of the slider
-
setSliderPosition
The position of the slider handle
-
sliderPosition
The position of the slider handle
-
setSliderValue
The value of the slider
-
sliderValue
The value of the slider
-
setTickInterval
The interval that should be drawn between tick marks
-
tickInterval
The interval that should be drawn between tick marks
-
setTickPosition
The position of the slider's tick marks, if any
-
tickPosition
The position of the slider's tick marks, if any
-
setUpsideDown
The slider control orientation
-
upsideDown
The slider control orientation
-
clone
- Overrides:
clone
in classQStyleOptionComplex
-