Script
|
Simplified slider widget. More...
#include <qswidget.h>
Public Slots | |
void | valueChanged (int value) |
set the value in the slider, triggering the callback | |
Public Member Functions | |
QString | orientation () const |
void | setOrientation (const QString &o) |
int | value () const |
void | setValue (int v) |
int | minimum () const |
void | setMinimum (int m) |
int | maximum () const |
void | setMaximum (int m) |
QString | callback () const |
void | setCallback (const QString &s) |
Slider (SCR_ScriptEngine *engine) | |
Public Attributes | |
QLabel * | labelWidget |
QSlider * | sliderWidget |
QString | callbackString |
Properties | |
int | value |
value of the slider | |
int | minimum |
minimum value of the slider | |
int | maximum |
maximum value of the slider | |
QString | orientation |
horizontal or vertical | |
QString | callback |
use this to assign the name of another function. This function will be triggered automatically when the slider value is modified | |
Private Attributes | |
SCR_ScriptEngine * | _engine |
Simplified slider widget.
Slider::Slider | ( | SCR_ScriptEngine * | engine | ) |
|
inline |
|
inline |
|
inline |
QString Slider::orientation | ( | ) | const |
|
inline |
void Slider::setMaximum | ( | int | m | ) |
void Slider::setMinimum | ( | int | m | ) |
void Slider::setOrientation | ( | const QString & | o | ) |
void Slider::setValue | ( | int | v | ) |
|
inline |
|
slot |
set the value in the slider, triggering the callback
|
private |
QString Slider::callbackString |
QLabel* Slider::labelWidget |
QSlider* Slider::sliderWidget |
|
readwrite |
use this to assign the name of another function. This function will be triggered automatically when the slider value is modified
|
readwrite |
maximum value of the slider
|
readwrite |
minimum value of the slider
|
readwrite |
horizontal or vertical
|
readwrite |
value of the slider