Public Types | Public Slots | Signals | Public Member Functions | Protected Attributes
MAKLogger::DtSliderBox Class Reference

Represents a box within a slider. More...

+ Inheritance diagram for MAKLogger::DtSliderBox:
+ Collaboration diagram for MAKLogger::DtSliderBox:

List of all members.

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
DtSliderBarbar ()
const DtSliderBarbar () 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
DtSliderBarmyBar
BoxOrientation myOrientation

Detailed Description

Represents a box within a slider.


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)