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