UI/DeleteFilesConfirmationDialog.py

changeset 1131
7781e396c903
parent 945
8cd4d08fa9f6
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
25 @param message message to be shown (string) 25 @param message message to be shown (string)
26 @param okLabel label for the OK button (string) 26 @param okLabel label for the OK button (string)
27 @param cancelLabel label for the Cancel button (string) 27 @param cancelLabel label for the Cancel button (string)
28 @param files list of filenames to be shown (list of strings) 28 @param files list of filenames to be shown (list of strings)
29 """ 29 """
30 QDialog.__init__(self, parent) 30 super().__init__(parent)
31 self.setupUi(self) 31 self.setupUi(self)
32 self.setModal(True) 32 self.setModal(True)
33 33
34 self.buttonBox.button(QDialogButtonBox.Yes).setAutoDefault(False) 34 self.buttonBox.button(QDialogButtonBox.Yes).setAutoDefault(False)
35 self.buttonBox.button(QDialogButtonBox.No).setDefault(True) 35 self.buttonBox.button(QDialogButtonBox.No).setDefault(True)

eric ide

mercurial