Loading...
Searching...
No Matches
score::RangeWidget Class Referencefinal
Editor for a pair (start, end), the QWidget counterpart of score::QGraphicsRangeSlider. More...
Inheritance diagram for score::RangeWidget:
Detailed Description
Editor for a pair (start, end), the QWidget counterpart of score::QGraphicsRangeSlider.
The API deliberately mirrors QGraphicsRangeSlider – setRange / setValue / value / moving / sliderMoved / sliderReleased – so that the two can be driven by the same code in WidgetFactory.
The two bounds are kept ordered: pushing the start above the end drags the end along, and vice-versa, so the control can never be put in a state where start > end.
Public Attributes | |
| bool | moving = false |
The documentation for this class was generated from the following files:
- lib/score/widgets/ControlWidgets.hpp
- lib/score/widgets/ControlWidgets.cpp