GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | List of all members
ctkRangeSliderPrivate Class Reference
Collaboration diagram for ctkRangeSliderPrivate:
Collaboration graph

Public Types

enum  Handle { NoHandle = 0x0, MinimumHandle = 0x1, MaximumHandle = 0x2 }

Public Member Functions

 ctkRangeSliderPrivate (ctkRangeSlider &object)
void drawMaximumSlider (QStylePainter *painter) const
void drawMinimumSlider (QStylePainter *painter) const
 Draw the bottom and top sliders. More...
void init ()
int pixelPosFromRangeValue (int val) const
int pixelPosToRangeValue (int pos) const
 Copied verbatim from QSliderPrivate class (see QSlider.cpp) More...
 Q_DECLARE_FLAGS (Handles, Handle)

Public Attributes

int m_MaximumPosition
 End points of the range on the GUI. This is synced with the model. More...
QStyle::SubControl m_MaximumSliderSelected
int m_MaximumValue
 End points of the range on the Model. More...
int m_MinimumPosition
QStyle::SubControl m_MinimumSliderSelected
 Controls selected ? More...
int m_MinimumValue
ctkRangeSliderPrivate::Handles m_SelectedHandles
int m_SubclassClickOffset
int m_SubclassPosition
int m_SubclassWidth
 Original width between the 2 bounds before any moves. More...
bool m_SymmetricMoves

Protected Attributes

ctkRangeSlider *const q_ptr

Private Member Functions

 Q_DECLARE_PUBLIC (ctkRangeSlider)

Detailed Description

Definition at line 33 of file ctkRangeSlider.cpp.

Member Enumeration Documentation

Boolean indicates the selected handle True for the minimum range handle, false for the maximum range handle


Definition at line 75 of file ctkRangeSlider.cpp.

Constructor & Destructor Documentation

ctkRangeSliderPrivate::ctkRangeSliderPrivate ( ctkRangeSlider object)

Definition at line 89 of file ctkRangeSlider.cpp.

Member Function Documentation

void ctkRangeSliderPrivate::drawMaximumSlider ( QStylePainter *  painter) const

Definition at line 212 of file ctkRangeSlider.cpp.

void ctkRangeSliderPrivate::drawMinimumSlider ( QStylePainter *  painter) const

Draw the bottom and top sliders.

Definition at line 192 of file ctkRangeSlider.cpp.

void ctkRangeSliderPrivate::init ( )

Definition at line 106 of file ctkRangeSlider.cpp.

int ctkRangeSliderPrivate::pixelPosFromRangeValue ( int  val) const

Definition at line 155 of file ctkRangeSlider.cpp.

int ctkRangeSliderPrivate::pixelPosToRangeValue ( int  pos) const

Copied verbatim from QSliderPrivate class (see QSlider.cpp)

Definition at line 119 of file ctkRangeSlider.cpp.

ctkRangeSliderPrivate::Q_DECLARE_FLAGS ( Handles  ,
ctkRangeSliderPrivate::Q_DECLARE_PUBLIC ( ctkRangeSlider  )

Member Data Documentation

int ctkRangeSliderPrivate::m_MaximumPosition

End points of the range on the GUI. This is synced with the model.

Definition at line 55 of file ctkRangeSlider.cpp.

QStyle::SubControl ctkRangeSliderPrivate::m_MaximumSliderSelected

Definition at line 60 of file ctkRangeSlider.cpp.

int ctkRangeSliderPrivate::m_MaximumValue

End points of the range on the Model.

Definition at line 51 of file ctkRangeSlider.cpp.

int ctkRangeSliderPrivate::m_MinimumPosition

Definition at line 56 of file ctkRangeSlider.cpp.

QStyle::SubControl ctkRangeSliderPrivate::m_MinimumSliderSelected

Controls selected ?

Definition at line 59 of file ctkRangeSlider.cpp.

int ctkRangeSliderPrivate::m_MinimumValue

Definition at line 52 of file ctkRangeSlider.cpp.

ctkRangeSliderPrivate::Handles ctkRangeSliderPrivate::m_SelectedHandles

Definition at line 81 of file ctkRangeSlider.cpp.

int ctkRangeSliderPrivate::m_SubclassClickOffset

See QSliderPrivate::clickOffset. Overrides this ivar

Definition at line 64 of file ctkRangeSlider.cpp.

int ctkRangeSliderPrivate::m_SubclassPosition

See QSliderPrivate::position Overrides this ivar.

Definition at line 68 of file ctkRangeSlider.cpp.

int ctkRangeSliderPrivate::m_SubclassWidth

Original width between the 2 bounds before any moves.

Definition at line 71 of file ctkRangeSlider.cpp.

bool ctkRangeSliderPrivate::m_SymmetricMoves

When symmetricMoves is true, moving a handle will move the other handle symmetrically, otherwise the handles are independent.

Definition at line 85 of file ctkRangeSlider.cpp.

ctkRangeSlider* const ctkRangeSliderPrivate::q_ptr

Definition at line 37 of file ctkRangeSlider.cpp.

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