MythTV master
visualizerview.h
Go to the documentation of this file.
1#ifndef VISUALIZERVIEW_H_
2#define VISUALIZERVIEW_H_
3
4// qt
5#include <QEvent>
6#include <QVector>
7
8// MythTV
11
12// mythmusic
13#include "musiccommon.h"
14
15class MythUIVideo;
16
18{
19 Q_OBJECT
20 public:
21 VisualizerView(MythScreenStack *parent, MythScreenType *parentScreen);
22 ~VisualizerView(void) override = default;
23
24 bool Create(void) override; // MythScreenType
25 bool keyPressEvent(QKeyEvent *event) override; // MusicCommon
26
27 void ShowMenu(void) override; // MusicCommon
28
29 protected:
30 void customEvent(QEvent *event) override; // MusicCommon
31
32 private slots:
33 void showTrackInfoPopup(void);
34};
35
37{
38 Q_OBJECT
39 public:
41 : VisualizerView(parent, nullptr) {}
42 ~TrackInfoPopup(void) override;
43
44 bool Create(void) override; // VisualizerView
45 bool keyPressEvent(QKeyEvent *event) override; // VisualizerView
46
47 protected:
48 QTimer *m_displayTimer {nullptr};
49};
50
51#endif
Screen in which all other widgets are contained and rendered.
Video widget, displays raw image data.
Definition: mythuivideo.h:15
TrackInfoPopup(MythScreenStack *parent)
VisualizerView(MythScreenStack *parent, MythScreenType *parentScreen)
void customEvent(QEvent *event) override
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
bool Create(void) override
void ShowMenu(void) override
~VisualizerView(void) override=default
void showTrackInfoPopup(void)
#define MPLUGIN_PUBLIC