6 """ |
6 """ |
7 Module implementing the a class used to display the interfaces (IDL) part |
7 Module implementing the a class used to display the interfaces (IDL) part |
8 of the project. |
8 of the project. |
9 """ |
9 """ |
10 |
10 |
|
11 import contextlib |
|
12 import glob |
11 import os |
13 import os |
12 import glob |
14 |
13 import contextlib |
15 from PyQt6.QtCore import QProcess, QThread, pyqtSignal |
14 |
16 from PyQt6.QtWidgets import QApplication, QDialog, QMenu |
15 from PyQt6.QtCore import QThread, pyqtSignal, QProcess |
17 |
16 from PyQt6.QtWidgets import QDialog, QApplication, QMenu |
18 from eric7 import Preferences, Utilities |
17 |
19 from eric7.EricGui import EricPixmapCache |
|
20 from eric7.EricWidgets import EricMessageBox |
18 from eric7.EricWidgets.EricApplication import ericApp |
21 from eric7.EricWidgets.EricApplication import ericApp |
19 from eric7.EricWidgets import EricMessageBox |
|
20 from eric7.EricWidgets.EricProgressDialog import EricProgressDialog |
22 from eric7.EricWidgets.EricProgressDialog import EricProgressDialog |
21 |
23 from eric7.UI.BrowserModel import ( |
|
24 BrowserClassAttributeItem, |
|
25 BrowserClassItem, |
|
26 BrowserFileItem, |
|
27 BrowserMethodItem, |
|
28 ) |
|
29 from eric7.UI.NotificationWidget import NotificationTypes |
|
30 |
|
31 from .ProjectBaseBrowser import ProjectBaseBrowser |
22 from .ProjectBrowserModel import ( |
32 from .ProjectBrowserModel import ( |
|
33 ProjectBrowserDirectoryItem, |
23 ProjectBrowserFileItem, |
34 ProjectBrowserFileItem, |
|
35 ProjectBrowserInterfaceType, |
24 ProjectBrowserSimpleDirectoryItem, |
36 ProjectBrowserSimpleDirectoryItem, |
25 ProjectBrowserDirectoryItem, |
|
26 ProjectBrowserInterfaceType, |
|
27 ) |
37 ) |
28 from .ProjectBaseBrowser import ProjectBaseBrowser |
|
29 |
|
30 from eric7.UI.BrowserModel import ( |
|
31 BrowserFileItem, |
|
32 BrowserClassItem, |
|
33 BrowserMethodItem, |
|
34 BrowserClassAttributeItem, |
|
35 ) |
|
36 from eric7.EricGui import EricPixmapCache |
|
37 from eric7.UI.NotificationWidget import NotificationTypes |
|
38 |
|
39 from eric7 import Preferences, Utilities |
|
40 |
38 |
41 |
39 |
42 class ProjectInterfacesBrowser(ProjectBaseBrowser): |
40 class ProjectInterfacesBrowser(ProjectBaseBrowser): |
43 """ |
41 """ |
44 A class used to display the interfaces (IDL) part of the project. |
42 A class used to display the interfaces (IDL) part of the project. |