123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- import QtQuick 2.10
- import QtQuick.Controls 2.3
- import QtQuick.Window 2.2
- import UM 1.3 as UM
- import Cura 1.1 as Cura
- Item
- {
- UM.I18nCatalog { id: catalog; name: "cura" }
- id: dialog
- anchors.centerIn: parent
- width: UM.Theme.getSize("welcome_wizard_window").width
- height: UM.Theme.getSize("welcome_wizard_window").height
- property int shadowOffset: 1 * screenScaleFactor
- property alias progressBarVisible: wizardPanel.progressBarVisible
- property var model: CuraApplication.getWelcomePagesModel()
- onVisibleChanged:
- {
- if (visible)
- {
- model.resetState()
- }
- }
- WizardPanel
- {
- id: wizardPanel
- anchors.fill: parent
- model: dialog.model
- }
-
-
-
-
- Connections
- {
- target: model
- function onAllFinished() { dialog.visible = false }
- }
- }
|