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); | |
| 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. | |
| virtual | ~DtSliderBox () |
| DTOR. | |
| QRectF | bounds (QRectF viewport) const |
| Get the bounds using a viewport. | |
| bool | leftBox () const |
| public Accessors | |
| 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.