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 |
10 |
11 from PyQt5.QtCore import QXmlStreamReader, QFile, QIODevice |
11 from PyQt5.QtCore import QXmlStreamReader, QFile, QIODevice |
12 from PyQt5.QtWidgets import QMenu, QAction, QActionGroup, QInputDialog, \ |
12 from PyQt5.QtWidgets import ( |
13 QLineEdit |
13 QMenu, QAction, QActionGroup, QInputDialog, QLineEdit |
|
14 ) |
14 |
15 |
15 from E5Gui import E5MessageBox |
16 from E5Gui import E5MessageBox |
16 |
17 |
17 |
18 |
18 class UserAgentMenu(QMenu): |
19 class UserAgentMenu(QMenu): |