Add Reft and Right side aligned action buttons to the message box

CURA-4952
This commit is contained in:
Aleksei S 2018-05-29 18:15:16 +02:00
parent fed0a015ee
commit b46a08f566
3 changed files with 16 additions and 5 deletions

View file

@ -452,7 +452,7 @@ class CuraApplication(QtApplication):
## A reusable dialogbox
#
showMessageBox = pyqtSignal(str, str, str, str, str, int, int, arguments = ["title", "footer", "text", "informativeText", "detailedText", "buttons", "icon"])
showMessageBox = pyqtSignal(str, str, str, str, int, int, arguments = ["title", "text", "informativeText", "detailedText", "buttons", "icon"])
def messageBox(self, title, text, informativeText = "", detailedText = "", buttons = QMessageBox.Ok, icon = QMessageBox.NoIcon, callback = None, callback_arguments = []):
self._message_box_callback = callback