Debugger/StartDialog.py

changeset 6891
93f82da09f22
parent 6720
ba02b7a62dbc
equal deleted inserted replaced
6890:26c1042f2eec 6891:93f82da09f22
191 if self.dialogType == 0: 191 if self.dialogType == 0:
192 return (self.ui.tracePythonCheckBox.isChecked(), 192 return (self.ui.tracePythonCheckBox.isChecked(),
193 self.ui.autoContinueCheckBox.isChecked(), 193 self.ui.autoContinueCheckBox.isChecked(),
194 self.ui.forkModeCheckBox.isChecked(), 194 self.ui.forkModeCheckBox.isChecked(),
195 self.ui.forkChildCheckBox.isChecked()) 195 self.ui.forkChildCheckBox.isChecked())
196 else:
197 return (False, False, False, False)
196 198
197 def getRunData(self): 199 def getRunData(self):
198 """ 200 """
199 Public method to retrieve the debug related data entered into this 201 Public method to retrieve the debug related data entered into this
200 dialog. 202 dialog.
205 (boolean) 207 (boolean)
206 """ 208 """
207 if self.dialogType == 1: 209 if self.dialogType == 1:
208 return (self.ui.forkModeCheckBox.isChecked(), 210 return (self.ui.forkModeCheckBox.isChecked(),
209 self.ui.forkChildCheckBox.isChecked()) 211 self.ui.forkChildCheckBox.isChecked())
212 else:
213 return (False, False)
210 214
211 def getCoverageData(self): 215 def getCoverageData(self):
212 """ 216 """
213 Public method to retrieve the coverage related data entered into this 217 Public method to retrieve the coverage related data entered into this
214 dialog. 218 dialog.
215 219
216 @return flag indicating erasure of coverage info (boolean) 220 @return flag indicating erasure of coverage info (boolean)
217 """ 221 """
218 if self.dialogType == 2: 222 if self.dialogType == 2:
219 return self.ui.eraseCheckBox.isChecked() 223 return self.ui.eraseCheckBox.isChecked()
224 else:
225 return False
220 226
221 def getProfilingData(self): 227 def getProfilingData(self):
222 """ 228 """
223 Public method to retrieve the profiling related data entered into this 229 Public method to retrieve the profiling related data entered into this
224 dialog. 230 dialog.
225 231
226 @return flag indicating erasure of profiling info (boolean) 232 @return flag indicating erasure of profiling info (boolean)
227 """ 233 """
228 if self.dialogType == 3: 234 if self.dialogType == 3:
229 return self.ui.eraseCheckBox.isChecked() 235 return self.ui.eraseCheckBox.isChecked()
236 else:
237 return False
230 238
231 def __clearHistories(self): 239 def __clearHistories(self):
232 """ 240 """
233 Private slot to clear the combo boxes lists and record a flag to 241 Private slot to clear the combo boxes lists and record a flag to
234 clear the lists. 242 clear the lists.

eric ide

mercurial