2 #include <score/widgets/DoubleSlider.hpp>
3 #include <score/widgets/IntSlider.hpp>
7 #include <score_lib_base_export.h>
15 ToggleButton(std::array<QString, 2> alts, QWidget* parent);
17 ToggleButton(std::array<const char*, 2> alt, QWidget* parent);
22 std::array<QString, 2> alternatives;
25 void paintEvent(QPaintEvent* event)
override;
31 using IntSlider::IntSlider;
36 void paintEvent(QPaintEvent* event)
override;
46 double speed()
const noexcept;
47 void setSpeed(
double);
48 void setTempo(
double);
51 using score::DoubleSlider::setValue;
52 using score::DoubleSlider::value;
54 void paintEvent(QPaintEvent* event)
override;
55 void mousePressEvent(QMouseEvent*)
override;
56 void createPopup(QPoint pos)
override;
62 using DoubleSlider::DoubleSlider;
63 double map(
double v)
const override;
64 double unmap(
double v)
const override;
68 void paintEvent(QPaintEvent* event)
override;
74 using score::DoubleSlider::DoubleSlider;
78 void paintEvent(QPaintEvent* event)
override;
84 using score::DoubleSlider::DoubleSlider;
85 double map(
double v)
const override;
86 double unmap(
double v)
const override;
90 void paintEvent(QPaintEvent* event)
override;
98 template <std::
size_t N>
99 ComboSlider(
const std::array<const char*, N>& arr, QWidget* parent)
104 array.push_back(str);
107 ComboSlider(
const QStringList& arr, QWidget* parent);
111 void paintEvent(QPaintEvent* event)
override;
114 SCORE_LIB_BASE_EXPORT
const QPalette& transparentPalette();
The DoubleSlider class.
Definition: DoubleSlider.hpp:19
Definition: IntSlider.hpp:12
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: lib/score/widgets/ControlWidgets.hpp:94
Definition: lib/score/widgets/ControlWidgets.hpp:40
Definition: lib/score/widgets/ControlWidgets.hpp:72
Definition: lib/score/widgets/ControlWidgets.hpp:82
Definition: lib/score/widgets/ControlWidgets.hpp:29
Definition: lib/score/widgets/ControlWidgets.hpp:60