mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
Change name of some components to make them more indicative of what they
do. Contributes to CURA-5772.
This commit is contained in:
parent
8df3eb33d4
commit
93b04190f8
7 changed files with 23 additions and 54 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue