Preferences/ToolGroupConfigurationDialog.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1112
8a7d1b9d18db
--- a/Preferences/ToolGroupConfigurationDialog.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/Preferences/ToolGroupConfigurationDialog.py	Fri Mar 11 16:51:57 2011 +0100
@@ -16,11 +16,12 @@
 
 from .Ui_ToolGroupConfigurationDialog import Ui_ToolGroupConfigurationDialog
 
+
 class ToolGroupConfigurationDialog(QDialog, Ui_ToolGroupConfigurationDialog):
     """
     Class implementing a configuration dialog for the tool groups.
     """
-    def __init__(self, toolGroups, currentGroup, parent = None):
+    def __init__(self, toolGroups, currentGroup, parent=None):
         """
         Constructor
         
@@ -111,7 +112,7 @@
             self.trUtf8("""<p>Do you really want to delete the tool group"""
                         """ <b>"{0}"</b>?</p>""")\
                 .format(self.groupsList.currentItem().text()),
-            icon = E5MessageBox.Warning)
+            icon=E5MessageBox.Warning)
         if not res:
             return
         
@@ -188,7 +189,7 @@
         
     def getToolGroups(self):
         """
-        Public method to retrieve the tool groups. 
+        Public method to retrieve the tool groups.
         
         @return a list of lists containing the group name and the
             tool group entries
@@ -204,4 +205,4 @@
         """
         tmp = self.toolGroups[itm1]
         self.toolGroups[itm1] = self.toolGroups[itm2]
-        self.toolGroups[itm2] = tmp
\ No newline at end of file
+        self.toolGroups[itm2] = tmp

eric ide

mercurial