5 |
5 |
6 """ |
6 """ |
7 Module implementing a menu to select the user agent string. |
7 Module implementing a menu to select the user agent string. |
8 """ |
8 """ |
9 |
9 |
|
10 import functools |
10 import os |
11 import os |
11 import functools |
12 |
12 |
13 from PyQt6.QtCore import QFile, QIODevice, QXmlStreamReader |
13 from PyQt6.QtCore import QXmlStreamReader, QFile, QIODevice |
|
14 from PyQt6.QtGui import QAction, QActionGroup |
14 from PyQt6.QtGui import QAction, QActionGroup |
15 from PyQt6.QtWidgets import QMenu, QInputDialog, QLineEdit |
15 from PyQt6.QtWidgets import QInputDialog, QLineEdit, QMenu |
16 |
16 |
17 from eric7.EricWidgets import EricMessageBox |
17 from eric7.EricWidgets import EricMessageBox |
18 |
18 |
19 |
19 |
20 class UserAgentMenu(QMenu): |
20 class UserAgentMenu(QMenu): |