Helpviewer/UrlBar/FavIconLabel.py

changeset 3656
441956d8fce5
parent 3484
645c12de6b0c
child 4021
195a471c327b
equal deleted inserted replaced
3654:ffeb85cdc72d 3656:441956d8fce5
11 try: 11 try:
12 str = unicode 12 str = unicode
13 except NameError: 13 except NameError:
14 pass 14 pass
15 15
16 from PyQt4.QtCore import Qt, QPoint, QUrl, QMimeData 16 from PyQt5.QtCore import Qt, QPoint, QUrl, QMimeData
17 from PyQt4.QtGui import QLabel, QApplication, QDrag, QPixmap 17 from PyQt5.QtGui import QDrag, QPixmap
18 from PyQt5.QtWidgets import QLabel, QApplication
18 19
19 20
20 class FavIconLabel(QLabel): 21 class FavIconLabel(QLabel):
21 """ 22 """
22 Class implementing the label to show the web site icon. 23 Class implementing the label to show the web site icon.

eric ide

mercurial