MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | 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:

Public Member Functions

 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

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.

Constructor & Destructor Documentation

MAKLogger::DtSliderBar::DtSliderBar ( )

CTOR.

MAKLogger::DtSliderBar::DtSliderBar ( float  start,
float  end 
)

CTOR define the start and end positions as percentages.

virtual MAKLogger::DtSliderBar::~DtSliderBar ( )
virtual

DTOR.

Member Function Documentation

QRectF MAKLogger::DtSliderBar::bounds ( QRectF  viewport) const

Return the bounds between end boxes.

QRectF MAKLogger::DtSliderBar::boundsWithBoxes ( QRectF  viewport) const

Return the bounds containing end boxes.

QColor MAKLogger::DtSliderBar::color ( ) const

Get the background color of the slider bar.

float MAKLogger::DtSliderBar::end ( ) const

Get the end position.

DtSliderBox* MAKLogger::DtSliderBar::endBox ( )

Get the end box.

const DtSliderBox* MAKLogger::DtSliderBar::endBox ( ) const

Get the end box.

bool MAKLogger::DtSliderBar::fixedSize ( ) const
const QPixmap* MAKLogger::DtSliderBar::image ( ) const

Get the background image of the slider bar.

const QString& MAKLogger::DtSliderBar::name ( ) const

Get the name of the slider bar.

bool MAKLogger::DtSliderBar::pressed ( ) const
bool MAKLogger::DtSliderBar::selected ( ) const
void MAKLogger::DtSliderBar::setColor ( QColor  c)

Set the background color of the slider bar.

void MAKLogger::DtSliderBar::setFixedSize ( bool  )
void MAKLogger::DtSliderBar::setImage ( QPixmap *  )

Set the background image of the slider bar.

void MAKLogger::DtSliderBar::setName ( const QString &  aName)

Set the name of the slider bar.

void MAKLogger::DtSliderBar::setPressed ( bool  value)
void MAKLogger::DtSliderBar::setSelected ( bool  value)
void MAKLogger::DtSliderBar::setStartEnd ( float  start,
float  end 
)
float MAKLogger::DtSliderBar::start ( ) const

Get the start position.

DtSliderBox* MAKLogger::DtSliderBar::startBox ( )

Get the start box.

const DtSliderBox* MAKLogger::DtSliderBar::startBox ( ) const

Get the start box.

float MAKLogger::DtSliderBar::width ( ) const

Get the distance between the start and end positions.

Member Data Documentation

QColor MAKLogger::DtSliderBar::myColor
protected
DtSliderBox* MAKLogger::DtSliderBar::myEndBox
protected
float MAKLogger::DtSliderBar::myEndPosition
protected
bool MAKLogger::DtSliderBar::myFixedSize
protected
QPixmap* MAKLogger::DtSliderBar::myImage
protected
QString MAKLogger::DtSliderBar::myName
protected
bool MAKLogger::DtSliderBar::myPressed
protected
bool MAKLogger::DtSliderBar::mySelected
protected
DtSliderBox* MAKLogger::DtSliderBar::myStartBox
protected
float MAKLogger::DtSliderBar::myStartPosition
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)