49 def polishPage(self): |
49 def polishPage(self): |
50 """ |
50 """ |
51 Public slot to perform some polishing actions. |
51 Public slot to perform some polishing actions. |
52 """ |
52 """ |
53 names = self.__plugin.getCodeAssistServer().connectionNames() |
53 names = self.__plugin.getCodeAssistServer().connectionNames() |
54 self.python3Button.setEnabled("Python3" in names) |
54 self.createPython3Button.setEnabled("Python3" in names) |
|
55 self.editPython3Button.setEnabled("Python3" in names) |
55 |
56 |
56 @pyqtSlot() |
57 @pyqtSlot() |
57 def on_python3Button_clicked(self): |
58 def on_editPython3Button_clicked(self): |
58 """ |
59 """ |
59 Private slot to edit the rope configuration for Python 3. |
60 Private slot to edit the rope configuration for Python 3. |
60 """ |
61 """ |
61 self.__plugin.getCodeAssistServer().editConfig("Python3") |
62 self.__plugin.getCodeAssistServer().editConfig("Python3") |
|
63 |
|
64 @pyqtSlot() |
|
65 def on_createPython3Button_clicked(self): |
|
66 """ |
|
67 Private slot to create a new default rope configuration for Python 3. |
|
68 """ |
|
69 self.__plugin.getCodeAssistServer().createConfig("Python3") |