MythTV master
mythplayereditorui.h
Go to the documentation of this file.
1#ifndef MYTHPLAYEREDITORUI_H
2#define MYTHPLAYEREDITORUI_H
3
4// MythtTV
6
8{
9 Q_OBJECT
10
11 signals:
12 void EditorStateChanged(const MythEditorState& EditorState);
13
14 public:
15 MythPlayerEditorUI(MythMainWindow* MainWindow, TV* Tv, PlayerContext* Context, PlayerFlags Flags);
16
17 bool HandleProgramEditorActions(const QStringList& Actions);
18
19 protected slots:
20 void InitialiseState() override;
21 void RefreshEditorState(bool CheckSaved = false);
22 void EnableEdit();
23 void DisableEdit(int HowToSave);
24
25 protected:
26 void HandleArbSeek(bool Direction);
27 bool DoFastForwardSecs(float Seconds, double Inaccuracy, bool UseCutlist);
28 bool DoRewindSecs (float Seconds, double Inaccuracy, bool UseCutlist);
29
30 QElapsedTimer m_editUpdateTimer;
31 float m_speedBeforeEdit { 1.0 };
32 bool m_pausedBeforeEdit { false };
33
34 private:
35 Q_DISABLE_COPY(MythPlayerEditorUI)
36};
37
38#endif
void RefreshEditorState(bool CheckSaved=false)
MythPlayerEditorUI(MythMainWindow *MainWindow, TV *Tv, PlayerContext *Context, PlayerFlags Flags)
bool HandleProgramEditorActions(const QStringList &Actions)
bool DoFastForwardSecs(float Seconds, double Inaccuracy, bool UseCutlist)
void EditorStateChanged(const MythEditorState &EditorState)
void HandleArbSeek(bool Direction)
void InitialiseState() override
QElapsedTimer m_editUpdateTimer
bool DoRewindSecs(float Seconds, double Inaccuracy, bool UseCutlist)
void DisableEdit(int HowToSave)
Leave cutlist edit mode, saving work in 1 of 3 ways.
Control TV playback.
Definition: tv_play.h:156
PlayerFlags
Definition: mythplayer.h:65