src/eric7/WebBrowser/UserAgent/UserAgentMenu.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9413
80c06d472826
child 9482
a2bc06a54d9d
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
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):

eric ide

mercurial