MythTV  master
generalsettings.h
Go to the documentation of this file.
1 #ifndef GENERALSETTINGS_H
2 #define GENERALSETTINGS_H
3 
4 // MythTV
5 #include <mythscreentype.h>
6 #include <mythuispinbox.h>
7 #include <mythuitext.h>
8 #include <mythuitextedit.h>
9 #include <mythuibutton.h>
10 #include <mythuicheckbox.h>
11 
12 
13 class GeneralSettings : public MythScreenType
14 {
15  Q_OBJECT
16  public:
17  explicit GeneralSettings(MythScreenStack *parent, const char *name = nullptr)
18  : MythScreenType(parent, name) {}
19  ~GeneralSettings() override = default;
20 
21  bool Create(void) override; // MythScreenType
22 
23  private:
33 
34  private slots:
35  void slotSave(void);
36 
37  void slotResetDB(void);
38  static void slotDoResetDB(bool ok);
39 };
40 
41 #endif // GENERALSETTINGS_H
GeneralSettings::m_resetDBButton
MythUIButton * m_resetDBButton
Definition: generalsettings.h:30
mythuitext.h
GeneralSettings::GeneralSettings
GeneralSettings(MythScreenStack *parent, const char *name=nullptr)
Definition: generalsettings.h:17
MythScreenStack
Definition: mythscreenstack.h:15
GeneralSettings::m_musicAudioDevice
MythUITextEdit * m_musicAudioDevice
Definition: generalsettings.h:24
MythUITextEdit
A text entry and edit widget.
Definition: mythuitextedit.h:32
slots
unsigned int slots[4]
Definition: element.cpp:38
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:44
GeneralSettings::slotSave
void slotSave(void)
Definition: generalsettings.cpp:153
GeneralSettings::m_cancelButton
MythUIButton * m_cancelButton
Definition: generalsettings.h:32
GeneralSettings::m_musicCDDevice
MythUITextEdit * m_musicCDDevice
Definition: generalsettings.h:26
GeneralSettings::m_saveButton
MythUIButton * m_saveButton
Definition: generalsettings.h:31
MythUIButton
A single button widget.
Definition: mythuibutton.h:21
GeneralSettings::slotDoResetDB
static void slotDoResetDB(bool ok)
Definition: generalsettings.cpp:106
GeneralSettings::~GeneralSettings
~GeneralSettings() override=default
GeneralSettings
Definition: globalsettings.h:118
MythUICheckBox
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Definition: mythuicheckbox.h:15
mythuispinbox.h
GeneralSettings::slotResetDB
void slotResetDB(void)
Definition: generalsettings.cpp:100
mythuitextedit.h
GeneralSettings::Create
bool Create(void) override
Definition: generalsettings.cpp:14
mythuibutton.h
GeneralSettings::m_ignoreID3Tags
MythUICheckBox * m_ignoreID3Tags
Definition: generalsettings.h:28
GeneralSettings::m_musicDefaultUpmix
MythUICheckBox * m_musicDefaultUpmix
Definition: generalsettings.h:25
mythuicheckbox.h
mythscreentype.h
GeneralSettings::m_nonID3FileNameFormat
MythUITextEdit * m_nonID3FileNameFormat
Definition: generalsettings.h:27
GeneralSettings::m_allowTagWriting
MythUICheckBox * m_allowTagWriting
Definition: generalsettings.h:29