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
MythScreenStack
Definition:
mythscreenstack.h:17
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition:
mythscreentype.h:46
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition:
mythuibuttonlist.h:193
MythUIButton
A single button widget.
Definition:
mythuibutton.h:22
MythUICheckBox
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Definition:
mythuicheckbox.h:16
MythUITextEdit
A text entry and edit widget.
Definition:
mythuitextedit.h:35
PlayerSettings
Definition:
videoplayersettings.h:12
PlayerSettings::m_cancelButton
MythUIButton * m_cancelButton
Definition:
videoplayersettings.h:36
PlayerSettings::m_blurayRegionList
MythUIButtonList * m_blurayRegionList
Definition:
videoplayersettings.h:31
PlayerSettings::m_defaultPlayerEdit
MythUITextEdit * m_defaultPlayerEdit
Definition:
videoplayersettings.h:25
PlayerSettings::m_dvdPlayerEdit
MythUITextEdit * m_dvdPlayerEdit
Definition:
videoplayersettings.h:26
PlayerSettings::m_altPlayerEdit
MythUITextEdit * m_altPlayerEdit
Definition:
videoplayersettings.h:29
PlayerSettings::~PlayerSettings
~PlayerSettings() override=default
PlayerSettings::Create
bool Create(void) override
Definition:
videoplayersettings.cpp:18
PlayerSettings::toggleAlt
void toggleAlt(void)
Definition:
videoplayersettings.cpp:138
PlayerSettings::fillRegionList
void fillRegionList(void)
Definition:
videoplayersettings.cpp:147
PlayerSettings::m_altCheck
MythUICheckBox * m_altCheck
Definition:
videoplayersettings.h:33
PlayerSettings::slotSave
void slotSave(void)
Definition:
videoplayersettings.cpp:111
PlayerSettings::m_okButton
MythUIButton * m_okButton
Definition:
videoplayersettings.h:35
PlayerSettings::m_blurayMountEdit
MythUITextEdit * m_blurayMountEdit
Definition:
videoplayersettings.h:28
PlayerSettings::m_dvdDriveEdit
MythUITextEdit * m_dvdDriveEdit
Definition:
videoplayersettings.h:27
PlayerSettings::PlayerSettings
PlayerSettings(MythScreenStack *parent, const char *name=nullptr)
Definition:
videoplayersettings.h:17
PlayerSettings::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition:
videoplayersettings.cpp:130
mythdialogbox.h
mythscreentype.h
mythuibutton.h
mythuibuttonlist.h
mythuicheckbox.h
Generated on Tue Feb 10 2026 03:15:58 for MythTV by
1.9.4