7 Module implementing the VCS configuration page. |
7 Module implementing the VCS configuration page. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt4.QtCore import pyqtSlot |
10 from PyQt4.QtCore import pyqtSlot |
11 |
11 |
12 from ConfigurationPageBase import ConfigurationPageBase |
12 from .ConfigurationPageBase import ConfigurationPageBase |
13 from Ui_VcsPage import Ui_VcsPage |
13 from .Ui_VcsPage import Ui_VcsPage |
14 |
14 |
15 import Preferences |
15 import Preferences |
16 |
16 |
17 class VcsPage(ConfigurationPageBase, Ui_VcsPage): |
17 class VcsPage(ConfigurationPageBase, Ui_VcsPage): |
18 """ |
18 """ |
74 Preferences.setVCS("MonitorLocalStatus", |
74 Preferences.setVCS("MonitorLocalStatus", |
75 self.vcsMonitorLocalStatusCheckBox.isChecked()) |
75 self.vcsMonitorLocalStatusCheckBox.isChecked()) |
76 Preferences.setVCS("AutoUpdate", |
76 Preferences.setVCS("AutoUpdate", |
77 self.autoUpdateCheckBox.isChecked()) |
77 self.autoUpdateCheckBox.isChecked()) |
78 |
78 |
79 for key in self.projectBrowserColours.keys(): |
79 for key in list(self.projectBrowserColours.keys()): |
80 Preferences.setProjectBrowserColour(key, self.projectBrowserColours[key]) |
80 Preferences.setProjectBrowserColour(key, self.projectBrowserColours[key]) |
81 |
81 |
82 @pyqtSlot() |
82 @pyqtSlot() |
83 def on_pbVcsAddedButton_clicked(self): |
83 def on_pbVcsAddedButton_clicked(self): |
84 """ |
84 """ |