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(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
MythPlayerVisualiserUI
Definition: mythplayervisualiserui.h:8
MythPlayerEditorUI::m_speedBeforeEdit
float m_speedBeforeEdit
Definition: mythplayereditorui.h:31
MythPlayerEditorUI::DisableEdit
void DisableEdit(int HowToSave)
Leave cutlist edit mode, saving work in 1 of 3 ways.
Definition: mythplayereditorui.cpp:95
MythEditorState
Definition: mythplayerstate.h:144
PlayerFlags
PlayerFlags
Definition: mythplayer.h:65
MythPlayerEditorUI::MythPlayerEditorUI
MythPlayerEditorUI(MythMainWindow *MainWindow, TV *Tv, PlayerContext *Context, PlayerFlags Flags)
Definition: mythplayereditorui.cpp:10
MythPlayerEditorUI::HandleArbSeek
void HandleArbSeek(bool Direction)
Definition: mythplayereditorui.cpp:120
MythPlayerEditorUI::DoRewindSecs
bool DoRewindSecs(float Seconds, double Inaccuracy, bool UseCutlist)
Definition: mythplayereditorui.cpp:289
MythPlayerEditorUI::InitialiseState
void InitialiseState() override
Definition: mythplayereditorui.cpp:24
mythplayervisualiserui.h
MythPlayerEditorUI::RefreshEditorState
void RefreshEditorState(bool CheckSaved=false)
Definition: mythplayereditorui.cpp:30
MythPlayerEditorUI
Definition: mythplayereditorui.h:7
MythPlayerEditorUI::m_editUpdateTimer
QElapsedTimer m_editUpdateTimer
Definition: mythplayereditorui.h:30
MythPlayerEditorUI::m_pausedBeforeEdit
bool m_pausedBeforeEdit
Definition: mythplayereditorui.h:32
MythPlayerEditorUI::EnableEdit
void EnableEdit()
Definition: mythplayereditorui.cpp:48
MythPlayerEditorUI::HandleProgramEditorActions
bool HandleProgramEditorActions(QStringList &Actions)
Definition: mythplayereditorui.cpp:139
PlayerContext
Definition: playercontext.h:52
MythPlayerEditorUI::DoFastForwardSecs
bool DoFastForwardSecs(float Seconds, double Inaccuracy, bool UseCutlist)
Definition: mythplayereditorui.cpp:282
MythPlayerEditorUI::EditorStateChanged
void EditorStateChanged(const MythEditorState &EditorState)
MythMainWindow
Definition: mythmainwindow.h:35
TV
Control TV playback.
Definition: tv_play.h:154