E5Gui/E5TextSpinBox.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1131
7781e396c903
--- a/E5Gui/E5TextSpinBox.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/E5Gui/E5TextSpinBox.py	Fri Mar 11 16:51:57 2011 +0100
@@ -5,11 +5,12 @@
 
 from PyQt4.QtGui import QSpinBox
 
+
 class E5TextSpinBox(QSpinBox):
     """
     Class implementing a spinbox with textual entries.
     """
-    def __init__(self, parent = None):
+    def __init__(self, parent=None):
         """
         Constructor
         
@@ -22,7 +23,7 @@
         self.setMinimum(0)
         self.setMaximum(0)
     
-    def addItem(self, txt, data = None):
+    def addItem(self, txt, data=None):
         """
         Public method to add an item with item data.
         

eric ide

mercurial