Loading...
Searching...
No Matches
score::DoubleSlider Class Reference
The DoubleSlider class. More...
Inheritance diagram for score::DoubleSlider:
Detailed Description
The DoubleSlider class.
- *- *
- * Always between 0. - 1.
- * min and max properties are for value display purpose only
Public Member Functions | |
| DoubleSlider (Qt::Orientation ort, QWidget *widg) | |
| DoubleSlider (QWidget *widg) | |
| void | setValue (double val) |
| void | setOrientation (Qt::Orientation ort) |
| void | setBorderWidth (double border) |
| double | value () const |
| virtual double | map (double v) const |
| virtual double | unmap (double v) const |
| void | valueChanged (double arg_1) |
| void | sliderMoved (double arg_1) |
| void | sliderReleased () |
| void | mousePressEvent (QMouseEvent *event) override |
| void | mouseMoveEvent (QMouseEvent *event) override |
| void | mouseReleaseEvent (QMouseEvent *event) override |
| void | mouseDoubleClickEvent (QMouseEvent *event) override |
| virtual void | createPopup (QPoint pos) |
| virtual void | setRange (double min, double max, double init) noexcept |
| int | skinExtent () const noexcept |
Public Attributes | |
| bool | moving = false |
| double | min {} |
| double | max {} |
| double | init {} |
Member Function Documentation
◆ skinExtent()
|
noexcept |
Thickness of one line of the slider font: the height of a horizontal slider, the width of a vertical one. A caller pinning the control with setFixedSize should size it from here.
The documentation for this class was generated from the following files:
- DoubleSlider.hpp
- DoubleSlider.cpp