#include <slider.h>
Inherits TQSlider.
|
| 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) |
|
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.
- Author
- David Jarvie softw.nosp@m.are@.nosp@m.astro.nosp@m.jar..nosp@m.org.u.nosp@m.k
Definition at line 37 of file slider.h.
◆ Slider() [1/3]
Slider::Slider |
( |
TQWidget * |
parent = 0 , |
|
|
const char * |
name = 0 |
|
) |
| |
|
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]
Slider::Slider |
( |
TQt::Orientation |
orient, |
|
|
TQWidget * |
parent = 0 , |
|
|
const char * |
name = 0 |
|
) |
| |
|
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.
◆ isReadOnly()
bool Slider::isReadOnly |
( |
| ) |
const |
|
inline |
Returns true if the slider is read only.
Definition at line 66 of file slider.h.
◆ keyPressEvent()
void Slider::keyPressEvent |
( |
TQKeyEvent * |
e | ) |
|
|
protectedvirtual |
◆ keyReleaseEvent()
void Slider::keyReleaseEvent |
( |
TQKeyEvent * |
e | ) |
|
|
protectedvirtual |
◆ mouseMoveEvent()
void Slider::mouseMoveEvent |
( |
TQMouseEvent * |
e | ) |
|
|
protectedvirtual |
◆ mousePressEvent()
void Slider::mousePressEvent |
( |
TQMouseEvent * |
e | ) |
|
|
protectedvirtual |
◆ mouseReleaseEvent()
void Slider::mouseReleaseEvent |
( |
TQMouseEvent * |
e | ) |
|
|
protectedvirtual |
◆ setReadOnly()
void Slider::setReadOnly |
( |
bool |
readOnly | ) |
|
|
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:
|