7 Module implementing the Subversion configuration page. |
7 Module implementing the Subversion configuration page. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtCore import pyqtSlot |
10 from PyQt6.QtCore import pyqtSlot |
11 |
11 |
12 from Preferences.ConfigurationPages.ConfigurationPageBase import ConfigurationPageBase |
12 from eric7.Preferences.ConfigurationPages.ConfigurationPageBase import ( |
|
13 ConfigurationPageBase, |
|
14 ) |
13 from .Ui_SubversionPage import Ui_SubversionPage |
15 from .Ui_SubversionPage import Ui_SubversionPage |
14 |
16 |
15 |
17 |
16 class SubversionPage(ConfigurationPageBase, Ui_SubversionPage): |
18 class SubversionPage(ConfigurationPageBase, Ui_SubversionPage): |
17 """ |
19 """ |
42 @pyqtSlot() |
44 @pyqtSlot() |
43 def on_configButton_clicked(self): |
45 def on_configButton_clicked(self): |
44 """ |
46 """ |
45 Private slot to edit the Subversion config file. |
47 Private slot to edit the Subversion config file. |
46 """ |
48 """ |
47 from QScintilla.MiniEditor import MiniEditor |
49 from eric7.QScintilla.MiniEditor import MiniEditor |
48 |
50 |
49 cfgFile = self.__plugin.getConfigPath() |
51 cfgFile = self.__plugin.getConfigPath() |
50 editor = MiniEditor(cfgFile, "Properties", self) |
52 editor = MiniEditor(cfgFile, "Properties", self) |
51 editor.show() |
53 editor.show() |
52 |
54 |
53 @pyqtSlot() |
55 @pyqtSlot() |
54 def on_serversButton_clicked(self): |
56 def on_serversButton_clicked(self): |
55 """ |
57 """ |
56 Private slot to edit the Subversion servers file. |
58 Private slot to edit the Subversion servers file. |
57 """ |
59 """ |
58 from QScintilla.MiniEditor import MiniEditor |
60 from eric7.QScintilla.MiniEditor import MiniEditor |
59 |
61 |
60 serversFile = self.__plugin.getServersPath() |
62 serversFile = self.__plugin.getServersPath() |
61 editor = MiniEditor(serversFile, "Properties", self) |
63 editor = MiniEditor(serversFile, "Properties", self) |
62 editor.show() |
64 editor.show() |