11 |
11 |
12 from PyQt4.QtCore import * |
12 from PyQt4.QtCore import * |
13 from PyQt4.QtGui import * |
13 from PyQt4.QtGui import * |
14 |
14 |
15 from .Ui_InputDialogWizardDialog import Ui_InputDialogWizardDialog |
15 from .Ui_InputDialogWizardDialog import Ui_InputDialogWizardDialog |
|
16 |
16 |
17 |
17 class InputDialogWizardDialog(QDialog, Ui_InputDialogWizardDialog): |
18 class InputDialogWizardDialog(QDialog, Ui_InputDialogWizardDialog): |
18 """ |
19 """ |
19 Class implementing the input dialog wizard dialog. |
20 Class implementing the input dialog wizard dialog. |
20 |
21 |
168 code += 'self.trUtf8("{0}"),{1}{2}'.format( |
169 code += 'self.trUtf8("{0}"),{1}{2}'.format( |
169 self.eCaption.text(), os.linesep, istring) |
170 self.eCaption.text(), os.linesep, istring) |
170 code += 'self.trUtf8("{0}"),{1}{2}'.format( |
171 code += 'self.trUtf8("{0}"),{1}{2}'.format( |
171 self.eLabel.text(), os.linesep, istring) |
172 self.eLabel.text(), os.linesep, istring) |
172 code += '{0}, {1}, {2}, {3:d}){4}'.format( |
173 code += '{0}, {1}, {2}, {3:d}){4}'.format( |
173 doubleDefault, doubleFrom, doubleTo, |
174 doubleDefault, doubleFrom, doubleTo, |
174 self.sDoubleDecimals.value(), estring) |
175 self.sDoubleDecimals.value(), estring) |
175 elif self.rItem.isChecked(): |
176 elif self.rItem.isChecked(): |
176 code += 'getItem({0}{1}'.format(os.linesep, istring) |
177 code += 'getItem({0}{1}'.format(os.linesep, istring) |
177 code += 'None,{0}{1}'.format(os.linesep, istring) |
178 code += 'None,{0}{1}'.format(os.linesep, istring) |
178 code += 'self.trUtf8("{0}"),{1}{2}'.format( |
179 code += 'self.trUtf8("{0}"),{1}{2}'.format( |