mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 10:18:59 +08:00
Merge branch 'master' of github.com:Ultimaker/Cura
This commit is contained in:
commit
a7b2386421
@ -230,45 +230,40 @@ UM.Dialog
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Row
|
|
||||||
|
CheckBox
|
||||||
{
|
{
|
||||||
id: buttonRow
|
id: dontShowAgainCheckbox
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
|
||||||
|
text: catalog.i18nc("@action:label", "Don't show project summary on save again")
|
||||||
|
checked: dontShowAgain
|
||||||
|
}
|
||||||
|
|
||||||
|
Button
|
||||||
|
{
|
||||||
|
id: cancel_button
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
anchors.right: ok_button.left
|
||||||
|
anchors.rightMargin: 2
|
||||||
|
|
||||||
|
text: catalog.i18nc("@action:button","Cancel");
|
||||||
|
enabled: true
|
||||||
|
onClicked: close()
|
||||||
|
}
|
||||||
|
|
||||||
|
Button
|
||||||
|
{
|
||||||
|
id: ok_button
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: childrenRect.height
|
|
||||||
|
|
||||||
CheckBox
|
text: catalog.i18nc("@action:button","Save");
|
||||||
{
|
enabled: true
|
||||||
id: dontShowAgainCheckbox
|
onClicked: {
|
||||||
anchors.left: parent.left
|
close()
|
||||||
|
yes()
|
||||||
text: catalog.i18nc("@action:label", "Don't show project summary on save again")
|
|
||||||
checked: dontShowAgain
|
|
||||||
}
|
|
||||||
|
|
||||||
Button
|
|
||||||
{
|
|
||||||
id: ok_button
|
|
||||||
anchors.right: parent.right
|
|
||||||
|
|
||||||
text: catalog.i18nc("@action:button","Save");
|
|
||||||
enabled: true
|
|
||||||
onClicked: {
|
|
||||||
close()
|
|
||||||
yes()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Button
|
|
||||||
{
|
|
||||||
id: cancel_button
|
|
||||||
anchors.right: ok_button.left
|
|
||||||
anchors.rightMargin: 2
|
|
||||||
|
|
||||||
text: catalog.i18nc("@action:button","Cancel");
|
|
||||||
enabled: true
|
|
||||||
onClicked: close()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user