eric6/WebBrowser/SafeBrowsing/SafeBrowsingDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
34 @param parent reference to the parent widget 34 @param parent reference to the parent widget
35 @type QWidget 35 @type QWidget
36 """ 36 """
37 super(SafeBrowsingDialog, self).__init__(parent) 37 super(SafeBrowsingDialog, self).__init__(parent)
38 self.setupUi(self) 38 self.setupUi(self)
39 self.setWindowFlags(Qt.Window) 39 self.setWindowFlags(Qt.WindowType.Window)
40 40
41 self.__manager = manager 41 self.__manager = manager
42 self.__manager.progressMessage.connect(self.__setProgressMessage) 42 self.__manager.progressMessage.connect(self.__setProgressMessage)
43 self.__manager.progress.connect(self.__setProgress) 43 self.__manager.progress.connect(self.__setProgress)
44 44
97 """ 97 """
98 Private slot called by a button of the button box clicked. 98 Private slot called by a button of the button box clicked.
99 99
100 @param button button that was clicked (QAbstractButton) 100 @param button button that was clicked (QAbstractButton)
101 """ 101 """
102 if button == self.buttonBox.button(QDialogButtonBox.Close): 102 if button == self.buttonBox.button(
103 QDialogButtonBox.StandardButton.Close
104 ):
103 self.close() 105 self.close()
104 106
105 @pyqtSlot() 107 @pyqtSlot()
106 def __save(self): 108 def __save(self):
107 """ 109 """

eric ide

mercurial