Introduce the ApplicationSwitcher widget

It includes only the hardcoded model with the Ultimaker links for now.

CURA-8421
This commit is contained in:
Konstantinos Karmas 2021-09-20 15:33:05 +02:00
parent 1305abac6f
commit 570fb3cf93
6 changed files with 238 additions and 1 deletions

View file

@ -10,6 +10,7 @@ import UM 1.4 as UM
import Cura 1.0 as Cura
import "../Account"
import "../ApplicationSwitcher"
Item
{
@ -113,7 +114,7 @@ Item
anchors
{
right: accountWidget.left
right: applicationSwitcher.left
rightMargin: UM.Theme.getSize("default_margin").width
verticalCenter: parent.verticalCenter
}
@ -138,6 +139,17 @@ Item
}
}
ApplicationSwitcher
{
id: applicationSwitcher
anchors
{
verticalCenter: parent.verticalCenter
right: accountWidget.left
// rightMargin: UM.Theme.getSize("default_margin").width
}
}
AccountWidget
{
id: accountWidget