Templates/TemplateViewer.py

changeset 538
7f1a56e80124
parent 537
72b32daeb8d6
child 539
87f9bce38a44
equal deleted inserted replaced
537:72b32daeb8d6 538:7f1a56e80124
500 def __remove(self): 500 def __remove(self):
501 """ 501 """
502 Private slot to handle the Remove context menu action. 502 Private slot to handle the Remove context menu action.
503 """ 503 """
504 itm = self.currentItem() 504 itm = self.currentItem()
505 res = QMessageBox.question(self, 505 res = E5MessageBox.question(self,
506 self.trUtf8("Remove Template"), 506 self.trUtf8("Remove Template"),
507 self.trUtf8("""<p>Do you really want to remove <b>{0}</b>?</p>""")\ 507 self.trUtf8("""<p>Do you really want to remove <b>{0}</b>?</p>""")\
508 .format(itm.getName()), 508 .format(itm.getName()),
509 QMessageBox.StandardButtons(\ 509 QMessageBox.StandardButtons(\
510 QMessageBox.No | \ 510 QMessageBox.No | \

eric ide

mercurial