2 #include <score/widgets/TimeMode.hpp>
4 #include <ossia-qt/time.hpp>
8 #include <score_lib_base_export.h>
10 class QStyleOptionFrame;
24 class SCORE_LIB_BASE_EXPORT
TimeSpinBox final :
public QWidget
31 void setMinimumTime(ossia::time_value t);
32 void setMaximumTime(ossia::time_value t);
33 void setTime(ossia::time_value t);
34 ossia::time_value time()
const noexcept;
35 void timeChanged(ossia::time_value t) E_SIGNAL(SCORE_LIB_BASE_EXPORT, timeChanged, t)
36 void editingFinished() E_SIGNAL(SCORE_LIB_BASE_EXPORT, editingFinished)
37 void wheelEvent(QWheelEvent* event)
override;
39 void mousePressEvent(QMouseEvent* event)
override;
40 void mouseReleaseEvent(QMouseEvent* event)
override;
41 void mouseDoubleClickEvent(QMouseEvent* event)
override;
42 void mouseMoveEvent(QMouseEvent* event)
override;
43 void paintEvent(QPaintEvent* event)
override;
44 void initStyleOption(QStyleOptionFrame* option)
const noexcept;
45 QSize sizeHint()
const override;
46 QSize minimumSizeHint()
const override;
52 int64_t m_travelledY{};
54 int64_t m_origFlicks{};
57 ossia::bar_time m_barTime{};
Definition: TimeSpinBox.hpp:25
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: SpinBoxes.cpp:40
Definition: SpinBoxes.cpp:350
Definition: SpinBoxes.cpp:211