src/eric7/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py

branch
eric7
changeset 10437
2f70ca07f0af
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10436:f6881d10e995 10437:2f70ca07f0af
26 26
27 def __init__(self, parent=None): 27 def __init__(self, parent=None):
28 """ 28 """
29 Constructor 29 Constructor
30 30
31 @param parent parent widget (QWidget) 31 @param parent parent widget
32 @type QWidget
32 """ 33 """
33 super().__init__(parent) 34 super().__init__(parent)
34 self.setupUi(self) 35 self.setupUi(self)
35 36
36 # set the validators for the double line edits 37 # set the validators for the double line edits
87 88
88 def on_buttonBox_clicked(self, button): 89 def on_buttonBox_clicked(self, button):
89 """ 90 """
90 Private slot called by a button of the button box clicked. 91 Private slot called by a button of the button box clicked.
91 92
92 @param button button that was clicked (QAbstractButton) 93 @param button button that was clicked
94 @type QAbstractButton
93 """ 95 """
94 if button == self.bTest: 96 if button == self.bTest:
95 self.on_bTest_clicked() 97 self.on_bTest_clicked()
96 98
97 @pyqtSlot() 99 @pyqtSlot()
155 157
156 def getCode(self, indLevel, indString): 158 def getCode(self, indLevel, indString):
157 """ 159 """
158 Public method to get the source code for Qt6. 160 Public method to get the source code for Qt6.
159 161
160 @param indLevel indentation level (int) 162 @param indLevel indentation level
161 @param indString string used for indentation (space or tab) (string) 163 @type int
162 @return generated code (string) 164 @param indString string used for indentation (space or tab)
165 @type str
166 @return generated code
167 @rtype str
163 """ 168 """
164 # calculate our indentation level and the indentation string 169 # calculate our indentation level and the indentation string
165 il = indLevel + 1 170 il = indLevel + 1
166 istring = il * indString 171 istring = il * indString
167 estring = os.linesep + indLevel * indString 172 estring = os.linesep + indLevel * indString

eric ide

mercurial