31 self.setupUi(self) |
31 self.setupUi(self) |
32 |
32 |
33 self.__changes = changes |
33 self.__changes = changes |
34 |
34 |
35 self.description.setText( |
35 self.description.setText( |
36 self.trUtf8("Shall the refactoring <b>{0}</b> be done?")\ |
36 self.trUtf8("Shall the refactoring <b>{0}</b> be done?") |
37 .format(Utilities.html_encode(self.__changes.description))) |
37 .format(Utilities.html_encode(self.__changes.description))) |
38 |
38 |
39 self.__okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
39 self.__okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
40 self.__previewButton = self.buttonBox.addButton( |
40 self.__previewButton = self.buttonBox.addButton( |
41 self.trUtf8("Preview"), QDialogButtonBox.ActionRole) |
41 self.trUtf8("Preview"), QDialogButtonBox.ActionRole) |