mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Explain empty installed materials/plugins brackets.
part of CURA-7240
This commit is contained in:
parent
c764326c25
commit
90ffa2a772
1 changed files with 19 additions and 7 deletions
|
@ -30,11 +30,10 @@ ScrollView
|
||||||
right: parent.right
|
right: parent.right
|
||||||
margins: parent.padding
|
margins: parent.padding
|
||||||
}
|
}
|
||||||
text: catalog.i18nc("@title:tab", "My installed plugins")
|
text: catalog.i18nc("@title:tab", "Installed plugins")
|
||||||
color: UM.Theme.getColor("text_medium")
|
color: UM.Theme.getColor("text_medium")
|
||||||
font: UM.Theme.getFont("medium")
|
font: UM.Theme.getFont("medium")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
visible: toolbox.pluginsInstalledModel.count > 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
|
@ -50,7 +49,6 @@ ScrollView
|
||||||
height: childrenRect.height + UM.Theme.getSize("default_margin").width
|
height: childrenRect.height + UM.Theme.getSize("default_margin").width
|
||||||
border.color: UM.Theme.getColor("lining")
|
border.color: UM.Theme.getColor("lining")
|
||||||
border.width: UM.Theme.getSize("default_lining").width
|
border.width: UM.Theme.getSize("default_lining").width
|
||||||
visible: toolbox.pluginsInstalledModel.count > 0
|
|
||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
anchors
|
anchors
|
||||||
|
@ -64,9 +62,17 @@ ScrollView
|
||||||
{
|
{
|
||||||
id: pluginList
|
id: pluginList
|
||||||
model: toolbox.pluginsInstalledModel
|
model: toolbox.pluginsInstalledModel
|
||||||
delegate: ToolboxInstalledTile { visible: ! model.is_bundled }
|
delegate: ToolboxInstalledTile { }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
visible: toolbox.pluginsInstalledModel.count < 1
|
||||||
|
padding: UM.Theme.getSize("default_margin").width
|
||||||
|
text: catalog.i18nc("@info", "No plugin has been installed.")
|
||||||
|
font: UM.Theme.getFont("medium")
|
||||||
|
renderType: Text.NativeRendering
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
|
@ -77,11 +83,10 @@ ScrollView
|
||||||
right: parent.right
|
right: parent.right
|
||||||
margins: parent.padding
|
margins: parent.padding
|
||||||
}
|
}
|
||||||
text: catalog.i18nc("@title:tab", "My installed materials")
|
text: catalog.i18nc("@title:tab", "Installed materials")
|
||||||
color: UM.Theme.getColor("text_medium")
|
color: UM.Theme.getColor("text_medium")
|
||||||
font: UM.Theme.getFont("medium")
|
font: UM.Theme.getFont("medium")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
visible: toolbox.materialsInstalledModel.count > 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
|
@ -97,7 +102,6 @@ ScrollView
|
||||||
height: childrenRect.height + UM.Theme.getSize("default_margin").width
|
height: childrenRect.height + UM.Theme.getSize("default_margin").width
|
||||||
border.color: UM.Theme.getColor("lining")
|
border.color: UM.Theme.getColor("lining")
|
||||||
border.width: UM.Theme.getSize("default_lining").width
|
border.width: UM.Theme.getSize("default_lining").width
|
||||||
visible: toolbox.materialsInstalledModel.count > 0
|
|
||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
anchors
|
anchors
|
||||||
|
@ -114,6 +118,14 @@ ScrollView
|
||||||
delegate: ToolboxInstalledTile { }
|
delegate: ToolboxInstalledTile { }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
visible: toolbox.materialsInstalledModel.count < 1
|
||||||
|
padding: UM.Theme.getSize("default_margin").width
|
||||||
|
text: catalog.i18nc("@info", "No material has been installed.")
|
||||||
|
font: UM.Theme.getFont("medium")
|
||||||
|
renderType: Text.NativeRendering
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue