PythonQt.QtGui.QSlider · declarations 001
Back to PythonQt.QtGui.QSlider
NoTicks
instance-attribute
NoTicks: Any
TickPosition
instance-attribute
TickPosition: 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
TicksAbove
instance-attribute
TicksAbove: Any
TicksBelow
instance-attribute
TicksBelow: Any
TicksBothSides
instance-attribute
TicksBothSides: Any
TicksLeft
instance-attribute
TicksLeft: Any
TicksRight
instance-attribute
TicksRight: Any
actionTriggered
actionTriggered(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QSlider.actionTriggered; argument details are not documented.
customContextMenuRequested
customContextMenuRequested(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QSlider.customContextMenuRequested; argument details are not documented.
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QSlider.destroyed; argument details are not documented.
event
event(event: Any) -> bool
X.event(event) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual] bool QSlider::event(QEvent *event)
Reimplements: QAbstractSlider::event(QEvent *e).
Upstream PySide2 reference signatures (binding differences may apply):
event(self, event: PySide2.QtCore.QEvent) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qslider.html#event
initStyleOption
initStyleOption(option: Any) -> None
X.initStyleOption(option)
Supplemental documentation: Qt 5 reference:
[protected] void QSlider::initStyleOption(QStyleOptionSlider *option) const
Initialize option with the values from this QSlider. This method is useful for subclasses when they need a QStyleOptionSlider, but don't want to fill in all the information themselves.
See also QStyleOption::initFrom().
Upstream PySide2 reference signatures (binding differences may apply):
initStyleOption(self, option: PySide2.QtWidgets.QStyleOptionSlider) -> None
Source: https://doc.qt.io/archives/qt-5.15/qslider.html#initStyleOption
minimumSizeHint
instance-attribute
minimumSizeHint: QSize
Qt 5 reference:
[override virtual] QSize QSlider::minimumSizeHint() const
Reimplements an access function for property: QWidget::minimumSizeHint.
Source: https://doc.qt.io/archives/qt-5.15/qslider.html#minimumSizeHint
mouseMoveEvent
mouseMoveEvent(ev: Any) -> None
X.mouseMoveEvent(ev)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QSlider::mouseMoveEvent(QMouseEvent *ev)
Reimplements: QWidget::mouseMoveEvent(QMouseEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
mouseMoveEvent(self, ev: PySide2.QtGui.QMouseEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qslider.html#mouseMoveEvent
mousePressEvent
mousePressEvent(ev: Any) -> None
X.mousePressEvent(ev)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QSlider::mousePressEvent(QMouseEvent *ev)
Reimplements: QWidget::mousePressEvent(QMouseEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
mousePressEvent(self, ev: PySide2.QtGui.QMouseEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qslider.html#mousePressEvent
mouseReleaseEvent
mouseReleaseEvent(ev: Any) -> None
X.mouseReleaseEvent(ev)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QSlider::mouseReleaseEvent(QMouseEvent *ev)
Reimplements: QWidget::mouseReleaseEvent(QMouseEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
mouseReleaseEvent(self, ev: PySide2.QtGui.QMouseEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qslider.html#mouseReleaseEvent
objectNameChanged
objectNameChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QSlider.objectNameChanged; argument details are not documented.
paintEvent
paintEvent(ev: Any) -> None
X.paintEvent(ev)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QSlider::paintEvent(QPaintEvent *ev)
Reimplements: QWidget::paintEvent(QPaintEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
paintEvent(self, ev: PySide2.QtGui.QPaintEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qslider.html#paintEvent
rangeChanged
rangeChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QSlider.rangeChanged; argument details are not documented.
setTickInterval
setTickInterval(ti: int) -> None
X.setTickInterval(ti)
Upstream PySide2 reference signatures (binding differences may apply):
setTickInterval(self, ti: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qslider.html#setTickInterval
setTickPosition
setTickPosition(position: Any) -> None
X.setTickPosition(position)
Upstream PySide2 reference signatures (binding differences may apply):
setTickPosition(self, position: PySide2.QtWidgets.QSlider.TickPosition) -> None
Source: https://doc.qt.io/archives/qt-5.15/qslider.html#setTickPosition
sizeHint
instance-attribute
sizeHint: QSize
Qt 5 reference:
[override virtual] QSize QSlider::sizeHint() const
Reimplements an access function for property: QWidget::sizeHint.
Source: https://doc.qt.io/archives/qt-5.15/qslider.html#sizeHint
sliderChange
sliderChange(change: Any) -> Any
X.sliderChange(change)
sliderMoved
sliderMoved(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QSlider.sliderMoved; argument details are not documented.
sliderPressed
sliderPressed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QSlider.sliderPressed; argument details are not documented.
sliderReleased
sliderReleased(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QSlider.sliderReleased; argument details are not documented.
tickInterval
instance-attribute
tickInterval: int
Qt 5 reference:
tickInterval : int
This property holds the interval between tickmarks
This is a value interval, not a pixel interval. If it is 0, the slider will choose between singleStep and pageStep.
The default value is 0.
Access functions:
| int | tickInterval() const |
|---|---|
| void | setTickInterval(int ti) |
See also tickPosition, singleStep, and pageStep.
Source: https://doc.qt.io/archives/qt-5.15/qslider.html#tickInterval
tickPosition
instance-attribute
tickPosition: Any
Qt 5 reference:
tickPosition : TickPosition
This property holds the tickmark position for this slider
The valid values are described by the QSlider::TickPosition enum.
The default value is QSlider::NoTicks.
Access functions:
| QSlider::TickPosition | tickPosition() const |
|---|---|
| void | setTickPosition(QSlider::TickPosition position) |
See also tickInterval.
Source: https://doc.qt.io/archives/qt-5.15/qslider.html#tickPosition
valueChanged
valueChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QSlider.valueChanged; argument details are not documented.
windowIconChanged
windowIconChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QSlider.windowIconChanged; argument details are not documented.
windowIconTextChanged
windowIconTextChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QSlider.windowIconTextChanged; argument details are not documented.
windowTitleChanged
windowTitleChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QSlider.windowTitleChanged; argument details are not documented.