mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Introduce the ApplicationSwitcher widget
It includes only the hardcoded model with the Ultimaker links for now. CURA-8421
This commit is contained in:
parent
1305abac6f
commit
570fb3cf93
6 changed files with 238 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue