12 |
12 |
13 from E4Gui.E4Application import e4App |
13 from E4Gui.E4Application import e4App |
14 |
14 |
15 import Preferences |
15 import Preferences |
16 |
16 |
17 from Ui_UserPropertiesDialog import Ui_UserPropertiesDialog |
17 from .Ui_UserPropertiesDialog import Ui_UserPropertiesDialog |
18 |
18 |
19 class UserPropertiesDialog(QDialog, Ui_UserPropertiesDialog): |
19 class UserPropertiesDialog(QDialog, Ui_UserPropertiesDialog): |
20 """ |
20 """ |
21 Class implementing the user specific project properties dialog. |
21 Class implementing the user specific project properties dialog. |
22 """ |
22 """ |
43 Preferences.getVCS("StatusMonitorInterval")) |
43 Preferences.getVCS("StatusMonitorInterval")) |
44 |
44 |
45 enableVcsGroup = False |
45 enableVcsGroup = False |
46 if self.project.pdata["VCS"]: |
46 if self.project.pdata["VCS"]: |
47 found = False |
47 found = False |
48 for indicator, vcsData in e4App().getObject("PluginManager")\ |
48 for indicator, vcsData in list(e4App().getObject("PluginManager")\ |
49 .getVcsSystemIndicators().items(): |
49 .getVcsSystemIndicators().items()): |
50 for vcsSystem, vcsSystemDisplay in vcsData: |
50 for vcsSystem, vcsSystemDisplay in vcsData: |
51 if vcsSystem == self.project.pdata["VCS"][0]: |
51 if vcsSystem == self.project.pdata["VCS"][0]: |
52 found = True |
52 found = True |
53 break |
53 break |
54 |
54 |