PythonQt.QtGui.QAbstractSlider · declarations 001
Back to PythonQt.QtGui.QAbstractSlider
SliderAction
instance-attribute
SliderAction: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
SliderChange
instance-attribute
SliderChange: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
SliderMove
instance-attribute
SliderMove: Any
SliderNoAction
instance-attribute
SliderNoAction: Any
SliderOrientationChange
instance-attribute
SliderOrientationChange: Any
SliderPageStepAdd
instance-attribute
SliderPageStepAdd: Any
SliderPageStepSub
instance-attribute
SliderPageStepSub: Any
SliderRangeChange
instance-attribute
SliderRangeChange: Any
SliderSingleStepAdd
instance-attribute
SliderSingleStepAdd: Any
SliderSingleStepSub
instance-attribute
SliderSingleStepSub: Any
SliderStepsChange
instance-attribute
SliderStepsChange: Any
SliderToMaximum
instance-attribute
SliderToMaximum: Any
SliderToMinimum
instance-attribute
SliderToMinimum: Any
SliderValueChange
instance-attribute
SliderValueChange: Any
actionTriggered
actionTriggered(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QAbstractSlider.actionTriggered; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QAbstractSlider::actionTriggered(int action)
This signal is emitted when the slider action action is triggered. Actions are SliderSingleStepAdd, SliderSingleStepSub, SliderPageStepAdd, SliderPageStepSub, SliderToMinimum, SliderToMaximum, and SliderMove.
When the signal is emitted, the sliderPosition has been adjusted according to the action, but the value has not yet been propagated (meaning the valueChanged() signal was not yet emitted), and the visual display has not been updated. In slots connected to this signal you can thus safely adjust any action by calling setSliderPosition() yourself, based on both the action and the slider's value.
See also triggerAction().
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#actionTriggered
changeEvent
changeEvent(e: Any) -> None
X.changeEvent(e)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QAbstractSlider::changeEvent(QEvent *ev)
Reimplements: QWidget::changeEvent(QEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
changeEvent(self, e: PySide2.QtCore.QEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#changeEvent
customContextMenuRequested
customContextMenuRequested(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QAbstractSlider.customContextMenuRequested; argument details are not documented.
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QAbstractSlider.destroyed; argument details are not documented.
event
event(e: Any) -> bool
X.event(e) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual protected] bool QAbstractSlider::event(QEvent *e)
Reimplements: QWidget::event(QEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
event(self, e: PySide2.QtCore.QEvent) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#event
hasTracking
hasTracking() -> bool
X.hasTracking() -> bool
Upstream PySide2 reference signatures (binding differences may apply):
hasTracking(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#hasTracking
invertedAppearance
instance-attribute
invertedAppearance: bool
Qt 5 reference:
invertedAppearance : bool
This property holds whether or not a slider shows its values inverted.
If this property is false (the default), the minimum and maximum will be shown in its
classic position for the inherited widget. If the value is true, the minimum and maximum
appear at their opposite location.
Note: This property makes most sense for sliders and dials. For scroll bars, the visual effect of the scroll bar subcontrols depends on whether or not the styles understand inverted appearance; most styles ignore this property for scroll bars.
Access functions:
| bool | invertedAppearance() const |
|---|---|
| void | setInvertedAppearance(bool) |
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#invertedAppearance
invertedControls
instance-attribute
invertedControls: bool
Qt 5 reference:
invertedControls : bool
This property holds whether or not the slider inverts its wheel and key events.
If this property is false, scrolling the mouse wheel "up" and using keys like page up
will increase the slider's value towards its maximum. Otherwise pressing page up will
move value towards the slider's minimum.
Access functions:
| bool | invertedControls() const |
|---|---|
| void | setInvertedControls(bool) |
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#invertedControls
isSliderDown
isSliderDown() -> bool
X.isSliderDown() -> bool
Upstream PySide2 reference signatures (binding differences may apply):
isSliderDown(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#isSliderDown
keyPressEvent
keyPressEvent(ev: Any) -> None
X.keyPressEvent(ev)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QAbstractSlider::keyPressEvent(QKeyEvent *ev)
Reimplements: QWidget::keyPressEvent(QKeyEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
keyPressEvent(self, ev: PySide2.QtGui.QKeyEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#keyPressEvent
maximum
instance-attribute
maximum: int
Qt 5 reference:
maximum : int
This property holds the slider's maximum value
When setting this property, the minimum is adjusted if necessary to ensure that the range remains valid. Also the slider's current value is adjusted to be within the new range.
Access functions:
| int | maximum() const |
|---|---|
| void | setMaximum(int) |
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#maximum
minimum
instance-attribute
minimum: int
Qt 5 reference:
minimum : int
This property holds the sliders's minimum value
When setting this property, the maximum is adjusted if necessary to ensure that the range remains valid. Also the slider's current value is adjusted to be within the new range.
Access functions:
| int | minimum() const |
|---|---|
| void | setMinimum(int) |
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#minimum
objectNameChanged
objectNameChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QAbstractSlider.objectNameChanged; argument details are not documented.
orientation
instance-attribute
orientation: Any
Qt 5 reference:
orientation : Qt::Orientation
This property holds the orientation of the slider
The orientation must be Qt::Vertical (the default) or Qt::Horizontal.
Access functions:
| Qt::Orientation | orientation() const |
|---|---|
| void | setOrientation(Qt::Orientation) |
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#orientation
pageStep
instance-attribute
pageStep: int
Qt 5 reference:
pageStep : int
This property holds the page step.
The larger of two natural steps that an abstract slider provides and typically corresponds to the user pressing PageUp or PageDown.
Access functions:
| int | pageStep() const |
|---|---|
| void | setPageStep(int) |
See also singleStep.
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#pageStep
rangeChanged
rangeChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QAbstractSlider.rangeChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QAbstractSlider::rangeChanged(int min, int max)
This signal is emitted when the slider range has changed, with min being the new minimum, and max being the new maximum.
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#rangeChanged
repeatAction
repeatAction() -> Any
X.repeatAction()
Supplemental documentation: Qt 5 reference:
[protected] QAbstractSlider::SliderAction QAbstractSlider::repeatAction() const
Returns the current repeat action.
See also setRepeatAction().
Upstream PySide2 reference signatures (binding differences may apply):
repeatAction(self) -> PySide2.QtWidgets.QAbstractSlider.SliderAction
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#repeatAction
setInvertedAppearance
setInvertedAppearance(arg__1: bool) -> None
X.setInvertedAppearance(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
setInvertedAppearance(self, arg__1: bool) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#setInvertedAppearance
setInvertedControls
setInvertedControls(arg__1: bool) -> None
X.setInvertedControls(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
setInvertedControls(self, arg__1: bool) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#setInvertedControls
setMaximum
setMaximum(arg__1: int) -> None
X.setMaximum(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
setMaximum(self, arg__1: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#setMaximum
setMinimum
setMinimum(arg__1: int) -> None
X.setMinimum(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
setMinimum(self, arg__1: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#setMinimum
setOrientation
setOrientation(a: Any) -> None
X.setOrientation(a)
Upstream PySide2 reference signatures (binding differences may apply):
setOrientation(self, arg__1: PySide2.QtCore.Qt.Orientation) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#setOrientation
setPageStep
setPageStep(arg__1: int) -> None
X.setPageStep(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
setPageStep(self, arg__1: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#setPageStep
setRange
setRange(min: int, max: int) -> None
X.setRange(min, max)
Supplemental documentation: Qt 5 reference:
[slot] void QAbstractSlider::setRange(int min, int max)
Sets the slider's minimum to min and its maximum to max.
If max is smaller than min, min becomes the only legal value.
Upstream PySide2 reference signatures (binding differences may apply):
setRange(self, min: int, max: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#setRange
setRepeatAction
setRepeatAction(action: Any, thresholdTime: int, repeatTime: int) -> None
X.setRepeatAction(action, thresholdTime, repeatTime)
Supplemental documentation: Qt 5 reference:
[protected] void QAbstractSlider::setRepeatAction(QAbstractSlider::SliderAction action, int thresholdTime \= 500, int repeatTime \= 50)
Sets action action to be triggered repetitively in intervals of repeatTime, after an initial delay of thresholdTime.
See also triggerAction() and repeatAction().
Upstream PySide2 reference signatures (binding differences may apply):
setRepeatAction(self, action: PySide2.QtWidgets.QAbstractSlider.SliderAction, thresholdTime: int=..., repeatTime: int=...) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#setRepeatAction
setSingleStep
setSingleStep(arg__1: int) -> None
X.setSingleStep(arg__1)
Upstream PySide2 reference signatures (binding differences may apply):
setSingleStep(self, arg__1: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractslider.html#setSingleStep