mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Order bundled/installed packages/materials section.
And other finishing touches. part of CURA-7240
This commit is contained in:
parent
85490dc58a
commit
d89fce6240
1 changed files with 49 additions and 49 deletions
|
@ -31,9 +31,9 @@ ScrollView
|
||||||
right: parent.right
|
right: parent.right
|
||||||
margins: parent.padding
|
margins: parent.padding
|
||||||
}
|
}
|
||||||
text: catalog.i18nc("@title:tab", "Installed Plugins")
|
text: catalog.i18nc("@title:tab", "My installed plugins")
|
||||||
color: UM.Theme.getColor("text_medium")
|
color: UM.Theme.getColor("text_medium")
|
||||||
font: UM.Theme.getFont("large")
|
font: UM.Theme.getFont("medium")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,52 +76,7 @@ ScrollView
|
||||||
right: parent.right
|
right: parent.right
|
||||||
margins: parent.padding
|
margins: parent.padding
|
||||||
}
|
}
|
||||||
text: catalog.i18nc("@title:tab", "Bundled Plugins")
|
text: catalog.i18nc("@title:tab", "My installed materials")
|
||||||
color: UM.Theme.getColor("text_medium")
|
|
||||||
font: UM.Theme.getFont("large")
|
|
||||||
renderType: Text.NativeRendering
|
|
||||||
}
|
|
||||||
|
|
||||||
Rectangle
|
|
||||||
{
|
|
||||||
anchors
|
|
||||||
{
|
|
||||||
left: parent.left
|
|
||||||
right: parent.right
|
|
||||||
margins: parent.padding
|
|
||||||
}
|
|
||||||
id: bundledPlugins
|
|
||||||
color: "transparent"
|
|
||||||
height: childrenRect.height + UM.Theme.getSize("default_margin").width
|
|
||||||
border.color: UM.Theme.getColor("lining")
|
|
||||||
border.width: UM.Theme.getSize("default_lining").width
|
|
||||||
Column
|
|
||||||
{
|
|
||||||
anchors
|
|
||||||
{
|
|
||||||
top: parent.top
|
|
||||||
right: parent.right
|
|
||||||
left: parent.left
|
|
||||||
margins: UM.Theme.getSize("default_margin").width
|
|
||||||
}
|
|
||||||
Repeater
|
|
||||||
{
|
|
||||||
id: bundledPluginsList
|
|
||||||
model: toolbox.pluginsInstalledModel
|
|
||||||
delegate: ToolboxInstalledTile { visible: model.is_bundled }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
anchors
|
|
||||||
{
|
|
||||||
left: parent.left
|
|
||||||
right: parent.right
|
|
||||||
margins: parent.padding
|
|
||||||
}
|
|
||||||
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
|
||||||
|
@ -166,7 +121,52 @@ ScrollView
|
||||||
right: parent.right
|
right: parent.right
|
||||||
margins: parent.padding
|
margins: parent.padding
|
||||||
}
|
}
|
||||||
text: catalog.i18nc("@title:tab", "Bundled Materials")
|
text: catalog.i18nc("@title:tab", "Bundled plugins")
|
||||||
|
color: UM.Theme.getColor("text_medium")
|
||||||
|
font: UM.Theme.getFont("medium")
|
||||||
|
renderType: Text.NativeRendering
|
||||||
|
}
|
||||||
|
|
||||||
|
Rectangle
|
||||||
|
{
|
||||||
|
anchors
|
||||||
|
{
|
||||||
|
left: parent.left
|
||||||
|
right: parent.right
|
||||||
|
margins: parent.padding
|
||||||
|
}
|
||||||
|
id: bundledPlugins
|
||||||
|
color: "transparent"
|
||||||
|
height: childrenRect.height + UM.Theme.getSize("default_margin").width
|
||||||
|
border.color: UM.Theme.getColor("lining")
|
||||||
|
border.width: UM.Theme.getSize("default_lining").width
|
||||||
|
Column
|
||||||
|
{
|
||||||
|
anchors
|
||||||
|
{
|
||||||
|
top: parent.top
|
||||||
|
right: parent.right
|
||||||
|
left: parent.left
|
||||||
|
margins: UM.Theme.getSize("default_margin").width
|
||||||
|
}
|
||||||
|
Repeater
|
||||||
|
{
|
||||||
|
id: bundledPluginsList
|
||||||
|
model: toolbox.pluginsInstalledModel
|
||||||
|
delegate: ToolboxInstalledTile { visible: model.is_bundled }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
anchors
|
||||||
|
{
|
||||||
|
left: parent.left
|
||||||
|
right: parent.right
|
||||||
|
margins: parent.padding
|
||||||
|
}
|
||||||
|
text: catalog.i18nc("@title:tab", "Bundled 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue