5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog for the configuration of eric5s keyboard shortcuts. |
7 Module implementing a dialog for the configuration of eric5s keyboard shortcuts. |
8 """ |
8 """ |
9 |
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
|
11 |
10 from PyQt4.QtCore import pyqtSignal, QRegExp, Qt, pyqtSlot |
12 from PyQt4.QtCore import pyqtSignal, QRegExp, Qt, pyqtSlot |
11 from PyQt4.QtGui import QKeySequence, QHeaderView, QDialog, QTreeWidgetItem |
13 from PyQt4.QtGui import QKeySequence, QHeaderView, QDialog, QTreeWidgetItem |
12 |
14 |
13 from E5Gui.E5Application import e5App |
15 from E5Gui.E5Application import e5App |
14 from E5Gui import E5MessageBox |
16 from E5Gui import E5MessageBox |
37 |
39 |
38 @param parent The parent widget of this dialog. (QWidget) |
40 @param parent The parent widget of this dialog. (QWidget) |
39 @param name The name of this dialog. (string) |
41 @param name The name of this dialog. (string) |
40 @param modal Flag indicating a modal dialog. (boolean) |
42 @param modal Flag indicating a modal dialog. (boolean) |
41 """ |
43 """ |
42 super().__init__(parent) |
44 super(ShortcutsDialog, self).__init__(parent) |
43 if name: |
45 if name: |
44 self.setObjectName(name) |
46 self.setObjectName(name) |
45 self.setModal(modal) |
47 self.setModal(modal) |
46 self.setupUi(self) |
48 self.setupUi(self) |
47 |
49 |