#include <actions.h>
Inheritance diagram for SliderAction::
Public Slots | |
void | setValue (int num) |
void | setTickInterval (int ticks) |
void | setOrientation (Orientation o) |
void | dockChange (QDockWindow *) |
Signals | |
void | valueChanged (int) |
Public Methods | |
SliderAction (int min, int max, int step, int val, const QString &text, QObject *parent=0, const char *name=0) | |
virtual int | plug (QWidget *widget, int index=-1) |
virtual void | unplug (QWidget *widget) |
QSlider * | widget () const |
int | value () const |
virtual QSlider * | createWidget (QWidget *parent, const char *name=0) |
Protected Slots | |
void | setValueInternal (int num) |
void | setInverseInternal (int num) |
Applications can use this class to add a QSlider widget to their toolbars (eg. a volume control).
|
Returns a pointer to the QSlider object.
|
|
Returns the current value of the slider.
|
|
A factory method that creates the QSlider object.
|
|
Sets the value of the slider to the specified value.
|
|
Sets the interval between the tickmarks of the slider. QSlider::setTickInteral(int) |
|
Sets the orientation of the slider.
|
|
Sets the orientation of the slider.
|
|
Emitted when the value of the slider is changed. Note the orientation of the slider is automatically accounted for when this signal is emitted. |
|
Sets the value of the slider action and emits QSlider::setValue(int) |
|
Same as above except it inverts the given value and calls setValue(int) |