Preferences/ToolGroupConfigurationDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a configuration dialog for the tools menu. 7 Module implementing a configuration dialog for the tools menu.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 import copy 12 import copy
11 13
12 from PyQt4.QtCore import Qt, pyqtSlot 14 from PyQt4.QtCore import Qt, pyqtSlot
13 from PyQt4.QtGui import QDialog 15 from PyQt4.QtGui import QDialog
27 29
28 @param toolGroups list of configured tool groups 30 @param toolGroups list of configured tool groups
29 @param currentGroup number of the active group (integer) 31 @param currentGroup number of the active group (integer)
30 @param parent parent widget (QWidget) 32 @param parent parent widget (QWidget)
31 """ 33 """
32 super().__init__(parent) 34 super(ToolGroupConfigurationDialog, self).__init__(parent)
33 self.setupUi(self) 35 self.setupUi(self)
34 36
35 self.currentGroup = currentGroup 37 self.currentGroup = currentGroup
36 self.toolGroups = copy.deepcopy(toolGroups) 38 self.toolGroups = copy.deepcopy(toolGroups)
37 for group in toolGroups: 39 for group in toolGroups:

eric ide

mercurial