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