PlasmaComponents
#include <qrangemodel_p.h>
Public Member Functions | |
QRangeModelPrivate (QRangeModel *qq) | |
virtual | ~QRangeModelPrivate () |
qreal | effectivePosAtMax () const |
qreal | effectivePosAtMin () const |
void | emitValueAndPositionIfChanged (const qreal oldValue, const qreal oldPosition) |
qreal | equivalentPosition (qreal value) const |
qreal | equivalentValue (qreal pos) const |
void | init () |
qreal | publicPosition (qreal position) const |
qreal | publicValue (qreal value) const |
Public Attributes | |
uint | inverted: 1 |
qreal | maximum |
qreal | minimum |
qreal | pos |
qreal | posatmax |
qreal | posatmin |
QRangeModel * | q_ptr |
qreal | stepSize |
qreal | value |
Detailed Description
Definition at line 46 of file qrangemodel_p.h.
Constructor & Destructor Documentation
Plasma::QRangeModelPrivate::QRangeModelPrivate | ( | QRangeModel * | ) |
Definition at line 70 of file qrangemodel.cpp.
|
virtual |
Definition at line 75 of file qrangemodel.cpp.
Member Function Documentation
|
inline |
Definition at line 66 of file qrangemodel_p.h.
|
inline |
Definition at line 62 of file qrangemodel_p.h.
void Plasma::QRangeModelPrivate::emitValueAndPositionIfChanged | ( | const qreal | oldValue, |
const qreal | oldPosition | ||
) |
Checks if the value or position, that is seen by the user, has changed and emits the changed signal if it has changed.
Definition at line 167 of file qrangemodel.cpp.
|
inline |
Definition at line 70 of file qrangemodel_p.h.
|
inline |
Definition at line 80 of file qrangemodel_p.h.
void Plasma::QRangeModelPrivate::init | ( | ) |
Definition at line 79 of file qrangemodel.cpp.
qreal Plasma::QRangeModelPrivate::publicPosition | ( | qreal | position | ) | const |
Calculates the position that is going to be seen outside by the component that is using QRangeModel. It takes into account the stepSize, positionAtMinimum, positionAtMaximum properties and position that is passed as parameter.
Definition at line 98 of file qrangemodel.cpp.
qreal Plasma::QRangeModelPrivate::publicValue | ( | qreal | value | ) | const |
Calculates the value that is going to be seen outside by the component that is using QRangeModel. It takes into account the stepSize, minimumValue, maximumValue properties and value that is passed as parameter.
Definition at line 139 of file qrangemodel.cpp.
Member Data Documentation
uint Plasma::QRangeModelPrivate::inverted |
Definition at line 58 of file qrangemodel_p.h.
qreal Plasma::QRangeModelPrivate::maximum |
Definition at line 56 of file qrangemodel_p.h.
qreal Plasma::QRangeModelPrivate::minimum |
Definition at line 56 of file qrangemodel_p.h.
qreal Plasma::QRangeModelPrivate::pos |
Definition at line 56 of file qrangemodel_p.h.
qreal Plasma::QRangeModelPrivate::posatmax |
Definition at line 55 of file qrangemodel_p.h.
qreal Plasma::QRangeModelPrivate::posatmin |
Definition at line 55 of file qrangemodel_p.h.
QRangeModel* Plasma::QRangeModelPrivate::q_ptr |
Definition at line 60 of file qrangemodel_p.h.
qreal Plasma::QRangeModelPrivate::stepSize |
Definition at line 56 of file qrangemodel_p.h.
qreal Plasma::QRangeModelPrivate::value |
Definition at line 56 of file qrangemodel_p.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.