- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters needed for drawing a slider
Java wrapper for Qt's class QStyleOptionSlider
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionSlider arg__1) clone()
final boolean
Whether the dial should wrap or notfinal boolean
Kotlin property getter.final Qt.KeyboardModifiers
Kotlin property getter.final int
Kotlin property getter.final int
Kotlin property getter.final double
Kotlin property getter.final Qt.Orientation
Kotlin property getter.final int
Kotlin property getter.final int
Kotlin property getter.final int
Kotlin property getter.final int
Kotlin property getter.final int
Kotlin property getter.final QSlider.TickPosition
Kotlin property getter.final boolean
Kotlin property getter.final Qt.KeyboardModifiers
final int
maximum()
The maximum value for the sliderfinal int
minimum()
The minimum value for the sliderfinal double
The number of pixel between notchesfinal Qt.Orientation
The slider's orientation (horizontal or vertical)final int
pageStep()
The size of the page step of the sliderfinal void
set
(QStyleOptionSlider arg__1) Deprecated.final void
setDialWrapping
(boolean dialWrapping) Whether the dial should wrap or notfinal void
setKeyboardModifiers
(Qt.KeyboardModifier ... keyboardModifiers) Overloaded function forsetKeyboardModifiers(io.qt.core.Qt.KeyboardModifiers)
.final void
setKeyboardModifiers
(Qt.KeyboardModifiers keyboardModifiers) final void
setMaximum
(int maximum) The maximum value for the sliderfinal void
setMinimum
(int minimum) The minimum value for the sliderfinal void
setNotchTarget
(double notchTarget) The number of pixel between notchesfinal void
setOrientation
(Qt.Orientation orientation) The slider's orientation (horizontal or vertical)final void
setPageStep
(int pageStep) The size of the page step of the sliderfinal void
setSingleStep
(int singleStep) The size of the single step of the sliderfinal void
setSliderPosition
(int sliderPosition) The position of the slider handlefinal void
setSliderValue
(int sliderValue) The value of the sliderfinal void
setTickInterval
(int tickInterval) The interval that should be drawn between tick marksfinal void
setTickPosition
(QSlider.TickPosition tickPosition) The position of the slider's tick marks, if anyfinal void
setUpsideDown
(boolean upsideDown) The slider control orientationfinal int
The size of the single step of the sliderfinal int
The position of the slider handlefinal int
The value of the sliderfinal int
The interval that should be drawn between tick marksfinal QSlider.TickPosition
The position of the slider's tick marks, if anyfinal boolean
The slider control orientationMethods inherited from class io.qt.widgets.QStyleOptionComplex
activeSubControls, assign, getActiveSubControls, getSubControls, set, setActiveSubControls, setActiveSubControls, setSubControls, setSubControls, subControls
Methods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, getDirection, getFontMetrics, getPalette, getRect, getState, getStyleObject, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStyleOptionSlider
public QStyleOptionSlider() -
QStyleOptionSlider
-
QStyleOptionSlider
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionSlider)
instead. -
assign
-
setDialWrapping
Whether the dial should wrap or not
-
getDialWrapping
Kotlin property getter. In Java use
dialWrapping()
instead. -
dialWrapping
Whether the dial should wrap or not
-
setKeyboardModifiers
Overloaded function for
setKeyboardModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setKeyboardModifiers
-
getKeyboardModifiers
Kotlin property getter. In Java use
keyboardModifiers()
instead. -
keyboardModifiers
-
setMaximum
The maximum value for the slider
-
getMaximum
Kotlin property getter. In Java use
maximum()
instead. -
maximum
The maximum value for the slider
-
setMinimum
The minimum value for the slider
-
getMinimum
Kotlin property getter. In Java use
minimum()
instead. -
minimum
The minimum value for the slider
-
setNotchTarget
The number of pixel between notches
-
getNotchTarget
Kotlin property getter. In Java use
notchTarget()
instead. -
notchTarget
The number of pixel between notches
-
setOrientation
The slider's orientation (horizontal or vertical)
-
getOrientation
Kotlin property getter. In Java use
orientation()
instead. -
orientation
The slider's orientation (horizontal or vertical)
-
setPageStep
The size of the page step of the slider
-
getPageStep
Kotlin property getter. In Java use
pageStep()
instead. -
pageStep
The size of the page step of the slider
-
setSingleStep
The size of the single step of the slider
-
getSingleStep
Kotlin property getter. In Java use
singleStep()
instead. -
singleStep
The size of the single step of the slider
-
setSliderPosition
The position of the slider handle
-
getSliderPosition
Kotlin property getter. In Java use
sliderPosition()
instead. -
sliderPosition
The position of the slider handle
-
setSliderValue
The value of the slider
-
getSliderValue
Kotlin property getter. In Java use
sliderValue()
instead. -
sliderValue
The value of the slider
-
setTickInterval
The interval that should be drawn between tick marks
-
getTickInterval
Kotlin property getter. In Java use
tickInterval()
instead. -
tickInterval
The interval that should be drawn between tick marks
-
setTickPosition
The position of the slider's tick marks, if any
-
getTickPosition
Kotlin property getter. In Java use
tickPosition()
instead. -
tickPosition
The position of the slider's tick marks, if any
-
setUpsideDown
The slider control orientation
-
getUpsideDown
Kotlin property getter. In Java use
upsideDown()
instead. -
upsideDown
The slider control orientation
-
clone
- Overrides:
clone
in classQStyleOptionComplex
-
assign(io.qt.widgets.QStyleOptionSlider)
instead.