Go to the documentation of this file.
45 LOG(VB_GENERAL, LOG_ERR,
"Theme is missing critical theme elements.");
57 GetSetting(
"mythdvd.DVDPlayerCommand",
"Internal"));
63 "mythvideo.VideoAlternatePlayer",
"Internal"));
76 tr(
"This is the command used for any file "
77 "whose extension is not specifically defined. "
78 "You may also enter the name of one of the playback "
79 "plugins such as 'Internal'."));
81 tr(
"This can be any command to launch a DVD "
82 " player. Internal is the default. For other players, %d "
83 "will be substituted for the DVD device (e.g. /dev/dvd)."));
85 tr(
"This device must exist, and the user "
86 "playing the DVD needs to have read permission "
87 "on the device. 'default' will let the "
88 "MediaMonitor choose a device."));
90 tr(
"This path is the location your "
91 "operating system mounts Blu-ray discs."));
93 tr(
"If for some reason the default player "
94 "doesn't play a video, you can play it in an alternate "
95 "player by selecting 'Play in Alternate Player.'"));
97 tr(
"Some Blu-ray discs require that a player region be "
98 "explicitly set. Only change the value from "
99 "'No Region' if you encounter a disc which "
100 "fails to play citing a region mismatch."));
151 noRegion->SetData(0);
155 "The Americas, Southeast Asia, Japan"));
160 "Europe, Middle East, Africa, Oceania"));
165 "Eastern Europe, Central and South Asia"));
void fillRegionList(void)
MythUITextEdit * m_altPlayerEdit
MythUIType * GetChild(const QString &name) const
Get a named child of this UIType.
A text entry and edit widget.
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
#define LOG(_MASK_, _LEVEL_, _QSTRING_)
QString GetText(void) const
bool Create(void) override
MythUICheckBox * m_altCheck
MythUIType * GetFocusWidget(void) const
MythUIButtonList * m_blurayRegionList
void SetText(const QString &text, bool moveCursor=true)
MythUITextEdit * m_blurayMountEdit
MythUITextEdit * m_defaultPlayerEdit
void SetHelpText(const QString &text)
void BuildFocusList(void)
MythUITextEdit * m_dvdDriveEdit
MythUIButton * m_okButton
MythUITextEdit * m_dvdPlayerEdit
MythCoreContext * gCoreContext
This global variable contains the MythCoreContext instance for the app.
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
int GetNumSetting(const QString &key, int defaultval=0)
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
void SetCheckState(MythUIStateType::StateType state)
static bool LoadWindowFromXML(const QString &xmlfile, const QString &windowname, MythUIType *parent)
MythUIButton * m_cancelButton
virtual void SetVisible(bool visible)
void SaveSetting(const QString &key, int newValue)
MythUIStateType::StateType GetCheckState() const
QString GetSetting(const QString &key, const QString &defaultval="")