MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions
MAKLogger::DtLgrAnnotationSliderBar Class Reference

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...
 
DtLgrAnnotationannotation ()
 Get the annotation this bar represents. More...
 
const DtLgrAnnotationannotation () 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...
 
DtSliderBoxstartBox ()
 Get the start box. More...
 
const DtSliderBoxstartBox () const
 Get the start box. More...
 
DtSliderBoxendBox ()
 Get the end box. More...
 
const DtSliderBoxendBox () const
 Get the end box. More...
 

Protected Attributes

DtLgrAnnotationmyAnnotation
 
- Protected Attributes inherited from MAKLogger::DtSliderBar
QColor myColor
 
float myStartPosition
 
float myEndPosition
 
DtSliderBoxmyStartBox
 
DtSliderBoxmyEndBox
 
QString myName
 
QPixmap * myImage
 
bool mySelected
 
bool myPressed
 
bool myFixedSize
 

Private Member Functions

 DtLgrAnnotationSliderBar (const DtLgrAnnotationSliderBar &)
 Not Implemented. More...
 
DtLgrAnnotationSliderBaroperator= (const DtLgrAnnotationSliderBar &)
 Not Implemented. More...
 

Detailed Description

Annotation slider bar class.

Constructor & Destructor Documentation

MAKLogger::DtLgrAnnotationSliderBar::DtLgrAnnotationSliderBar ( DtLgrAnnotation )
virtual MAKLogger::DtLgrAnnotationSliderBar::~DtLgrAnnotationSliderBar ( )
virtual
MAKLogger::DtLgrAnnotationSliderBar::DtLgrAnnotationSliderBar ( const DtLgrAnnotationSliderBar )
private

Not Implemented.

Member Function Documentation

DtLgrAnnotation* MAKLogger::DtLgrAnnotationSliderBar::annotation ( )

Get the annotation this bar represents.

const DtLgrAnnotation* MAKLogger::DtLgrAnnotationSliderBar::annotation ( ) const

Get the annotation this bar represents.

virtual void MAKLogger::DtLgrAnnotationSliderBar::drawBar ( QPainter &  painter,
const QRectF &  viewport 
)
virtual

Draw the bar using the painter and the scaled viewport.

The default implementation does no drawing.

Reimplemented in MAKLogger::DtLgrPointAnnotationSliderBar, and MAKLogger::DtLgrRangeAnnotationSliderBar.

DtLgrAnnotationSliderBar& MAKLogger::DtLgrAnnotationSliderBar::operator= ( const DtLgrAnnotationSliderBar )
private

Not Implemented.

Member Data Documentation

DtLgrAnnotation* MAKLogger::DtLgrAnnotationSliderBar::myAnnotation
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)