45 LOG(VB_GENERAL, LOG_ERR,
"Theme is missing critical theme elements.");
51 if (unknownSetting == 1)
56 if (autoMetaSetting == 1)
61 if (loadMetaSetting == 1)
66 if (trailerSetting == 1)
71 "mythvideo.TrailersRandomCount"));
85 tr(
"If set, this will enable a button "
86 "called \"Watch With Trailers\" which will "
87 "play a user-specified number of trailers "
88 "before the movie."));
91 tr(
"If set, all files below the MythVideo "
92 "directory will be displayed unless their "
93 "extension is explicitly set to be ignored."));
95 tr(
"If set, every time a scan for new videos "
96 "is performed, a mass metadata update of the "
97 "collection will also occur."));
99 tr(
"If set along with Browse Files, this "
100 "will cause the Video List to load any known video meta"
101 "data from the database. Turning this off can greatly "
102 "speed up how long it takes to load the Video List tree."));
116 int listUnknownState = 0;
118 listUnknownState = 1;
121 int autoMetaState = 0;
126 int loadMetaState = 0;
131 int trailerState = 0;
void SaveSetting(const QString &key, int newValue)
int GetNumSetting(const QString &key, int defaultval=0)
void BuildFocusList(void)
MythUIType * GetFocusWidget(void) const
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
void SetCheckState(MythUIStateType::StateType state)
MythUIStateType::StateType GetCheckState() const
A widget for offering a range of numerical values where only the the bounding values and interval are...
void SetRange(int low, int high, int step, uint pageMultiple=5)
Set the lower and upper bounds of the spinbox, the interval and page amount.
void SetValue(int val) override
QString GetValue(void) const override
virtual void SetVisible(bool visible)
void SetHelpText(const QString &text)
MythUIType * GetChild(const QString &name) const
Get a named child of this UIType.
static bool LoadWindowFromXML(const QString &xmlfile, const QString &windowname, MythUIType *parent)
MythCoreContext * gCoreContext
This global variable contains the MythCoreContext instance for the app.
#define LOG(_MASK_, _LEVEL_, _QSTRING_)