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 <
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
:
24
MythUITextEdit
*
m_musicAudioDevice
{
nullptr
};
25
MythUICheckBox
*
m_musicDefaultUpmix
{
nullptr
};
26
MythUITextEdit
*
m_musicCDDevice
{
nullptr
};
27
MythUITextEdit
*
m_nonID3FileNameFormat
{
nullptr
};
28
MythUICheckBox
*
m_ignoreID3Tags
{
nullptr
};
29
MythUICheckBox
*
m_allowTagWriting
{
nullptr
};
30
MythUIButton
*
m_resetDBButton
{
nullptr
};
31
MythUIButton
*
m_saveButton
{
nullptr
};
32
MythUIButton
*
m_cancelButton
{
nullptr
};
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
mythuitextedit.h
slots
unsigned int slots[4]
Definition:
element.c:38
MythScreenStack
Definition:
mythscreenstack.h:15
GeneralSettings::m_musicDefaultUpmix
MythUICheckBox * m_musicDefaultUpmix
Definition:
generalsettings.h:25
mythuibutton.h
MythUICheckBox
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Definition:
mythuicheckbox.h:15
mythscreentype.h
GeneralSettings::m_resetDBButton
MythUIButton * m_resetDBButton
Definition:
generalsettings.h:30
GeneralSettings::~GeneralSettings
~GeneralSettings()=default
GeneralSettings::m_musicAudioDevice
MythUITextEdit * m_musicAudioDevice
Definition:
generalsettings.h:24
MythUITextEdit
A text entry and edit widget.
Definition:
mythuitextedit.h:32
GeneralSettings::m_allowTagWriting
MythUICheckBox * m_allowTagWriting
Definition:
generalsettings.h:29
GeneralSettings::slotResetDB
void slotResetDB(void)
Definition:
generalsettings.cpp:98
GeneralSettings::slotSave
void slotSave(void)
Definition:
generalsettings.cpp:151
GeneralSettings
Definition:
globalsettings.h:120
MythUIButton
A single button widget.
Definition:
mythuibutton.h:21
GeneralSettings::m_cancelButton
MythUIButton * m_cancelButton
Definition:
generalsettings.h:32
GeneralSettings::m_nonID3FileNameFormat
MythUITextEdit * m_nonID3FileNameFormat
Definition:
generalsettings.h:27
GeneralSettings::Create
bool Create(void) override
Definition:
generalsettings.cpp:14
mythuitext.h
GeneralSettings::m_ignoreID3Tags
MythUICheckBox * m_ignoreID3Tags
Definition:
generalsettings.h:28
mythuicheckbox.h
GeneralSettings::slotDoResetDB
static void slotDoResetDB(bool ok)
Definition:
generalsettings.cpp:104
mythuispinbox.h
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition:
mythscreentype.h:40
GeneralSettings::GeneralSettings
GeneralSettings(MythScreenStack *parent, const char *name=nullptr)
Definition:
generalsettings.h:17
GeneralSettings::m_musicCDDevice
MythUITextEdit * m_musicCDDevice
Definition:
generalsettings.h:26
GeneralSettings::m_saveButton
MythUIButton * m_saveButton
Definition:
generalsettings.h:31
Generated on Sat Dec 7 2019 03:15:26 for MythTV by
1.8.15