Helpviewer/UrlBar/BookmarkInfoDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2403
e3d7a861547c
child 3145
a9de05d4a22f
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to show some bookmark info. 7 Module implementing a dialog to show some bookmark info.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtCore import pyqtSlot 12 from PyQt4.QtCore import pyqtSlot
11 from PyQt4.QtGui import QDialog, QFont 13 from PyQt4.QtGui import QDialog, QFont
12 14
13 from .Ui_BookmarkInfoDialog import Ui_BookmarkInfoDialog 15 from .Ui_BookmarkInfoDialog import Ui_BookmarkInfoDialog
24 Constructor 26 Constructor
25 27
26 @param bookmark reference to the bookmark to be shown (Bookmark) 28 @param bookmark reference to the bookmark to be shown (Bookmark)
27 @param parent reference to the parent widget (QWidget) 29 @param parent reference to the parent widget (QWidget)
28 """ 30 """
29 super().__init__(parent) 31 super(BookmarkInfoDialog, self).__init__(parent)
30 self.setupUi(self) 32 self.setupUi(self)
31 33
32 self.__bookmark = bookmark 34 self.__bookmark = bookmark
33 35
34 self.icon.setPixmap(UI.PixmapCache.getPixmap("bookmark32.png")) 36 self.icon.setPixmap(UI.PixmapCache.getPixmap("bookmark32.png"))

eric ide

mercurial