mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 12:47:49 -06:00
Swap buttons in MonitorConfigOverrideDialog
for cura buttons
CURA-8975
This commit is contained in:
parent
70f66648f4
commit
fd3ef23784
1 changed files with 12 additions and 12 deletions
|
@ -5,6 +5,7 @@ import QtQuick 2.3
|
||||||
import QtQuick.Controls 2.4
|
import QtQuick.Controls 2.4
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
import UM 1.5 as UM
|
import UM 1.5 as UM
|
||||||
|
import Cura 1.5 as Cura
|
||||||
|
|
||||||
UM.Dialog
|
UM.Dialog
|
||||||
{
|
{
|
||||||
|
@ -17,12 +18,21 @@ UM.Dialog
|
||||||
width: minimumWidth
|
width: minimumWidth
|
||||||
height: minimumHeight
|
height: minimumHeight
|
||||||
title: catalog.i18nc("@title:window", "Configuration Changes")
|
title: catalog.i18nc("@title:window", "Configuration Changes")
|
||||||
|
buttonSpacing: UM.Theme.getSize("narrow_margin").width
|
||||||
rightButtons:
|
rightButtons:
|
||||||
[
|
[
|
||||||
Button
|
Cura.TertiaryButton
|
||||||
|
{
|
||||||
|
id: cancelButton
|
||||||
|
text: catalog.i18nc("@action:button", "Cancel")
|
||||||
|
onClicked:
|
||||||
|
{
|
||||||
|
overrideConfirmationDialog.reject()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
Cura.PrimaryButton
|
||||||
{
|
{
|
||||||
id: overrideButton
|
id: overrideButton
|
||||||
anchors.margins: UM.Theme.getSize("default_margin").width
|
|
||||||
text: catalog.i18nc("@action:button", "Override")
|
text: catalog.i18nc("@action:button", "Override")
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
|
@ -49,16 +59,6 @@ UM.Dialog
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
},
|
|
||||||
Button
|
|
||||||
{
|
|
||||||
id: cancelButton
|
|
||||||
anchors.margins: UM.Theme.getSize("default_margin").width
|
|
||||||
text: catalog.i18nc("@action:button", "Cancel")
|
|
||||||
onClicked:
|
|
||||||
{
|
|
||||||
overrideConfirmationDialog.reject()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue