Also add save/reset buttons to custom profile.

part of CURA-9347
This commit is contained in:
Remco Burema 2022-11-29 23:18:15 +01:00
parent 0ea2830108
commit 40b7233125
3 changed files with 11 additions and 2 deletions

View File

@ -52,8 +52,8 @@ Item
id: intentSelection
onClicked: menu.opened ? menu.close() : menu.open()
anchors.right: parent.right
width: UM.Theme.getSize("print_setup_big_item").width
anchors.right: profileWarningReset.left
width: UM.Theme.getSize("print_setup_big_item").width - profileWarningReset.width
height: textLabel.contentHeight + 2 * UM.Theme.getSize("narrow_margin").height
hoverEnabled: true
@ -152,6 +152,14 @@ Item
}
}
ProfileWarningReset
{
id: profileWarningReset
fullWarning: false
anchors.right: parent.right
width: childrenRect.width
}
QualitiesWithIntentMenu
{
id: menu

View File

@ -6,6 +6,7 @@ import QtQuick.Layouts 1.1
import UM 1.6 as UM
import Cura 1.6 as Cura
import ".."
Item
{