mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 16:49:20 +08:00
Also add save/reset buttons to custom profile.
part of CURA-9347
This commit is contained in:
parent
0ea2830108
commit
40b7233125
@ -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…
x
Reference in New Issue
Block a user