20 #ifndef __STYLEDSLIDER_H__ 21 #define __STYLEDSLIDER_H__ 58 virtual QSize
sizeHint()
const {
return QSize(50, 50); }
107 #endif // __STYLEDSLIDER_H__ double mouseDownVal
Definition: styledslider.h:52
double _majorTickWidth
Definition: styledslider.h:42
void addMark(double value)
Definition: styledslider.h:79
void setMinorTickWidth(double v)
Definition: styledslider.cpp:335
QColor hilightColor() const
Definition: styledslider.h:76
double numMajorTicks() const
Definition: styledslider.h:71
void minValueChanged(double)
double _minorTickWidth
Definition: styledslider.h:43
virtual void mouseReleaseEvent(QMouseEvent *)
Definition: styledslider.cpp:95
QColor _hilightColor
Definition: styledslider.h:47
int _numMajorTicks
Definition: styledslider.h:40
double _margin
Definition: styledslider.h:39
virtual void mousePressEvent(QMouseEvent *)
Definition: styledslider.cpp:83
double margin() const
Definition: styledslider.h:70
void setHilightColor(QColor v)
Definition: styledslider.cpp:265
StyledSlider(QWidget *parent=nullptr)
Definition: styledslider.cpp:34
virtual QSize sizeHint() const
Definition: styledslider.h:58
void valueChanged(double)
int numMinorTicks() const
Definition: styledslider.h:72
void setMaxValue(double v)
Definition: styledslider.cpp:242
Definition: styledslider.h:29
double majorTickWidth() const
Definition: styledslider.h:73
virtual void keyPressEvent(QKeyEvent *)
Definition: styledslider.cpp:66
double _minValue
Definition: styledslider.h:35
virtual void paintEvent(QPaintEvent *ev)
Definition: styledslider.cpp:124
void setSliderHeadIcon(QIcon v)
Definition: styledslider.cpp:345
QPoint mouseDownPos
Definition: styledslider.h:51
double minorTickWidth() const
Definition: styledslider.h:74
void setNumMajorTicks(int v)
Definition: styledslider.cpp:305
QColor tickColor() const
Definition: styledslider.h:77
void mouseDoubleClickEvent(QMouseEvent *)
Definition: styledslider.cpp:41
double _barThickness
Definition: styledslider.h:38
void setNumMinorTicks(int v)
Definition: styledslider.cpp:315
int _numMinorTicks
Definition: styledslider.h:41
void setMinValue(double v)
Definition: styledslider.cpp:229
QList< double > marks
Definition: styledslider.h:33
double value() const
Definition: styledslider.h:68
double maxValue() const
Definition: styledslider.h:66
QIcon _sliderHeadIcon
Definition: styledslider.h:54
QIcon sliderHeadIcon() const
Definition: styledslider.h:78
double _doubleClickValue
Definition: styledslider.h:44
void setMajorTickWidth(double v)
Definition: styledslider.cpp:325
bool draggingMouse
Definition: styledslider.h:50
void setDoubleClickValue(double value)
Definition: styledslider.h:81
QColor backgroundColor() const
Definition: styledslider.h:75
void setMargin(double v)
Definition: styledslider.cpp:295
double minValue() const
Definition: styledslider.h:67
QColor _backgroundColor
Definition: styledslider.h:46
void setValue(double v)
Definition: styledslider.cpp:215
Definition: aslider.cpp:23
void setTickColor(QColor v)
Definition: styledslider.cpp:275
virtual void wheelEvent(QWheelEvent *)
Definition: styledslider.cpp:52
double _maxValue
Definition: styledslider.h:36
void setBackgroundColor(QColor v)
Definition: styledslider.cpp:255
void setBarThickness(double v)
Definition: styledslider.cpp:285
double _value
Definition: styledslider.h:37
QColor _tickColor
Definition: styledslider.h:48
double barThickness() const
Definition: styledslider.h:69
void maxValueChanged(double)
virtual void mouseMoveEvent(QMouseEvent *)
Definition: styledslider.cpp:105