MythTV  master
grabbersettings.h
Go to the documentation of this file.
1 #ifndef GRABBERSETTINGS_H
2 #define GRABBERSETTINGS_H
3 
4 // libmythui
5 #include "mythuibutton.h"
6 #include "mythuibuttonlist.h"
7 #include "mythuicheckbox.h"
8 #include "mythscreentype.h"
9 #include "mythdialogbox.h"
10 #include "metadatagrabber.h"
11 
12 class MetaGrabberScript;
14 {
15  Q_OBJECT
16 
17  public:
18 
19  GrabberSettings(MythScreenStack *parent, const char *name = nullptr)
20  : MythScreenType(parent, name) {}
21  ~GrabberSettings() = default;
22 
23  bool Create(void) override; // MythScreenType
24  bool keyPressEvent(QKeyEvent *) override; // MythScreenType
25 
26  private:
27  void Load(void) override; // MythScreenType
28  void Init(void) override; // MythScreenType
29 
33 
37 
39 
42 
43  private slots:
44  void slotSave(void);
45 };
46 
47 #endif
48 
unsigned int slots[4]
Definition: element.c:38
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
MythUIButton * m_cancelButton
bool Create(void) override
GrabberList m_gameGrabberList
~GrabberSettings()=default
MythUIButtonList * m_gameGrabberButtonList
MythUICheckBox * m_dailyUpdatesCheck
GrabberList m_tvGrabberList
QList< MetaGrabberScript > GrabberList
MythUIButtonList * m_tvGrabberButtonList
GrabberList m_movieGrabberList
const char * name
Definition: ParseText.cpp:328
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
A single button widget.
Definition: mythuibutton.h:21
MythUIButtonList * m_movieGrabberButtonList
MythUIButton * m_okButton
GrabberSettings(MythScreenStack *parent, const char *name=nullptr)
void Init(void) override
Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in...
Screen in which all other widgets are contained and rendered.
void Load(void) override
Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (S...
bool keyPressEvent(QKeyEvent *) override
Key event handler.