 |
Geometrize
1.0
An application for geometrizing images into geometric primitives
|
Go to the documentation of this file.
28 #include <QMouseEvent>
39 Q_ENUMS(RangeSliderTypes)
48 Q_DECLARE_FLAGS(Options,
Option)
67 void SetRange(
int aMinimum,
int aMaximum);
void setMaximum(int aMaximum)
Definition: rangeslider.cpp:367
int GetMinimum() const
Definition: rangeslider.cpp:270
@ NoHandle
Definition: rangeslider.h:43
@ DoubleHandles
Definition: rangeslider.h:46
void SetMinimum(int aMinimum)
Definition: rangeslider.cpp:275
int validLength() const
Definition: rangeslider.cpp:388
void setMinimum(int aMinimum)
Definition: rangeslider.cpp:346
QColor mBackgroudColorDisabled
Definition: rangeslider.h:105
QColor mBackgroudColorEnabled
Definition: rangeslider.h:104
void SetMaximum(int aMaximum)
Definition: rangeslider.cpp:285
RangeSlider(QWidget *aParent=Q_NULLPTR)
Definition: rangeslider.cpp:43
void setUpperValue(int aUpperValue)
Definition: rangeslider.cpp:328
int mLowerValue
Definition: rangeslider.h:98
Qt::Orientation orientation
Definition: rangeslider.h:107
void setLowerValue(int aLowerValue)
Definition: rangeslider.cpp:310
int mInterval
Definition: rangeslider.h:102
Option
Definition: rangeslider.h:42
int mDelta
Definition: rangeslider.h:103
@ LeftHandle
Definition: rangeslider.h:44
void lowerValueChanged(int aLowerValue)
QRectF secondHandleRect() const
Definition: rangeslider.cpp:133
QRectF firstHandleRect() const
Definition: rangeslider.cpp:127
void rangeChanged(int aMin, int aMax)
Definition: commandlineparser.cpp:73
Options type
Definition: rangeslider.h:108
int GetMaximum() const
Definition: rangeslider.cpp:280
void changeEvent(QEvent *aEvent) override
Definition: rangeslider.cpp:249
float currentPercentage()
void upperValueChanged(int aUpperValue)
void paintEvent(QPaintEvent *aEvent) override
Definition: rangeslider.cpp:78
int mMaximum
Definition: rangeslider.h:97
int mMinimum
Definition: rangeslider.h:96
Definition: rangeslider.h:37
void SetLowerValue(int aLowerValue)
Definition: rangeslider.cpp:295
void SetUpperValue(int aUpperValue)
Definition: rangeslider.cpp:305
bool mFirstHandlePressed
Definition: rangeslider.h:100
void mouseMoveEvent(QMouseEvent *aEvent) override
Definition: rangeslider.cpp:207
void mouseReleaseEvent(QMouseEvent *aEvent) override
Definition: rangeslider.cpp:241
@ RightHandle
Definition: rangeslider.h:45
int mUpperValue
Definition: rangeslider.h:99
QRectF handleRect(int aValue) const
Definition: rangeslider.cpp:139
void mousePressEvent(QMouseEvent *aEvent) override
Definition: rangeslider.cpp:147
QColor mBackgroudColor
Definition: rangeslider.h:106
int GetUpperValue() const
Definition: rangeslider.cpp:300
QSize minimumSizeHint() const override
Definition: rangeslider.cpp:265
bool mSecondHandlePressed
Definition: rangeslider.h:101
int GetLowerValue() const
Definition: rangeslider.cpp:290
void SetRange(int aMinimum, int aMaximum)
Definition: rangeslider.cpp:394