Add link to help and button to continue

These two are aligned vertically.

Contributes to issue CURA-8609.
This commit is contained in:
Ghostkeeper 2021-10-05 12:05:26 +02:00
parent d8dcd0affc
commit cef5c5da2a
No known key found for this signature in database
GPG Key ID: 68F39EA88EEED5FF

View File

@ -4,6 +4,7 @@
import QtQuick 2.1 import QtQuick 2.1
import QtQuick.Controls 2.1 import QtQuick.Controls 2.1
import QtQuick.Window 2.1 import QtQuick.Window 2.1
import Cura 1.1 as Cura
import UM 1.2 as UM import UM 1.2 as UM
Window Window
@ -54,6 +55,33 @@ Window
sourceSize.width: width sourceSize.width: width
} }
} }
Cura.PrimaryButton
{
id: startButton
anchors
{
right: parent.right
rightMargin: UM.Theme.getSize("default_margin").width
bottom: parent.bottom
bottomMargin: UM.Theme.getSize("default_margin").height
}
text: catalog.i18nc("@button", "Start")
onClicked: swipeView.currentIndex += 1
}
Cura.TertiaryButton
{
anchors
{
left: parent.left
leftMargin: UM.Theme.getSize("default_margin").width
verticalCenter: startButton.verticalCenter
}
text: catalog.i18nc("@button", "Why do I need to sync material profiles?")
iconSource: UM.Theme.getIcon("LinkExternal")
isIconOnRightSide: true
onClicked: Qt.openUrlExternally("https://ultimaker.com")
}
} }
} }
} }