mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
CURA-5137 Add filtering for materials and plugins and change the
behavior of switching tabs.
This commit is contained in:
parent
1ad34495b4
commit
b621b5ef6b
7 changed files with 85 additions and 51 deletions
|
@ -14,7 +14,8 @@ import UM 1.1 as UM
|
|||
Window
|
||||
{
|
||||
id: base
|
||||
title: catalog.i18nc("@title:tab", "Plugins");
|
||||
title: catalog.i18nc("@title:tab", "Toolbox");
|
||||
modality: Qt.ApplicationModal
|
||||
width: 800 * screenScaleFactor
|
||||
height: 640 * screenScaleFactor
|
||||
minimumWidth: 800 * screenScaleFactor
|
||||
|
@ -42,18 +43,17 @@ Window
|
|||
ToolboxViewDownloads
|
||||
{
|
||||
id: viewDownloads
|
||||
visible: manager.viewing == "available" && manager.detailView == "" ? true : false
|
||||
visible: manager.currentView != "installed" && !manager.detailView
|
||||
}
|
||||
|
||||
ToolboxViewDetail
|
||||
{
|
||||
id: viewDetail
|
||||
visible: manager.viewing == "available" && manager.detailView != "" ? true : false
|
||||
visible: manager.currentView != "installed" && manager.detailView
|
||||
}
|
||||
ToolboxViewInstalled
|
||||
{
|
||||
id: installedPluginList
|
||||
visible: manager.viewing == "installed" ? true : false
|
||||
visible: manager.currentView == "installed"
|
||||
}
|
||||
}
|
||||
SectionShadow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue