timeruler more or less done

This commit is contained in:
itsmattkc
2019-07-25 00:11:32 -07:00
parent 3564e71c1c
commit abecd2f999
8 changed files with 131 additions and 33 deletions
@@ -24,6 +24,8 @@
#include <QWidget>
#include <QLabel>
#include "common/rational.h"
/**
* @brief A playback controls widget providing buttons for navigating media
*
@@ -40,6 +42,11 @@ public:
*/
void SetTimecodeEnabled(bool enabled);
void SetTimebase(const rational& r);
public slots:
void SetTime(const rational& r);
signals:
/**
* @brief Signal emitted when "Go to Start" is clicked
@@ -72,6 +79,8 @@ private:
QLabel* cur_tc_lbl_;
QLabel* end_tc_lbl_;
rational time_base_;
};
#endif // PLAYBACKCONTROLS_H