7 Module implementing the Project Browser configuration page. |
7 Module implementing the Project Browser configuration page. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtCore import pyqtSlot |
10 from PyQt6.QtCore import pyqtSlot |
11 |
11 |
12 from EricWidgets.EricApplication import ericApp |
12 from eric7.EricWidgets.EricApplication import ericApp |
13 |
13 |
14 from .ConfigurationPageBase import ConfigurationPageBase |
14 from .ConfigurationPageBase import ConfigurationPageBase |
15 from .Ui_ProjectBrowserPage import Ui_ProjectBrowserPage |
15 from .Ui_ProjectBrowserPage import Ui_ProjectBrowserPage |
16 |
16 |
17 import Preferences |
17 from eric7 import Preferences |
18 |
18 |
19 |
19 |
20 class ProjectBrowserPage(ConfigurationPageBase, Ui_ProjectBrowserPage): |
20 class ProjectBrowserPage(ConfigurationPageBase, Ui_ProjectBrowserPage): |
21 """ |
21 """ |
22 Class implementing the Project Browser configuration page. |
22 Class implementing the Project Browser configuration page. |
95 """ |
95 """ |
96 Private method to store the flags for the selected project type. |
96 Private method to store the flags for the selected project type. |
97 |
97 |
98 @param projectType type of the selected project (string) |
98 @param projectType type of the selected project (string) |
99 """ |
99 """ |
100 from Project.ProjectBrowserFlags import ( |
100 from eric7.Project.ProjectBrowserFlags import ( |
101 SourcesBrowserFlag, |
101 SourcesBrowserFlag, |
102 FormsBrowserFlag, |
102 FormsBrowserFlag, |
103 ResourcesBrowserFlag, |
103 ResourcesBrowserFlag, |
104 TranslationsBrowserFlag, |
104 TranslationsBrowserFlag, |
105 InterfacesBrowserFlag, |
105 InterfacesBrowserFlag, |
133 Private method to set the checkboxes according to the selected project |
133 Private method to set the checkboxes according to the selected project |
134 type. |
134 type. |
135 |
135 |
136 @param projectType type of the selected project (string) |
136 @param projectType type of the selected project (string) |
137 """ |
137 """ |
138 from Project.ProjectBrowserFlags import ( |
138 from eric7.Project.ProjectBrowserFlags import ( |
139 SourcesBrowserFlag, |
139 SourcesBrowserFlag, |
140 FormsBrowserFlag, |
140 FormsBrowserFlag, |
141 ResourcesBrowserFlag, |
141 ResourcesBrowserFlag, |
142 TranslationsBrowserFlag, |
142 TranslationsBrowserFlag, |
143 InterfacesBrowserFlag, |
143 InterfacesBrowserFlag, |