* Adds base template for new docs site * Adds Apis to docs * add some css from rn * Fix right side sidebar functionality * Basic docs * adds old docs * Cleans up unnecessary files * Chane links * Adds docusaurus v2 * Styling fixes * adds wip and new assets * adds code image * Add FAQ link * Adds analytics * adds cname * cleanup blogs
3.0 KiB
| sidebar_label | title |
|---|---|
| QAbstractSlider | QAbstractSlider |
Abstract class to add functionalities common to all slider based widgets.
This class implements all methods, properties of Qt's QAbstractSlider class so that it can be inherited by all slider based widgets
QAbstractSlider is an abstract class and hence no instances of the same should be created. It exists so that we can add similar functionalities to all slider widget's easily. If you wish to create a slider use QDial instead.
QAbstractSlider is the base class for all widgets. It inherits from another abstract class NodeWidget
QAbstractSlider will list all methods and properties that are common to all slider widgets in the NodeGui world.
Static Methods
QAbstractSlider can access all the static methods defined in NodeWidget
Instance Properties
QAbstractSlider can access all the instance properties defined in NodeWidget
Instance Methods
QAbstractSlider can access all the instance methods defined in NodeWidget
Additionally it also has the following instance methods:
widget.setSingleStep(step)
Sets the step value for user arrow key slider interaction. It calls the native method QAbstractSlider: setSingleStep.
stepnumber - Specified single step value.
widget.setMaximum(maximum)
Sets the maximum value for slider. It calls the native method QAbstractSlider: setMaximum.
maximumnumber - Specified maximum slider value.
widget.setMinimum(minimum)
Sets the minimum value for slider. It calls the native method QAbstractSlider: setMinimum.
minimumnumber - Specified minimum slider value.
widget.setValue(value)
Sets the current value for slider. It calls the native method QAbstractSlider: setValue.
valuenumber - Specified current slider value.
widget.setOrientation(orientation)
Sets the current orientation for slider. It calls the native method QAbstractSlider: setOrientation.
orientationOrientation - Specifies visual orientation of the slider. Orientation is an enum from Qt
slider.maximum()
Returns the maximum value (Number) of the slider. It calls the native method QAbstractSlider: maximum.
slider.minimum()
Returns the minimum value (Number) of the slider. It calls the native method QAbstractSlider: minimum.
slider.value()
Returns the current value (Number) of the slider. It calls the native method QAbstractSlider: value.