Go to the documentation of this file.
4 #ifndef PROG_INFO_LIST_H
5 #define PROG_INFO_LIST_H
20 using DataItem = std::tuple<QString, QString, int>;
27 bool Create(
bool focusable);
40 void CreateButton(
const QString &name,
const QString &value);
47 #endif // PROG_INFO_LIST_H
VisibleLevel GetLevel(void) const
std::tuple< QString, QString, int > DataItem
The info/details buttonlist overlay that displays key:data info.
ProgInfoList(MythScreenType &screen)
Screen in which all other widgets are contained and rendered.
bool Create(bool focusable)
Initialise buttonlist from XML.
void Toggle(void)
Toggle infolist state. Focusable widgets toggle between Basic & Full info. Non-focusable widgets togg...
VisibleLevel m_infoVisible
Info list state.
void Display(const DataList &data)
Build list of key:value buttons.
QList< DataItem > DataList
void CreateButton(const QString &name, const QString &value)
Populate a buttonlist item with name & value.
MythUIButtonList * m_btnList
Overlay buttonlist.
bool Hide(void)
Remove infolist from display.
MythScreenType & m_screen
Parent screen.