Public Types | |
| enum | TickPosition { NoMarks = 0, Above = 1, Left = Above, Below = 2, Right = Below, Both = 3 } |
| enum | Orientation { Horizontal, Vertical } |
Public Member Functions | |
| uiSlider (uiParent *, const char *nm="Slider", int nrdec=0, bool log=false, bool vert=false) | |
| ~uiSlider () | |
| void | setText (const char *) |
| const char * | text () const |
| void | setValue (float) |
| int | getIntValue () const |
| float | getValue () const |
| void | setMinValue (float) |
| float | minValue () const |
| void | setMaxValue (float) |
| float | maxValue () const |
| void | setStep (float) |
| void | setScale (float fact, float constant) |
| float | step () const |
| void | setInterval (const StepInterval< float > &) |
| void | getInterval (StepInterval< float > &) const |
| void | setLinearScale (double, double) |
| void | setTickMarks (TickPosition) |
| TickPosition | tickMarks () const |
| void | setTickStep (int) |
| int | tickStep () const |
| void | setOrientation (Orientation) |
| uiSlider::Orientation | getOrientation () const |
| void | setInverted (bool) |
| bool | isInverted () const |
| void | setInvertedControls (bool) |
| bool | hasInvertedControls () const |
| bool | isLogScale () |
| float | getLinearFraction () const |
| void | setLinearFraction (float fraction) |
Public Attributes | |
| Notifier< uiSlider > | valueChanged |
| Notifier< uiSlider > | sliderMoved |
| Notifier< uiSlider > | sliderPressed |
| Notifier< uiSlider > | sliderReleased |
Private Member Functions | |
| uiSliderBody & | mkbody (uiParent *, const char *) |
| void | sliderMove (CallBacker *) |
| float | userValue (int) const |
| int | sliderValue (float) const |
Private Attributes | |
| BufferString | result |
| LinScaler * | scaler_ |
| bool | logscale |
| uiSliderBody * | body_ |
| uiSlider::uiSlider | ( | uiParent * | , | |
| const char * | nm = "Slider", |
|||
| int | nrdec = 0, |
|||
| bool | log = false, |
|||
| bool | vert = false | |||
| ) |
| uiSlider::~uiSlider | ( | ) |
| void uiSlider::getInterval | ( | StepInterval< float > & | ) | const |
| int uiSlider::getIntValue | ( | ) | const |
| float uiSlider::getLinearFraction | ( | ) | const |
| uiSlider::Orientation uiSlider::getOrientation | ( | ) | const |
| float uiSlider::getValue | ( | ) | const |
| bool uiSlider::hasInvertedControls | ( | ) | const |
| bool uiSlider::isInverted | ( | ) | const |
| bool uiSlider::isLogScale | ( | ) | [inline] |
| float uiSlider::maxValue | ( | ) | const |
| float uiSlider::minValue | ( | ) | const |
| uiSliderBody& uiSlider::mkbody | ( | uiParent * | , | |
| const char * | ||||
| ) | [private] |
| void uiSlider::setInterval | ( | const StepInterval< float > & | ) |
| void uiSlider::setInverted | ( | bool | ) |
| void uiSlider::setInvertedControls | ( | bool | ) |
| void uiSlider::setLinearFraction | ( | float | fraction | ) |
| void uiSlider::setLinearScale | ( | double | , | |
| double | ||||
| ) |
| void uiSlider::setMaxValue | ( | float | ) |
| void uiSlider::setMinValue | ( | float | ) |
| void uiSlider::setOrientation | ( | Orientation | ) |
| void uiSlider::setScale | ( | float | fact, | |
| float | constant | |||
| ) |
| void uiSlider::setStep | ( | float | ) |
| void uiSlider::setText | ( | const char * | ) |
| void uiSlider::setTickMarks | ( | TickPosition | ) |
| void uiSlider::setTickStep | ( | int | ) |
| void uiSlider::setValue | ( | float | ) |
| void uiSlider::sliderMove | ( | CallBacker * | ) | [private] |
| int uiSlider::sliderValue | ( | float | ) | const [private] |
| float uiSlider::step | ( | ) | const |
| const char* uiSlider::text | ( | ) | const |
| TickPosition uiSlider::tickMarks | ( | ) | const |
| int uiSlider::tickStep | ( | ) | const |
| float uiSlider::userValue | ( | int | ) | const [private] |
uiSliderBody* uiSlider::body_ [private] |
Reimplemented from uiBaseObject.
bool uiSlider::logscale [private] |
BufferString uiSlider::result [mutable, private] |
LinScaler* uiSlider::scaler_ [private] |
1.7.1