Change name of some components to make them more indicative of what they

do.

Contributes to CURA-5772.
This commit is contained in:
Diego Prado Gesto 2018-10-18 17:13:15 +02:00
parent 8df3eb33d4
commit 93b04190f8
7 changed files with 23 additions and 54 deletions

View file

@ -13,6 +13,9 @@ Item
signal showTooltip(Item item, point location, string text)
signal hideTooltip()
property bool isNetworkPrinter: Cura.MachineManager.activeMachineNetworkKey != ""
property bool printerConnected: Cura.MachineManager.printerConnected
UM.I18nCatalog
{
id: catalog
@ -37,19 +40,31 @@ Item
{
id: spacing
width: UM.Theme.getSize("default_margin").width
height: parent.height
height: prepareMenu.height
}
Cura.MachineAndConfigurationSelector
Cura.MachineSelector
{
id: machineSelection
width: UM.Theme.getSize("sidebar").width
height: prepareMenu.height
}
Cura.MaterialAndVariantSelector
Cura.QuickConfigurationSelector
{
id: configSelection
visible: isNetworkPrinter && printerConnected
width: visible ? Math.round(machineSelection.width * 0.15) : 0
panelWidth: machineSelection.width
height: prepareMenu.height
}
Cura.CustomConfigurationSelector
{
width: UM.Theme.getSize("sidebar").width
}
Cura.ProfileAndSettingComponent
Cura.PrintSetupSelector
{
width: UM.Theme.getSize("sidebar").width
onShowTooltip: prepareMenu.showTooltip(item, location, text)