Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py

changeset 564
b3d966393ba9
parent 446
69aac6eeba9b
child 791
9ec2ac20e54e
diff -r e35d2cda9a74 -r b3d966393ba9 Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py
--- a/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py	Sat Sep 04 19:51:19 2010 +0200
+++ b/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py	Sat Sep 04 19:51:48 2010 +0200
@@ -31,11 +31,11 @@
         self.setupUi(self)
         
         # set the validators for the double line edots
-        self.eDoubleDefault.setValidator(\
+        self.eDoubleDefault.setValidator(
             QDoubleValidator(-2147483647, 2147483647, 99, self.eDoubleDefault))
-        self.eDoubleFrom.setValidator(\
+        self.eDoubleFrom.setValidator(
             QDoubleValidator(-2147483647, 2147483647, 99, self.eDoubleFrom))
-        self.eDoubleTo.setValidator(\
+        self.eDoubleTo.setValidator(
             QDoubleValidator(-2147483647, 2147483647, 99, self.eDoubleTo))
         
         self.bTest = \
@@ -71,14 +71,14 @@
                 echomode = QLineEdit.NoEcho
             else:
                 echomode = QLineEdit.Password
-            QInputDialog.getText(\
+            QInputDialog.getText(
                 None,
                 self.eCaption.text(),
                 self.eLabel.text(),
                 echomode,
                 self.eTextDefault.text())
         elif self.rInteger.isChecked():
-            QInputDialog.getInteger(\
+            QInputDialog.getInteger(
                 None,
                 self.eCaption.text(),
                 self.eLabel.text(),
@@ -99,7 +99,7 @@
                 doubleTo = float(self.eDoubleTo.text())
             except ValueError:
                 doubleTo = 2147483647
-            QInputDialog.getDouble(\
+            QInputDialog.getDouble(
                 None,
                 self.eCaption.text(),
                 self.eLabel.text(),
@@ -193,4 +193,4 @@
         @param indString string used for indentation (space or tab) (string)
         @return generated code (string)
         """
-        return self.__getCode4(indLevel, indString)
+        return self.__getCode4(indLevel, indString)
\ No newline at end of file

eric ide

mercurial