Helpviewer/Bookmarks/BookmarksDialog.py

changeset 1131
7781e396c903
parent 1112
8a7d1b9d18db
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
36 Constructor 36 Constructor
37 37
38 @param parent reference to the parent widget (QWidget 38 @param parent reference to the parent widget (QWidget
39 @param manager reference to the bookmarks manager object (BookmarksManager) 39 @param manager reference to the bookmarks manager object (BookmarksManager)
40 """ 40 """
41 QDialog.__init__(self, parent) 41 super().__init__(parent)
42 self.setupUi(self) 42 self.setupUi(self)
43 43
44 self.clearButton.setIcon(UI.PixmapCache.getIcon("clearLeft.png")) 44 self.clearButton.setIcon(UI.PixmapCache.getIcon("clearLeft.png"))
45 45
46 self.__bookmarksManager = manager 46 self.__bookmarksManager = manager
82 def reject(self): 82 def reject(self):
83 """ 83 """
84 Protected method called when the dialog is rejected. 84 Protected method called when the dialog is rejected.
85 """ 85 """
86 self.__shutdown() 86 self.__shutdown()
87 QDialog.reject(self) 87 super().reject()
88 88
89 def __shutdown(self): 89 def __shutdown(self):
90 """ 90 """
91 Private method to perform shutdown actions for the dialog. 91 Private method to perform shutdown actions for the dialog.
92 """ 92 """

eric ide

mercurial