eric7/UI/DiffDialog.py

branch
eric7
changeset 8327
666c2b81cbb7
parent 8322
b422b4e77d19
child 8356
68ec9c3d4de5
equal deleted inserted replaced
8325:547319e56c60 8327:666c2b81cbb7
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"))

eric ide

mercurial