mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Add global profile selector to the custom print setup panel
Also modify some styles to adjust to the designs. Contributes to CURA-5941.
This commit is contained in:
parent
7dc3320b06
commit
90281c455b
8 changed files with 71 additions and 31 deletions
|
@ -182,7 +182,7 @@ Item
|
|||
id: customisedSettings
|
||||
|
||||
visible: Cura.SimpleModeSettingsManager.isProfileCustomized || Cura.SimpleModeSettingsManager.isProfileUserCreated
|
||||
height: visible ? Math.round(0.8 * qualityRowTitle.height) : 0
|
||||
height: visible ? UM.Theme.getSize("print_setup_icon").height : 0
|
||||
width: height
|
||||
anchors
|
||||
{
|
||||
|
@ -203,7 +203,7 @@ Item
|
|||
onEntered:
|
||||
{
|
||||
var tooltipContent = catalog.i18nc("@tooltip","You have modified some profile settings. If you want to change these go to custom mode.")
|
||||
base.showTooltip(qualityRow, Qt.point(-UM.Theme.getSize("thick_margin").width, customisedSettings.height), tooltipContent)
|
||||
base.showTooltip(qualityRow, Qt.point(-UM.Theme.getSize("thick_margin").width, 0), tooltipContent)
|
||||
}
|
||||
onExited: base.hideTooltip()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue