MythTV master
mythnavigationoverlay.h
Go to the documentation of this file.
1#ifndef MYTHNAVIGATIONOVERLAY_H
2#define MYTHNAVIGATIONOVERLAY_H
3
4// MythTV
6#include "mythplayerstate.h"
7
9class TV;
10class MythPlayerUI;
11
13{
14 Q_OBJECT
15
16 public:
18 MythPlayerUI* Player, const QString& Name, OSD* Osd);
19 bool Create() override;
20 bool keyPressEvent(QKeyEvent* Event) override;
21 void ShowMenu() override;
22
23 public slots:
24 void AudioStateChanged(const MythAudioState& AudioState);
25 void PauseChanged(bool Paused);
26 void GeneralAction();
27 void More();
28
29 protected:
30 void SendResult(int Result, const QString& Action);
31
33 TV* m_tv { nullptr };
34 MythPlayerUI* m_player { nullptr };
35 OSD* m_parentOverlay { nullptr };
40 bool m_paused { false };
42 int m_visibleGroup { 0 };
43 int m_maxGroupNum { -1 };
44};
45
46#endif
An action (for this plugin) consists of a description, and a set of key sequences.
Definition: action.h:41
Event details.
Definition: zmdefines.h:28
A simple wrapper around audio state used to signal changes in the current state.
MythMainWindow * m_mainWindow
void SendResult(int Result, const QString &Action)
bool keyPressEvent(QKeyEvent *Event) override
Key event handler.
MythNavigationOverlay(MythMainWindow *MainWindow, TV *Tv, MythPlayerUI *Player, const QString &Name, OSD *Osd)
void AudioStateChanged(const MythAudioState &AudioState)
Screen in which all other widgets are contained and rendered.
A single button widget.
Definition: mythuibutton.h:22
Definition: osd.h:94
Control TV playback.
Definition: tv_play.h:156