eric6/Debugger/StartDialog.py

branch
multi_processing
changeset 7882
617cc27f11af
parent 7874
8dcb77600690
child 7901
6ff7ccf0cb50
equal deleted inserted replaced
7881:6c09c023cda5 7882:617cc27f11af
160 160
161 def getData(self): 161 def getData(self):
162 """ 162 """
163 Public method to retrieve the data entered into this dialog. 163 Public method to retrieve the data entered into this dialog.
164 164
165 @return a tuple of interpreter (string), argv (string), workdir 165 @return a tuple of interpreter, argv, workdir, environment,
166 (string), environment (string), exceptions flag (boolean), 166 exceptions flag, clear interpreter flag and run in console flag
167 clear interpreter flag (boolean) and run in console flag (boolean) 167 @rtype tuple of (str, str, str, str, bool, bool, bool)
168 """ 168 """
169 cmdLine = self.ui.cmdlineCombo.currentText() 169 cmdLine = self.ui.cmdlineCombo.currentText()
170 workdir = self.ui.workdirPicker.currentText(toNative=False) 170 workdir = self.ui.workdirPicker.currentText(toNative=False)
171 environment = self.ui.environmentCombo.currentText() 171 environment = self.ui.environmentCombo.currentText()
172 venvName = self.ui.venvComboBox.currentText() 172 venvName = self.ui.venvComboBox.currentText()
203 def getCoverageData(self): 203 def getCoverageData(self):
204 """ 204 """
205 Public method to retrieve the coverage related data entered into this 205 Public method to retrieve the coverage related data entered into this
206 dialog. 206 dialog.
207 207
208 @return flag indicating erasure of coverage info (boolean) 208 @return flag indicating erasure of coverage info
209 @rtype bool
209 """ 210 """
210 if self.dialogType == 2: 211 if self.dialogType == 2:
211 return self.ui.eraseCheckBox.isChecked() 212 return self.ui.eraseCheckBox.isChecked()
212 else: 213 else:
213 return False 214 return False
215 def getProfilingData(self): 216 def getProfilingData(self):
216 """ 217 """
217 Public method to retrieve the profiling related data entered into this 218 Public method to retrieve the profiling related data entered into this
218 dialog. 219 dialog.
219 220
220 @return flag indicating erasure of profiling info (boolean) 221 @return flag indicating erasure of profiling info
222 @rtype bool
221 """ 223 """
222 if self.dialogType == 3: 224 if self.dialogType == 3:
223 return self.ui.eraseCheckBox.isChecked() 225 return self.ui.eraseCheckBox.isChecked()
224 else: 226 else:
225 return False 227 return False
342 344
343 def on_buttonBox_clicked(self, button): 345 def on_buttonBox_clicked(self, button):
344 """ 346 """
345 Private slot called by a button of the button box clicked. 347 Private slot called by a button of the button box clicked.
346 348
347 @param button button that was clicked (QAbstractButton) 349 @param button button that was clicked
350 @type QAbstractButton
348 """ 351 """
349 if button == self.clearButton: 352 if button == self.clearButton:
350 self.__clearHistories() 353 self.__clearHistories()
351 elif button == self.editButton: 354 elif button == self.editButton:
352 self.__editHistory() 355 self.__editHistory()

eric ide

mercurial