![]() |
MAK Data Logger API Documentation for DIS
|
Represents a box within a slider. More...
Inheritance diagram for MAKLogger::DtSliderBox:
Collaboration diagram for MAKLogger::DtSliderBox:Public Types | |
| enum | BoxOrientation { Left, Center, Right } |
Public Slots | |
| void | setPosition (float position) |
| setLimits(PointF); More... | |
| void | setWidth (float width) |
| void | setHeight (float height) |
| void | setSelected (bool selected) |
| void | setPressed (bool selected) |
| void | setOrientation (BoxOrientation) |
| void | setPositionNoEmit (float position) |
Signals | |
| void | positionChanged (float) |
| void | widthChanged (float) |
| void | heightChanged (float) |
| void | selectedChanged (bool) |
| void | pressedChanged (bool) |
| void | orientationChanged (BoxOrientation) |
Public Member Functions | |
| DtSliderBox (DtSliderBar *bar, float position, float width, float height) | |
| CTOR. More... | |
| virtual | ~DtSliderBox () |
| DTOR. More... | |
| QRectF | bounds (QRectF viewport) const |
| Get the bounds using a viewport. More... | |
| bool | leftBox () const |
| public Accessors More... | |
| bool | rightBox () const |
| float | position () const |
| float | savedPosition () const |
| float | width () const |
| float | height () const |
| bool | selected () const |
| bool | pressed () const |
| DtSliderBar * | bar () |
| const DtSliderBar * | bar () const |
| BoxOrientation | orientation () const |
| void | savePosition () |
| void | setRelativePosition (float relPosition) |
| void | restorePosition () |
Protected Attributes | |
| float | myPosition |
| float | mySavedPosition |
| float | myWidth |
| float | myHeight |
| bool | mySelected |
| bool | myPressed |
| DtSliderBar * | myBar |
| BoxOrientation | myOrientation |
Represents a box within a slider.
| MAKLogger::DtSliderBox::DtSliderBox | ( | DtSliderBar * | bar, |
| float | position, | ||
| float | width, | ||
| float | height | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
inline |
|
inline |
| QRectF MAKLogger::DtSliderBox::bounds | ( | QRectF | viewport | ) | const |
Get the bounds using a viewport.
|
inline |
|
signal |
| bool MAKLogger::DtSliderBox::leftBox | ( | ) | const |
public Accessors
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
| void MAKLogger::DtSliderBox::restorePosition | ( | ) |
| bool MAKLogger::DtSliderBox::rightBox | ( | ) | const |
|
inline |
| void MAKLogger::DtSliderBox::savePosition | ( | ) |
|
inline |
|
signal |
|
slot |
|
slot |
|
slot |
setLimits(PointF);
|
slot |
|
slot |
| void MAKLogger::DtSliderBox::setRelativePosition | ( | float | relPosition | ) |
|
slot |
|
slot |
|
inline |
|
signal |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |