|
| enum | Handle { NoHandle = 0x0
, MinimumHandle = 0x1
, MaximumHandle = 0x2
} |
| |
|
|
| Q_DECLARE_FLAGS (Handles, Handle) |
| |
|
| RangeSliderPrivate (RangeSlider &object) |
| |
|
void | init () |
| |
| Handle | handleAtPos (const QPoint &pos, QRect &handleRect) const |
| |
|
qint64 | bound (qint64 min, qint64 max, qint64 step, qint64 value, bool snapToBoundaries=true) const |
| |
|
uint | boundUnsigned (uint min, uint max, uint step, uint value, bool snapToBoundaries=true) const |
| |
|
void | rangeBound (int valLimitMin, int valLimitMax, Handle handleChangePriority, int &valMin, int &valMax) |
| |
|
int | pixelPosToRangeValue (int pos) const |
| | Copied verbatim from QSliderPrivate class (see QSlider.cpp)
|
| |
|
int | pixelPosFromRangeValue (int val) const |
| |
|
void | drawMinimumSlider (QStylePainter *painter, const QRect &rect) const |
| | Draw the bottom and top sliders.
|
| |
|
void | drawMaximumSlider (QStylePainter *painter, const QRect &rect) const |
| |
|
void | drawMinMaxSlider (QStylePainter *painter, const QRect &rect, bool isSliderDown, QStyleOptionSlider &option) const |
| |
|
|
int | m_MaximumValue |
| | End points of the range on the Model.
|
| |
|
int | m_MinimumValue |
| |
|
int | m_MaximumPosition |
| | End points of the range on the GUI. This is synced with the model.
|
| |
|
int | m_MinimumPosition |
| |
|
uint | m_PositionStepSize |
| |
|
uint | m_MinimumRange |
| |
|
uint | m_MaximumRange |
| |
|
uint | m_StepSizeRange |
| |
|
bool | m_RangeIncludesLimits |
| |
|
QStyle::SubControl | m_MinimumSliderSelected |
| | Controls selected ?
|
| |
|
QStyle::SubControl | m_MaximumSliderSelected |
| |
| int | m_SubclassClickOffset |
| |
| int | m_SubclassPosition |
| |
|
float | m_SubclassWidth |
| | Original width between the 2 bounds before any moves.
|
| |
|
RangeSliderPrivate::Handles | m_SelectedHandles |
| |
| bool | m_SymmetricMoves |
| |
|
bool | m_UseStyleSheets |
| |
|
float | m_HandleBorderRadius |
| |
|
QString | m_HandleToolTip |
| |
◆ Handle
Boolean indicates the selected handle True for the minimum range handle, false for the maximum range handle
◆ handleAtPos()
Return the handle at the given pos, or none if no handle is at the pos. If a handle is selected, handleRect is set to the handle rect. otherwise return NoHandle and handleRect is set to the combined rect of the min and max handles
◆ m_SubclassClickOffset
| int RangeSliderPrivate::m_SubclassClickOffset |
See QSliderPrivate::clickOffset. Overrides this ivar
◆ m_SubclassPosition
| int RangeSliderPrivate::m_SubclassPosition |
See QSliderPrivate::position Overrides this ivar.
◆ m_SymmetricMoves
| bool RangeSliderPrivate::m_SymmetricMoves |
When symmetricMoves is true, moving a handle will move the other handle symmetrically, otherwise the handles are independent.
The documentation for this class was generated from the following file:
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/itomWidgets/rangeSlider.cpp