RefactoringRope/ConfirmationDialog.py

changeset 55
d501156be247
parent 46
a726d19facfc
child 62
1077db8d0589
equal deleted inserted replaced
54:e795cb8240aa 55:d501156be247
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)

eric ide

mercurial