Plugins/VcsPlugins/vcsSubversion/ConfigurationPage/SubversionPage.py

changeset 2406
975af671146d
parent 2302
f29e9405c851
child 2525
8b507a9a2d40
child 3009
bf5ae5d7477d
equal deleted inserted replaced
2405:d4b5f3bd4720 2406:975af671146d
6 """ 6 """
7 Module implementing the Subversion configuration page. 7 Module implementing the Subversion configuration page.
8 """ 8 """
9 9
10 from PyQt4.QtCore import pyqtSlot 10 from PyQt4.QtCore import pyqtSlot
11
12 from QScintilla.MiniEditor import MiniEditor
13 11
14 from Preferences.ConfigurationPages.ConfigurationPageBase import ConfigurationPageBase 12 from Preferences.ConfigurationPages.ConfigurationPageBase import ConfigurationPageBase
15 from .Ui_SubversionPage import Ui_SubversionPage 13 from .Ui_SubversionPage import Ui_SubversionPage
16 14
17 15
45 @pyqtSlot() 43 @pyqtSlot()
46 def on_configButton_clicked(self): 44 def on_configButton_clicked(self):
47 """ 45 """
48 Private slot to edit the Subversion config file. 46 Private slot to edit the Subversion config file.
49 """ 47 """
48 from QScintilla.MiniEditor import MiniEditor
50 cfgFile = self.__plugin.getConfigPath() 49 cfgFile = self.__plugin.getConfigPath()
51 editor = MiniEditor(cfgFile, "Properties", self) 50 editor = MiniEditor(cfgFile, "Properties", self)
52 editor.show() 51 editor.show()
53 52
54 @pyqtSlot() 53 @pyqtSlot()
55 def on_serversButton_clicked(self): 54 def on_serversButton_clicked(self):
56 """ 55 """
57 Private slot to edit the Subversion servers file. 56 Private slot to edit the Subversion servers file.
58 """ 57 """
58 from QScintilla.MiniEditor import MiniEditor
59 serversFile = self.__plugin.getServersPath() 59 serversFile = self.__plugin.getServersPath()
60 editor = MiniEditor(serversFile, "Properties", self) 60 editor = MiniEditor(serversFile, "Properties", self)
61 editor.show() 61 editor.show()

eric ide

mercurial