mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
WIP: Add Welcome Page and use CTRL+Alt+D to trigger
This commit is contained in:
parent
3b63f92d55
commit
ac012e8f09
5 changed files with 91 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ import Cura 1.1 as Cura
|
|||
import "Dialogs"
|
||||
import "Menus"
|
||||
import "MainWindow"
|
||||
import "WelcomePages"
|
||||
|
||||
UM.MainWindow
|
||||
{
|
||||
|
|
@ -41,6 +42,30 @@ UM.MainWindow
|
|||
tooltip.hide();
|
||||
}
|
||||
|
||||
WelcomeDialog
|
||||
{
|
||||
id: welcomeDialog
|
||||
visible: false
|
||||
}
|
||||
|
||||
Rectangle
|
||||
{
|
||||
id: greyOutBackground
|
||||
anchors.fill: parent
|
||||
visible: welcomeDialog.visible
|
||||
color: "black"
|
||||
opacity: 0.7
|
||||
z: stageMenu.z + 1
|
||||
}
|
||||
|
||||
Connections
|
||||
{
|
||||
target: Cura.Actions.showOnBoarding
|
||||
onTriggered:
|
||||
{
|
||||
welcomeDialog.show()
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted:
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue