Radium Engine  1.5.20
Loading...
Searching...
No Matches
TimelineTimeScale.hpp
1#pragma once
2#include <QFrame>
3#include <QObject>
4
5namespace Ra::Gui {
6class TimelineScrollArea;
7}
8
9namespace Ra::Gui {
10
15class TimelineTimeScale : public QFrame
16{
17 Q_OBJECT
18 public:
19 explicit TimelineTimeScale( QWidget* parent = nullptr );
20
22 void setScrollArea( TimelineScrollArea* scrollArea );
23
24 protected:
25 virtual void paintEvent( QPaintEvent* event ) override;
26
27 private:
29 TimelineScrollArea* m_scrollArea { nullptr };
30};
31
32} // namespace Ra::Gui
void setScrollArea(TimelineScrollArea *scrollArea)
Set the TimelineScrollArea for which to display the scale.