Go to the documentation of this file.
87 infoMap.insert(
"name", name);
88 infoMap.insert(
"value", value);
90 item->SetTextFromMap(infoMap);
103 for (
const auto & pi : std::as_const(data))
bool CanTakeFocus(void) const
Return if this widget can accept input focus.
void SetCanTakeFocus(bool set=true)
Set whether this widget can take focus.
The info/details overlay.
QHash< QString, QString > InfoMap
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...
bool SetFocusWidget(MythUIType *widget=nullptr)
VisibleLevel m_infoVisible
Info list state.
void Display(const DataList &data)
Build list of key:value buttons.
static bool Assign(ContainerType *container, UIType *&item, const QString &name, bool *err=nullptr)
QList< DataItem > DataList
void CreateButton(const QString &name, const QString &value)
Populate a buttonlist item with name & value.
virtual void SetVisible(bool visible)
MythUIButtonList * m_btnList
Overlay buttonlist.
bool Hide(void)
Remove infolist from display.
MythScreenType & m_screen
Parent screen.