mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Also add save/reset buttons to custom profile.
part of CURA-9347
This commit is contained in:
parent
0ea2830108
commit
40b7233125
3 changed files with 11 additions and 2 deletions
|
|
@ -52,8 +52,8 @@ Item
|
||||||
id: intentSelection
|
id: intentSelection
|
||||||
onClicked: menu.opened ? menu.close() : menu.open()
|
onClicked: menu.opened ? menu.close() : menu.open()
|
||||||
|
|
||||||
anchors.right: parent.right
|
anchors.right: profileWarningReset.left
|
||||||
width: UM.Theme.getSize("print_setup_big_item").width
|
width: UM.Theme.getSize("print_setup_big_item").width - profileWarningReset.width
|
||||||
height: textLabel.contentHeight + 2 * UM.Theme.getSize("narrow_margin").height
|
height: textLabel.contentHeight + 2 * UM.Theme.getSize("narrow_margin").height
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
|
||||||
|
|
@ -152,6 +152,14 @@ Item
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ProfileWarningReset
|
||||||
|
{
|
||||||
|
id: profileWarningReset
|
||||||
|
fullWarning: false
|
||||||
|
anchors.right: parent.right
|
||||||
|
width: childrenRect.width
|
||||||
|
}
|
||||||
|
|
||||||
QualitiesWithIntentMenu
|
QualitiesWithIntentMenu
|
||||||
{
|
{
|
||||||
id: menu
|
id: menu
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import QtQuick.Layouts 1.1
|
||||||
|
|
||||||
import UM 1.6 as UM
|
import UM 1.6 as UM
|
||||||
import Cura 1.6 as Cura
|
import Cura 1.6 as Cura
|
||||||
|
import ".."
|
||||||
|
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue