Slider Class Reference
#include <slider.h>
Inherits TQSlider.
Public Member Functions | |
Slider (TQWidget *parent=0, const char *name=0) | |
Slider (TQt::Orientation orient, TQWidget *parent=0, const char *name=0) | |
Slider (int minValue, int maxValue, int pageStep, int value, TQt::Orientation orient, TQWidget *parent=0, const char *name=0) | |
bool | isReadOnly () const |
virtual void | setReadOnly (bool readOnly) |
Detailed Description
A TQSlider with read-only option.
The Slider class is a TQSlider with a read-only option.
The widget may be set as read-only. This has the same effect as disabling it, except that its appearance is unchanged.
Constructor & Destructor Documentation
◆ Slider() [1/3]
|
explicit |
Constructor.
- Parameters
-
parent The parent object of this widget. name The name of this widget.
Definition at line 24 of file slider.cpp.
◆ Slider() [2/3]
|
explicit |
Constructor.
- Parameters
-
orient The orientation of the slider, either TQt::Horizonal or TQt::Vertical. parent The parent object of this widget. name The name of this widget.
Definition at line 29 of file slider.cpp.
◆ Slider() [3/3]
Slider::Slider | ( | int | minValue, |
int | maxValue, | ||
int | pageStep, | ||
int | value, | ||
TQt::Orientation | orient, | ||
TQWidget * | parent = 0 , |
||
const char * | name = 0 |
||
) |
Constructor.
- Parameters
-
minValue The minimum value which the slider can have. maxValue The maximum value which the slider can have. pageStep The page step increment. value The initial value for the slider. orient The orientation of the slider, either TQt::Horizonal or TQt::Vertical. parent The parent object of this widget. name The name of this widget.
Definition at line 34 of file slider.cpp.
Member Function Documentation
◆ isReadOnly()
|
inline |
◆ setReadOnly()
|
virtual |
Sets whether the slider is read-only for the user.
- Parameters
-
readOnly True to set the widget read-only, false to set it read-write.
Definition at line 43 of file slider.cpp.
The documentation for this class was generated from the following files: