Public Member Functions | Protected Attributes
MAKLogger::DtSliderBar Class Reference

Used to manage a bar between a start and an end of a slider bar. More...

+ Inheritance diagram for MAKLogger::DtSliderBar:
+ Collaboration diagram for MAKLogger::DtSliderBar:

List of all members.

Public Member Functions

 DtSliderBar ()
 CTOR.
 DtSliderBar (float start, float end)
 CTOR define the start and end positions as percentages.
virtual ~DtSliderBar ()
 DTOR.
float start () const
 Get the start position.
float end () const
 Get the end position.
float width () const
 Get the distance between the start and end positions.
const QString & name () const
 Get the name of the slider bar.
void setName (const QString &aName)
 Set the name of the slider bar.
const QPixmap * image () const
 Get the background image of the slider bar.
void setImage (QPixmap *)
 Set the background image of the slider bar.
QColor color () const
 Get the background color of the slider bar.
void setColor (QColor c)
 Set the background color of the slider bar.
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.
QRectF boundsWithBoxes (QRectF viewport) const
 Return the bounds containing end boxes.
DtSliderBoxstartBox ()
 Get the start box.
const DtSliderBoxstartBox () const
 Get the start box.
DtSliderBoxendBox ()
 Get the end box.
const DtSliderBoxendBox () const
 Get the end box.

Protected Attributes

QColor myColor
float myStartPosition
float myEndPosition
DtSliderBoxmyStartBox
DtSliderBoxmyEndBox
QString myName
QPixmap * myImage
bool mySelected
bool myPressed
bool myFixedSize

Detailed Description

Used to manage a bar between a start and an end of a slider bar.


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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)