Go to the documentation of this file.
23 #ifndef MYTHCONTROLS_H
24 #define MYTHCONTROLS_H
66 bool Create(
void)
override;
90 const QStringList & contents,
118 void Close(
void)
override;
Image widget, displays a single image or multiple images in sequence.
QHash< QString, QStringList > m_contexts
actions for a given context
QList< MythUIButton * > m_actionButtons
void DeleteKey(void)
Delete the currently active key to action mapping.
void ChangeView(void)
Change the view.
Main header for keybinding classes.
Screen in which all other widgets are contained and rendered.
static void SetListContents(MythUIButtonList *uilist, const QStringList &contents, bool arrows=false)
Set the contents of a list.
QString GetCurrentContext(void)
Get the currently selected context string.
void ResolveConflict(ActionID *conflict, int error_level, const QString &key)
Resolve a potential conflict.
void ChangeButtonFocus(int direction)
Change button focus in a particular direction.
Encapsulates information about the current keybindings.
QString GetCurrentKey(void)
Get the currently selected key string.
void CommitChanges(void)
Commit all changes made to the keybindings.
MythDialogBox * m_menuPopup
void RefreshKeyInformation(void)
Updates the list of keys that are shown and the description of the action.
Basic menu dialog, message and a list of options.
void LeftPressed(MythUIButtonListItem *item)
Slot handling a button being pressed in the left list.
KeyBindings::Filter m_filters
MythUIText * m_leftDescription
MythUIText * m_description
void AddKeyToAction(const QString &key, bool ignoreconflict)
Add a key to the currently selected action.
QString GetTypeDesc(ListType type) const
uint GetCurrentButton(void)
Returns the focused button, or Action::kMaximumNumberOfBindings if no buttons are focued.
All purpose text widget, displays a text string.
QString GetCurrentAction(void)
Get the currently selected action string.
void RightSelected(MythUIButtonListItem *item)
Refreshes key information when an item in the right list is selected.
QStringList m_sortedContexts
sorted list of contexts
void RightPressed(MythUIButtonListItem *item)
Slot handling a button being pressed in the left list.
bool Create(void) override
Loads UI elements from theme.
A class that uniquely identifies an action.
Screen for managing and configuring keyboard input bindings.
void UpdateRightList(void)
Update the right list.
void customEvent(QEvent *event) override
MythUIButtonList * m_rightList
void ShowMenu(void) override
void LeftSelected(MythUIButtonListItem *item)
Refreshes the right list when an item in the left list is selected.
MythControls(MythScreenStack *parent, const char *name, KeyBindings::Filter Filters=KeyBindings::AllBindings)
Creates a new MythControls wizard.
void LoadData(const QString &hostname)
Load the settings for a particular host.
MythUIButtonList * m_leftList
void ActionButtonPressed()
Slot handling a button being pressed in the left list.
MythUIText * m_rightDescription
void Close(void) override