mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-26 20:31:35 -07:00
Adds release notes link in version upgrade messagebox
CURA-5348
This commit is contained in:
parent
74a7452333
commit
36c2e80121
2 changed files with 2 additions and 1 deletions
|
|
@ -448,7 +448,7 @@ class CuraApplication(QtApplication):
|
||||||
|
|
||||||
## A reusable dialogbox
|
## A reusable dialogbox
|
||||||
#
|
#
|
||||||
showMessageBox = pyqtSignal(str, str, str, str, int, int, arguments = ["title", "text", "informativeText", "detailedText", "buttons", "icon"])
|
showMessageBox = pyqtSignal(str, str, str, str, str, int, int, arguments = ["title", "footer", "text", "informativeText", "detailedText", "buttons", "icon"])
|
||||||
|
|
||||||
def messageBox(self, title, text, informativeText = "", detailedText = "", buttons = QMessageBox.Ok, icon = QMessageBox.NoIcon, callback = None, callback_arguments = []):
|
def messageBox(self, title, text, informativeText = "", detailedText = "", buttons = QMessageBox.Ok, icon = QMessageBox.NoIcon, callback = None, callback_arguments = []):
|
||||||
self._message_box_callback = callback
|
self._message_box_callback = callback
|
||||||
|
|
|
||||||
|
|
@ -489,6 +489,7 @@ UM.MainWindow
|
||||||
horizontalCenterOffset: -(Math.round(UM.Theme.getSize("sidebar").width / 2))
|
horizontalCenterOffset: -(Math.round(UM.Theme.getSize("sidebar").width / 2))
|
||||||
top: parent.verticalCenter;
|
top: parent.verticalCenter;
|
||||||
bottom: parent.bottom;
|
bottom: parent.bottom;
|
||||||
|
bottomMargin: UM.Theme.getSize("default_margin").height
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue