eric3.Preferences.ShortcutsDialog

Module implementing a dialog for the configuration of eric3s keyboard shortcuts.

Classes

ShortcutsDialog Class implementing a dialog for the configuration of eric3s keyboard shortcuts.

Functions

None

ShortcutsDialog

Class implementing a dialog for the configuration of eric3s keyboard shortcuts.

Derived from

ShortcutsForm

Methods

ShortcutsDialog Constructor
checkShortcut Private method to check a keysequence for uniqueness.
handleDoubleClicked Private slot to handle a double click in the shortcuts list view.
handleOk Private slot to handle the OK button press.
handleShortcutChanged Private slot to handle the shortcutChanged signal of the shortcut dialog.
showEvent Public method called when the dialog is about to be shown.

ShortcutsDialog (Constructor)

ShortcutsDialog(parent = None, name = None, modal = 0, fl = 0)

Constructor

fl
The window flags.
modal
Flag indicating a modal dialog. (boolean)
name
The name of this dialog. (QString)
parent
The parent widget of this dialog. (QWidget)

ShortcutsDialog.checkShortcut

checkShortcut(keysequence)

Private method to check a keysequence for uniqueness.

keysequence
the keysequence to check (QKeySequence)
Returns:
flag indicating uniqueness (boolean)

ShortcutsDialog.handleDoubleClicked

handleDoubleClicked(itm)

Private slot to handle a double click in the shortcuts list view.

itm
The listview item that was double clicked (QListViewItem)

ShortcutsDialog.handleOk

handleOk()

Private slot to handle the OK button press.

ShortcutsDialog.handleShortcutChanged

handleShortcutChanged(keysequence, altKeysequence)

Private slot to handle the shortcutChanged signal of the shortcut dialog.

altKeysequence
the alternative keysequence of the changed action (QKeySequence)
keysequence
the keysequence of the changed action (QKeySequence)

ShortcutsDialog.showEvent

showEvent(evt)

Public method called when the dialog is about to be shown.

evt
the event (QShowEvent)

Up