116 |
116 |
117 if type == 3: # start coverage or profile dialog |
117 if type == 3: # start coverage or profile dialog |
118 self.ui.eraseCheckBox.setChecked(True) |
118 self.ui.eraseCheckBox.setChecked(True) |
119 |
119 |
120 self.__clearHistoryLists = False |
120 self.__clearHistoryLists = False |
|
121 self.__historiesModified = False |
121 |
122 |
122 msh = self.minimumSizeHint() |
123 msh = self.minimumSizeHint() |
123 self.resize(max(self.width(), msh.width()), msh.height()) |
124 self.resize(max(self.width(), msh.width()), msh.height()) |
124 |
125 |
125 def on_modFuncCombo_editTextChanged(self): |
126 def on_modFuncCombo_editTextChanged(self): |
136 @return a tuple of argv (string), workdir (string), environment |
137 @return a tuple of argv (string), workdir (string), environment |
137 (string), exceptions flag (boolean), clear interpreter flag |
138 (string), exceptions flag (boolean), clear interpreter flag |
138 (boolean), clear histories flag (boolean) and run in console |
139 (boolean), clear histories flag (boolean) and run in console |
139 flag (boolean) |
140 flag (boolean) |
140 """ |
141 """ |
|
142 # TODO: add the complete histories |
141 cmdLine = self.ui.cmdlineCombo.currentText() |
143 cmdLine = self.ui.cmdlineCombo.currentText() |
142 workdir = self.ui.workdirPicker.currentText() |
144 workdir = self.ui.workdirPicker.currentText() |
143 environment = self.ui.environmentCombo.currentText() |
145 environment = self.ui.environmentCombo.currentText() |
144 |
146 |
145 return (cmdLine, |
147 return (cmdLine, |
260 combo = self.ui.workdirPicker |
262 combo = self.ui.workdirPicker |
261 else: |
263 else: |
262 combo = self.ui.environmentCombo |
264 combo = self.ui.environmentCombo |
263 combo.clear() |
265 combo.clear() |
264 combo.addItems(history) |
266 combo.addItems(history) |
|
267 |
|
268 self.__historiesModified = True |
265 |
269 |
266 def on_buttonBox_clicked(self, button): |
270 def on_buttonBox_clicked(self, button): |
267 """ |
271 """ |
268 Private slot called by a button of the button box clicked. |
272 Private slot called by a button of the button box clicked. |
269 |
273 |