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  explicit GrabberSettings(MythScreenStack *parent, const char *name = nullptr)
20  : MythScreenType(parent, name) {}
21  ~GrabberSettings() override = default;
22 
23  bool Create(void) override; // MythScreenType
24  bool keyPressEvent(QKeyEvent *event) 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 
GrabberSettings::Create
bool Create(void) override
Definition: grabbersettings.cpp:22
GrabberSettings::m_gameGrabberButtonList
MythUIButtonList * m_gameGrabberButtonList
Definition: grabbersettings.h:36
GrabberSettings::m_dailyUpdatesCheck
MythUICheckBox * m_dailyUpdatesCheck
Definition: grabbersettings.h:38
MetaGrabberScript
Definition: metadatagrabber.h:30
GrabberList
QList< MetaGrabberScript > GrabberList
Definition: metadatagrabber.h:18
slots
std::array< unsigned int, 4 > slots
Definition: element.cpp:38
GrabberSettings
Definition: grabbersettings.h:14
GrabberSettings::~GrabberSettings
~GrabberSettings() override=default
mythdialogbox.h
MythScreenStack
Definition: mythscreenstack.h:16
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
GrabberSettings::GrabberSettings
GrabberSettings(MythScreenStack *parent, const char *name=nullptr)
Definition: grabbersettings.h:19
mythuibuttonlist.h
metadatagrabber.h
GrabberSettings::m_okButton
MythUIButton * m_okButton
Definition: grabbersettings.h:40
MythUIButton
A single button widget.
Definition: mythuibutton.h:22
GrabberSettings::m_movieGrabberButtonList
MythUIButtonList * m_movieGrabberButtonList
Definition: grabbersettings.h:34
MythUICheckBox
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Definition: mythuicheckbox.h:16
GrabberSettings::m_tvGrabberList
GrabberList m_tvGrabberList
Definition: grabbersettings.h:31
GrabberSettings::Load
void Load(void) override
Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (S...
Definition: grabbersettings.cpp:71
GrabberSettings::m_gameGrabberList
GrabberList m_gameGrabberList
Definition: grabbersettings.h:32
GrabberSettings::m_tvGrabberButtonList
MythUIButtonList * m_tvGrabberButtonList
Definition: grabbersettings.h:35
mythuibutton.h
GrabberSettings::slotSave
void slotSave(void)
Definition: grabbersettings.cpp:135
GrabberSettings::m_movieGrabberList
GrabberList m_movieGrabberList
Definition: grabbersettings.h:30
GrabberSettings::Init
void Init(void) override
Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in...
Definition: grabbersettings.cpp:78
GrabberSettings::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: grabbersettings.cpp:150
mythuicheckbox.h
GrabberSettings::m_cancelButton
MythUIButton * m_cancelButton
Definition: grabbersettings.h:41
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:144
mythscreentype.h