38 @param parent reference to the parent widget (QWidget) |
38 @param parent reference to the parent widget (QWidget) |
39 """ |
39 """ |
40 super().__init__(parent) |
40 super().__init__(parent) |
41 self.setupUi(self) |
41 self.setupUi(self) |
42 |
42 |
43 self.file1Picker.setMode(E5PathPickerModes.OpenFileMode) |
43 self.file1Picker.setMode(E5PathPickerModes.OPEN_FILE_MODE) |
44 self.file2Picker.setMode(E5PathPickerModes.OpenFileMode) |
44 self.file2Picker.setMode(E5PathPickerModes.OPEN_FILE_MODE) |
45 |
45 |
46 self.diffButton = self.buttonBox.addButton( |
46 self.diffButton = self.buttonBox.addButton( |
47 self.tr("Compare"), QDialogButtonBox.ButtonRole.ActionRole) |
47 self.tr("Compare"), QDialogButtonBox.ButtonRole.ActionRole) |
48 self.diffButton.setToolTip( |
48 self.diffButton.setToolTip( |
49 self.tr("Press to perform the comparison of the two files")) |
49 self.tr("Press to perform the comparison of the two files")) |