E5Gui/E5ToolBarDialog.py

changeset 538
7f1a56e80124
parent 537
72b32daeb8d6
child 541
00e1a5d060c5
equal deleted inserted replaced
537:72b32daeb8d6 538:7f1a56e80124
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 | \

eric ide

mercurial