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