99 self.setupUi(self) |
99 self.setupUi(self) |
100 |
100 |
101 if files is None: |
101 if files is None: |
102 files = [] |
102 files = [] |
103 |
103 |
104 self.file1Picker.setMode(E5PathPickerModes.OpenFileMode) |
104 self.file1Picker.setMode(E5PathPickerModes.OPEN_FILE_MODE) |
105 self.file2Picker.setMode(E5PathPickerModes.OpenFileMode) |
105 self.file2Picker.setMode(E5PathPickerModes.OPEN_FILE_MODE) |
106 |
106 |
107 self.diffButton = self.buttonBox.addButton( |
107 self.diffButton = self.buttonBox.addButton( |
108 self.tr("Compare"), QDialogButtonBox.ButtonRole.ActionRole) |
108 self.tr("Compare"), QDialogButtonBox.ButtonRole.ActionRole) |
109 self.diffButton.setToolTip( |
109 self.diffButton.setToolTip( |
110 self.tr("Press to perform the comparison of the two files")) |
110 self.tr("Press to perform the comparison of the two files")) |