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 | \ |