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  GeneralSettings(MythScreenStack *parent, const char *name = nullptr)
18  : MythScreenType(parent, name) {}
19  ~GeneralSettings() = 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
unsigned int slots[4]
Definition: element.c:38
MythUICheckBox * m_musicDefaultUpmix
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
MythUIButton * m_resetDBButton
~GeneralSettings()=default
MythUITextEdit * m_musicAudioDevice
A text entry and edit widget.
MythUICheckBox * m_allowTagWriting
void slotResetDB(void)
A single button widget.
Definition: mythuibutton.h:21
MythUIButton * m_cancelButton
MythUITextEdit * m_nonID3FileNameFormat
bool Create(void) override
MythUICheckBox * m_ignoreID3Tags
static void slotDoResetDB(bool ok)
Screen in which all other widgets are contained and rendered.
GeneralSettings(MythScreenStack *parent, const char *name=nullptr)
MythUITextEdit * m_musicCDDevice
MythUIButton * m_saveButton