shortcutlistform¶
The shortcutlistform
module contains the form class
-
class
openlp.core.ui.shortcutlistform.
ShortcutListForm
(parent=None)[source]¶ Bases:
PyQt5.QtWidgets.QDialog
,openlp.core.ui.shortcutlistdialog.Ui_ShortcutListDialog
,openlp.core.common.registryproperties.RegistryProperties
The shortcut list dialog
Save the new alternate shortcut.
Restore the defaults of this action.
Restore the defaults of this action.
-
on_current_item_changed
(item=None, previousItem=None)[source]¶ A item has been pressed. We adjust the button’s text to the action’s shortcut which is encapsulate in the item.
The custom shortcut radio button was clicked, thus we have to restore the custom shortcuts by calling those functions triggered by button clicks.
The default radio button has been clicked, which means we have to make sure, that we use the default shortcuts for the action.
-
on_item_double_clicked
(item, column)[source]¶ A item has been double clicked. The
primaryPushButton
will be checked and the item’s shortcut will be displayed.
Save the new primary shortcut.