Preferences/ShortcutsDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2408
dc3a7c9d8f6e
child 2677
3d4277929fb3
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
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

eric ide

mercurial