- All Implemented Interfaces:
QtObjectInterface,Cloneable
Used to describe the parameters needed for drawing a slider
Java wrapper for Qt class QStyleOptionSlider
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QStyleOptionSlider arg__1) SeeQStyleOptionSlider::operator=(QStyleOptionSlider) clone()Creates and returns a copy of this object.final booleanWhether the dial should wrap or notfinal Qt.KeyboardModifiersSeeQStyleOptionSlider::keyboardModifiers final intmaximum()The maximum value for the sliderfinal intminimum()The minimum value for the sliderfinal doubleThe number of pixel between notchesfinal Qt.OrientationThe slider's orientation (horizontal or vertical)final intpageStep()The size of the page step of the sliderfinal voidset(QStyleOptionSlider arg__1) Deprecated.final voidsetDialWrapping(boolean dialWrapping) Whether the dial should wrap or notfinal voidsetKeyboardModifiers(Qt.KeyboardModifier ... keyboardModifiers) Overloaded function forsetKeyboardModifiers(io.qt.core.Qt.KeyboardModifiers).final voidsetKeyboardModifiers(Qt.KeyboardModifiers keyboardModifiers) SeeQStyleOptionSlider::keyboardModifiers final voidsetMaximum(int maximum) The maximum value for the sliderfinal voidsetMinimum(int minimum) The minimum value for the sliderfinal voidsetNotchTarget(double notchTarget) The number of pixel between notchesfinal voidsetOrientation(Qt.Orientation orientation) The slider's orientation (horizontal or vertical)final voidsetPageStep(int pageStep) The size of the page step of the sliderfinal voidsetSingleStep(int singleStep) The size of the single step of the sliderfinal voidsetSliderPosition(int sliderPosition) The position of the slider handlefinal voidsetSliderValue(int sliderValue) The value of the sliderfinal voidsetTickInterval(int tickInterval) The interval that should be drawn between tick marksfinal voidsetTickPosition(QSlider.TickPosition tickPosition) The position of the slider's tick marks, if anyfinal voidsetUpsideDown(boolean upsideDown) The slider control orientationfinal intThe size of the single step of the sliderfinal intThe position of the slider handlefinal intThe value of the sliderfinal intThe interval that should be drawn between tick marksfinal QSlider.TickPositionThe position of the slider's tick marks, if anyfinal booleanThe slider control orientationMethods inherited from class io.qt.widgets.QStyleOptionComplex
activeSubControls, assign, set, setActiveSubControls, setActiveSubControls, setSubControls, setSubControls, subControlsMethods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toStringMethods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStyleOptionSlider
public QStyleOptionSlider() -
QStyleOptionSlider
- Parameters:
other-
-
-
Method Details
-
assign
See
QStyleOptionSlider::operator=(QStyleOptionSlider) - Parameters:
arg__1-
-
setDialWrapping
Whether the dial should wrap or not
- Parameters:
dialWrapping-
-
dialWrapping
Whether the dial should wrap or not
- Returns:
-
setKeyboardModifiers
See
QStyleOptionSlider::keyboardModifiers - Parameters:
keyboardModifiers-
-
keyboardModifiers
See
QStyleOptionSlider::keyboardModifiers - Returns:
-
setMaximum
The maximum value for the slider
- Parameters:
maximum-
-
maximum
The maximum value for the slider
- Returns:
-
setMinimum
The minimum value for the slider
- Parameters:
minimum-
-
minimum
The minimum value for the slider
- Returns:
-
setNotchTarget
The number of pixel between notches
- Parameters:
notchTarget-
-
notchTarget
The number of pixel between notches
- Returns:
-
setOrientation
The slider's orientation (horizontal or vertical)
- Parameters:
orientation-
-
orientation
The slider's orientation (horizontal or vertical)
- Returns:
-
setPageStep
The size of the page step of the slider
- Parameters:
pageStep-
-
pageStep
The size of the page step of the slider
- Returns:
-
setSingleStep
The size of the single step of the slider
- Parameters:
singleStep-
-
singleStep
The size of the single step of the slider
- Returns:
-
setSliderPosition
The position of the slider handle
- Parameters:
sliderPosition-
-
sliderPosition
The position of the slider handle
- Returns:
-
setSliderValue
The value of the slider
- Parameters:
sliderValue-
-
sliderValue
The value of the slider
- Returns:
-
setTickInterval
The interval that should be drawn between tick marks
- Parameters:
tickInterval-
-
tickInterval
The interval that should be drawn between tick marks
- Returns:
-
setTickPosition
The position of the slider's tick marks, if any
- Parameters:
tickPosition-
-
tickPosition
The position of the slider's tick marks, if any
- Returns:
-
setUpsideDown
The slider control orientation
- Parameters:
upsideDown-
-
upsideDown
The slider control orientation
- Returns:
-
clone
Creates and returns a copy of this object.
See
QStyleOptionSlider::QStyleOptionSlider(QStyleOptionSlider) - Overrides:
clonein classQStyleOptionComplex
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionSlider)instead. -
setKeyboardModifiers
Overloaded function for
setKeyboardModifiers(io.qt.core.Qt.KeyboardModifiers).
-
assign(io.qt.widgets.QStyleOptionSlider)instead.