E5Gui/E5ToolBox.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1131
7781e396c903
diff -r 1b59c4ba121e -r 8cd4d08fa9f6 E5Gui/E5ToolBox.py
--- a/E5Gui/E5ToolBox.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/E5Gui/E5ToolBox.py	Fri Mar 11 16:51:57 2011 +0100
@@ -11,11 +11,12 @@
 
 from .E5TabWidget import E5TabWidget
 
+
 class E5VerticalToolBox(QToolBox):
     """
     Class implementing a ToolBox class substituting QToolBox to support wheel events.
     """
-    def __init__(self, parent = None):
+    def __init__(self, parent=None):
         """
         Constructor
         
@@ -43,11 +44,12 @@
         
         event.accept()
 
+
 class E5HorizontalToolBox(E5TabWidget):
     """
     Class implementing a vertical QToolBox like widget.
     """
-    def __init__(self, parent = None):
+    def __init__(self, parent=None):
         """
         Constructor
         
@@ -99,4 +101,4 @@
         @param index index of the item (integer)
         @param enabled flag indicating the enabled state (boolean)
         """
-        self.setTabEnabled(index, enabled)
\ No newline at end of file
+        self.setTabEnabled(index, enabled)

eric ide

mercurial