implemented playback controls

This commit is contained in:
itsmattkc
2019-09-06 13:06:23 +10:00
parent 9fe8c102b7
commit a5fb8693d0
11 changed files with 177 additions and 30 deletions
+20
View File
@@ -47,6 +47,26 @@ void PanelWidget::ZoomOut()
{
}
void PanelWidget::GoToStart()
{
}
void PanelWidget::PrevFrame()
{
}
void PanelWidget::PlayPause()
{
}
void PanelWidget::NextFrame()
{
}
void PanelWidget::GoToEnd()
{
}
void PanelWidget::SetTitle(const QString &t)
{
title_ = t;
+17
View File
@@ -62,6 +62,23 @@ public:
* no-op.
*/
virtual void ZoomOut();
virtual void GoToStart();
virtual void PrevFrame();
/**
* @brief Called whenever this panel is focused and user uses "Play/Pause" (either in menus or as a keyboard shortcut)
*
* This function is up to the Panel's interpretation of what the user intends to zoom out of. Default behavior is a
* no-op.
*/
virtual void PlayPause();
virtual void NextFrame();
virtual void GoToEnd();
protected:
/**
* @brief Set panel's title