mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
CURA-5137 Adding a loading page while the data is not yet ready.
This commit is contained in:
parent
20feabbb06
commit
2fe2c71754
2 changed files with 17 additions and 9 deletions
|
@ -14,6 +14,7 @@ import UM 1.1 as UM
|
|||
Window
|
||||
{
|
||||
id: base
|
||||
property bool dataReady: manager.dataReady
|
||||
title: catalog.i18nc("@title:tab", "Toolbox");
|
||||
modality: Qt.ApplicationModal
|
||||
width: 800 * screenScaleFactor
|
||||
|
@ -40,20 +41,25 @@ Window
|
|||
top: topBar.bottom
|
||||
bottom: bottomBar.top
|
||||
}
|
||||
ToolboxLoading
|
||||
{
|
||||
id: loading
|
||||
visible: !dataReady && manager.currentView != "installed"
|
||||
}
|
||||
ToolboxDownloadsPage
|
||||
{
|
||||
id: viewDownloads
|
||||
visible: manager.currentView != "installed" && manager.detailView == ""
|
||||
visible: dataReady && manager.currentView != "installed" && manager.detailView == ""
|
||||
}
|
||||
ToolboxDetailsPage
|
||||
{
|
||||
id: viewDetail
|
||||
visible: manager.currentView != "installed" && manager.detailView != ""
|
||||
visible: dataReady && manager.currentView != "installed" && manager.detailView != ""
|
||||
}
|
||||
ToolboxInstalledPage
|
||||
{
|
||||
id: installedPluginList
|
||||
visible: manager.currentView == "installed"
|
||||
visible: dataReady && manager.currentView == "installed"
|
||||
}
|
||||
}
|
||||
ToolboxShadow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue