![]() |
MAK Data Logger API Documentation for HLA
|
Annotation slider bar class. More...
Inheritance diagram for MAKLogger::DtLgrAnnotationSliderBar:
Collaboration diagram for MAKLogger::DtLgrAnnotationSliderBar:Public Member Functions | |
| DtLgrAnnotationSliderBar (DtLgrAnnotation *) | |
| virtual | ~DtLgrAnnotationSliderBar () |
| virtual void | drawBar (QPainter &painter, const QRectF &viewport) |
| Draw the bar using the painter and the scaled viewport. More... | |
| DtLgrAnnotation * | annotation () |
| Get the annotation this bar represents. More... | |
| const DtLgrAnnotation * | annotation () const |
| Get the annotation this bar represents. More... | |
Public Member Functions inherited from MAKLogger::DtSliderBar | |
| DtSliderBar () | |
| CTOR. More... | |
| DtSliderBar (float start, float end) | |
| CTOR define the start and end positions as percentages. More... | |
| virtual | ~DtSliderBar () |
| DTOR. More... | |
| float | start () const |
| Get the start position. More... | |
| float | end () const |
| Get the end position. More... | |
| float | width () const |
| Get the distance between the start and end positions. More... | |
| const QString & | name () const |
| Get the name of the slider bar. More... | |
| void | setName (const QString &aName) |
| Set the name of the slider bar. More... | |
| const QPixmap * | image () const |
| Get the background image of the slider bar. More... | |
| void | setImage (QPixmap *) |
| Set the background image of the slider bar. More... | |
| QColor | color () const |
| Get the background color of the slider bar. More... | |
| void | setColor (QColor c) |
| Set the background color of the slider bar. More... | |
| bool | selected () const |
| void | setSelected (bool value) |
| bool | pressed () const |
| void | setPressed (bool value) |
| void | setFixedSize (bool) |
| bool | fixedSize () const |
| void | setStartEnd (float start, float end) |
| QRectF | bounds (QRectF viewport) const |
| Return the bounds between end boxes. More... | |
| QRectF | boundsWithBoxes (QRectF viewport) const |
| Return the bounds containing end boxes. More... | |
| DtSliderBox * | startBox () |
| Get the start box. More... | |
| const DtSliderBox * | startBox () const |
| Get the start box. More... | |
| DtSliderBox * | endBox () |
| Get the end box. More... | |
| const DtSliderBox * | endBox () const |
| Get the end box. More... | |
Protected Attributes | |
| DtLgrAnnotation * | myAnnotation |
Protected Attributes inherited from MAKLogger::DtSliderBar | |
| QColor | myColor |
| float | myStartPosition |
| float | myEndPosition |
| DtSliderBox * | myStartBox |
| DtSliderBox * | myEndBox |
| QString | myName |
| QPixmap * | myImage |
| bool | mySelected |
| bool | myPressed |
| bool | myFixedSize |
Private Member Functions | |
| DtLgrAnnotationSliderBar (const DtLgrAnnotationSliderBar &) | |
| Not Implemented. More... | |
| DtLgrAnnotationSliderBar & | operator= (const DtLgrAnnotationSliderBar &) |
| Not Implemented. More... | |
Annotation slider bar class.
| MAKLogger::DtLgrAnnotationSliderBar::DtLgrAnnotationSliderBar | ( | DtLgrAnnotation * | ) |
|
virtual |
|
private |
Not Implemented.
| DtLgrAnnotation* MAKLogger::DtLgrAnnotationSliderBar::annotation | ( | ) |
Get the annotation this bar represents.
| const DtLgrAnnotation* MAKLogger::DtLgrAnnotationSliderBar::annotation | ( | ) | const |
Get the annotation this bar represents.
|
virtual |
Draw the bar using the painter and the scaled viewport.
The default implementation does no drawing.
Reimplemented in MAKLogger::DtLgrPointAnnotationSliderBar, and MAKLogger::DtLgrRangeAnnotationSliderBar.
|
private |
Not Implemented.
|
protected |