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) |