136 """ |
135 """ |
137 Public method to store the entered/modified data. |
136 Public method to store the entered/modified data. |
138 """ |
137 """ |
139 self.project.debugProperties["VIRTUALENV"] = \ |
138 self.project.debugProperties["VIRTUALENV"] = \ |
140 self.venvComboBox.currentText() |
139 self.venvComboBox.currentText() |
141 if not self.project.debugProperties["INTERPRETER"]: |
|
142 if self.project.pdata["PROGLANGUAGE"] in \ |
|
143 ["Python", "Python2", "Python3"]: |
|
144 self.project.debugProperties["INTERPRETER"] = sys.executable |
|
145 elif self.project.pdata["PROGLANGUAGE"] == "Ruby": |
|
146 self.project.debugProperties["INTERPRETER"] = "/usr/bin/ruby" |
|
147 |
140 |
148 self.project.debugProperties["DEBUGCLIENT"] = \ |
141 self.project.debugProperties["DEBUGCLIENT"] = \ |
149 self.debugClientPicker.text() |
142 self.debugClientPicker.text() |
150 if not self.project.debugProperties["DEBUGCLIENT"]: |
143 if not self.project.debugProperties["DEBUGCLIENT"]: |
151 if self.project.pdata["PROGLANGUAGE"] in ["Python", "Python2", |
144 if self.project.pdata["PROGLANGUAGE"] in ["Python", "Python2", |
201 """ |
194 """ |
202 Private slot to clear the debug clients history. |
195 Private slot to clear the debug clients history. |
203 """ |
196 """ |
204 self.__clearHistory(self.debugClientPicker) |
197 self.__clearHistory(self.debugClientPicker) |
205 |
198 |
206 @pyqtSlot() |
|
207 def on_interpreterClearHistoryButton_clicked(self): |
|
208 """ |
|
209 Private slot to clear the interpreter history. |
|
210 """ |
|
211 self.__clearHistory(self.interpreterPicker) |
|
212 |
|
213 def __clearHistory(self, picker): |
199 def __clearHistory(self, picker): |
214 """ |
200 """ |
215 Private method to clear a path picker history. |
201 Private method to clear a path picker history. |
216 |
202 |
217 @param picker reference to the path picker |
203 @param picker reference to the path picker |