147 def on_removeButton_clicked(self): |
147 def on_removeButton_clicked(self): |
148 """ |
148 """ |
149 Private slot to remove a custom toolbar |
149 Private slot to remove a custom toolbar |
150 """ |
150 """ |
151 name = self.toolbarComboBox.currentText() |
151 name = self.toolbarComboBox.currentText() |
152 res = QMessageBox.question(self, |
152 res = E5MessageBox.question(self, |
153 self.trUtf8("Remove Toolbar"), |
153 self.trUtf8("Remove Toolbar"), |
154 self.trUtf8("""Should the toolbar <b>{0}</b> really be removed?""")\ |
154 self.trUtf8("""Should the toolbar <b>{0}</b> really be removed?""")\ |
155 .format(name), |
155 .format(name), |
156 QMessageBox.StandardButtons(\ |
156 QMessageBox.StandardButtons(\ |
157 QMessageBox.No | \ |
157 QMessageBox.No | \ |