MythTV
master
mythtv
programs
mythfrontend
videoplayersettings.h
Go to the documentation of this file.
1
#ifndef PLAYERSETTINGS_H
2
#define PLAYERSETTINGS_H
3
4
// MythTV
5
#include "
libmythui/mythdialogbox.h
"
6
#include "
libmythui/mythscreentype.h
"
7
#include "
libmythui/mythuibutton.h
"
8
#include "
libmythui/mythuibuttonlist.h
"
9
#include "
libmythui/mythuicheckbox.h
"
10
11
class
PlayerSettings
:
public
MythScreenType
12
{
13
Q_OBJECT
14
15
public
:
16
17
explicit
PlayerSettings
(
MythScreenStack
*parent,
const
char
*name =
nullptr
)
18
:
MythScreenType
(parent, name) {}
19
~PlayerSettings
()
override
=
default
;
20
21
bool
Create
(
void
)
override
;
// MythScreenType
22
bool
keyPressEvent
(QKeyEvent *event)
override
;
// MythScreenType
23
24
private
:
25
MythUITextEdit
*
m_defaultPlayerEdit
{
nullptr
};
26
MythUITextEdit
*
m_dvdPlayerEdit
{
nullptr
};
27
MythUITextEdit
*
m_dvdDriveEdit
{
nullptr
};
28
MythUITextEdit
*
m_blurayMountEdit
{
nullptr
};
29
MythUITextEdit
*
m_altPlayerEdit
{
nullptr
};
30
31
MythUIButtonList
*
m_blurayRegionList
{
nullptr
};
32
33
MythUICheckBox
*
m_altCheck
{
nullptr
};
34
35
MythUIButton
*
m_okButton
{
nullptr
};
36
MythUIButton
*
m_cancelButton
{
nullptr
};
37
38
private
slots:
39
void
slotSave
(
void
);
40
void
toggleAlt
(
void
);
41
void
fillRegionList
(
void
);
42
};
43
44
#endif
45
PlayerSettings::fillRegionList
void fillRegionList(void)
Definition:
videoplayersettings.cpp:146
PlayerSettings::slotSave
void slotSave(void)
Definition:
videoplayersettings.cpp:110
PlayerSettings::m_altPlayerEdit
MythUITextEdit * m_altPlayerEdit
Definition:
videoplayersettings.h:29
mythdialogbox.h
MythScreenStack
Definition:
mythscreenstack.h:16
MythUITextEdit
A text entry and edit widget.
Definition:
mythuitextedit.h:34
PlayerSettings::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition:
videoplayersettings.cpp:129
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition:
mythscreentype.h:45
PlayerSettings::Create
bool Create(void) override
Definition:
videoplayersettings.cpp:17
PlayerSettings::m_altCheck
MythUICheckBox * m_altCheck
Definition:
videoplayersettings.h:33
mythuibuttonlist.h
PlayerSettings::PlayerSettings
PlayerSettings(MythScreenStack *parent, const char *name=nullptr)
Definition:
videoplayersettings.h:17
PlayerSettings::m_blurayRegionList
MythUIButtonList * m_blurayRegionList
Definition:
videoplayersettings.h:31
PlayerSettings::m_blurayMountEdit
MythUITextEdit * m_blurayMountEdit
Definition:
videoplayersettings.h:28
PlayerSettings::m_defaultPlayerEdit
MythUITextEdit * m_defaultPlayerEdit
Definition:
videoplayersettings.h:25
PlayerSettings::m_dvdDriveEdit
MythUITextEdit * m_dvdDriveEdit
Definition:
videoplayersettings.h:27
MythUIButton
A single button widget.
Definition:
mythuibutton.h:21
PlayerSettings::~PlayerSettings
~PlayerSettings() override=default
PlayerSettings::m_okButton
MythUIButton * m_okButton
Definition:
videoplayersettings.h:35
PlayerSettings::m_dvdPlayerEdit
MythUITextEdit * m_dvdPlayerEdit
Definition:
videoplayersettings.h:26
MythUICheckBox
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Definition:
mythuicheckbox.h:15
PlayerSettings::m_cancelButton
MythUIButton * m_cancelButton
Definition:
videoplayersettings.h:36
mythuibutton.h
mythuicheckbox.h
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition:
mythuibuttonlist.h:191
PlayerSettings::toggleAlt
void toggleAlt(void)
Definition:
videoplayersettings.cpp:137
mythscreentype.h
PlayerSettings
Definition:
videoplayersettings.h:11
Generated on Mon Nov 25 2024 03:16:20 for MythTV by
1.8.17