UI/DeleteFilesConfirmationDialog.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1131
7781e396c903
equal deleted inserted replaced
944:1b59c4ba121e 945:8cd4d08fa9f6
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 QDialog.__init__(self, 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