5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog showing the available plugins. |
7 Module implementing a dialog showing the available plugins. |
8 """ |
8 """ |
9 |
9 |
|
10 import glob |
10 import os |
11 import os |
|
12 import re |
11 import zipfile |
13 import zipfile |
12 import glob |
|
13 import re |
|
14 |
14 |
15 from PyQt6.QtCore import ( |
15 from PyQt6.QtCore import ( |
|
16 QCoreApplication, |
|
17 QFile, |
|
18 QIODevice, |
|
19 QPoint, |
|
20 QProcess, |
|
21 Qt, |
|
22 QUrl, |
16 pyqtSignal, |
23 pyqtSignal, |
17 pyqtSlot, |
24 pyqtSlot, |
18 Qt, |
|
19 QFile, |
|
20 QIODevice, |
|
21 QUrl, |
|
22 QProcess, |
|
23 QPoint, |
|
24 QCoreApplication, |
|
25 ) |
|
26 from PyQt6.QtWidgets import ( |
|
27 QWidget, |
|
28 QDialogButtonBox, |
|
29 QAbstractButton, |
|
30 QTreeWidgetItem, |
|
31 QDialog, |
|
32 QVBoxLayout, |
|
33 QHBoxLayout, |
|
34 QMenu, |
|
35 QLabel, |
|
36 QToolButton, |
|
37 ) |
25 ) |
38 from PyQt6.QtNetwork import ( |
26 from PyQt6.QtNetwork import ( |
39 QNetworkAccessManager, |
27 QNetworkAccessManager, |
|
28 QNetworkInformation, |
|
29 QNetworkReply, |
40 QNetworkRequest, |
30 QNetworkRequest, |
41 QNetworkReply, |
31 ) |
42 QNetworkInformation, |
32 from PyQt6.QtWidgets import ( |
|
33 QAbstractButton, |
|
34 QDialog, |
|
35 QDialogButtonBox, |
|
36 QHBoxLayout, |
|
37 QLabel, |
|
38 QMenu, |
|
39 QToolButton, |
|
40 QTreeWidgetItem, |
|
41 QVBoxLayout, |
|
42 QWidget, |
43 ) |
43 ) |
44 |
44 |
45 from eric7 import Globals, Preferences, Utilities |
45 from eric7 import Globals, Preferences, Utilities |
46 from eric7.EricGui import EricPixmapCache |
46 from eric7.EricGui import EricPixmapCache |
|
47 from eric7.EricNetwork.EricNetworkProxyFactory import proxyAuthenticationRequired |
|
48 from eric7.EricWidgets import EricMessageBox |
|
49 from eric7.EricWidgets.EricApplication import ericApp |
|
50 from eric7.EricWidgets.EricMainWindow import EricMainWindow |
47 from eric7.Globals import getConfig |
51 from eric7.Globals import getConfig |
48 from eric7.EricWidgets import EricMessageBox |
|
49 from eric7.EricWidgets.EricMainWindow import EricMainWindow |
|
50 from eric7.EricWidgets.EricApplication import ericApp |
|
51 |
|
52 from eric7.EricNetwork.EricNetworkProxyFactory import proxyAuthenticationRequired |
|
53 |
52 |
54 try: |
53 try: |
55 from eric7.EricNetwork.EricSslErrorHandler import ( |
54 from eric7.EricNetwork.EricSslErrorHandler import ( |
56 EricSslErrorHandler, |
55 EricSslErrorHandler, |
57 EricSslErrorState, |
56 EricSslErrorState, |