MythTV  master
playlistview.h
Go to the documentation of this file.
1 #ifndef PLAYLISTVIEW_H_
2 #define PLAYLISTVIEW_H_
3 
4 // qt
5 #include <QEvent>
6 #include <QVector>
7 
8 // mythui
9 #include <mythscreentype.h>
10 
11 // mythmusic
12 #include <musiccommon.h>
13 
14 class MythUIButtonList;
15 class MythUIText;
16 
17 class PlaylistView : public MusicCommon
18 {
19  Q_OBJECT
20  public:
21  PlaylistView(MythScreenStack *parent, MythScreenType *parentScreen);
22  ~PlaylistView(void) override = default;
23 
24  bool Create(void) override; // MythScreenType
25  bool keyPressEvent(QKeyEvent *event) override; // MusicCommon
26 
27  protected:
28  void customEvent(QEvent *event) override; // MusicCommon
29 };
30 
31 #endif
PlaylistView::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: playlistview.cpp:46
MythScreenStack
Definition: mythscreenstack.h:16
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
PlaylistView
Definition: playlistview.h:18
PlaylistView::PlaylistView
PlaylistView(MythScreenStack *parent, MythScreenType *parentScreen)
Definition: playlistview.cpp:13
PlaylistView::customEvent
void customEvent(QEvent *event) override
Definition: playlistview.cpp:41
musiccommon.h
MythUIText
All purpose text widget, displays a text string.
Definition: mythuitext.h:29
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:152
PlaylistView::Create
bool Create(void) override
Definition: playlistview.cpp:19
mythscreentype.h
PlaylistView::~PlaylistView
~PlaylistView(void) override=default
MusicCommon
Definition: musiccommon.h:48