/*************************************************************/ /* */ /* Copyright (C) Microsoft Corporation. All rights reserved. */ /* */ /*************************************************************/ import Colors 1.0 import QtQuick 2.7 import QtQuick.Controls 2.4 import QtQuick.Controls.Styles 1.4 import "fabricMdl2.js" as FabricMDL Rectangle { id: root anchors.fill: parent color: "transparent" onVisibleChanged: { if (visible) { nextBtn.forceActiveFocus(); wizardWindow.announceTextChange(header, header.title.text, Accessible.AnnouncementProcessing_ImportantAll); } } WizardPageHeader { id: header anchors { top: parent.top left: parent.left right: parent.right } title.text: _("FirstRunFinishFirstRunTitle") subtitle.visible: false image.source: fullImageLocation + "fre_done.svg" } FabricButton { id: nextBtn width: nextBtn.contentItem.paintedWidth + 50 height: contentItem.paintedHeight + 12 anchors { bottom: parent.bottom right: parent.right bottomMargin: 30 rightMargin: 35 } Accessible.role: Accessible.Button Accessible.name: nextBtn.buttonText Accessible.onPressAction: nextBtn.clicked() Keys.onReturnPressed: nextBtn.clicked() Keys.onEnterPressed: nextBtn.clicked() buttonText: _("StatusMenuItemOpenLocalFolder") onClicked: pageModel.OpenOneDriveFolderClicked(); } }