2024-10-15 19:26:12 +00:00
|
|
|
import QtQuick 2.15
|
|
|
|
import QtQuick.Controls 2.15
|
2022-03-07 22:59:38 +00:00
|
|
|
|
|
|
|
import StatusQ.Controls 0.1
|
2024-10-15 19:26:12 +00:00
|
|
|
import StatusQ.Core.Theme 0.1
|
2022-03-07 22:59:38 +00:00
|
|
|
|
|
|
|
import utils 1.0
|
|
|
|
|
|
|
|
Page {
|
|
|
|
id: root
|
2022-05-03 07:28:16 +00:00
|
|
|
|
|
|
|
property alias backButtonVisible: backButton.visible
|
|
|
|
|
2022-03-07 22:59:38 +00:00
|
|
|
signal backClicked()
|
|
|
|
|
|
|
|
background: Rectangle {
|
2024-10-15 19:26:12 +00:00
|
|
|
color: Theme.palette.background
|
2022-03-07 22:59:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
StatusRoundButton {
|
2022-05-03 07:28:16 +00:00
|
|
|
id: backButton
|
2022-11-17 14:06:36 +00:00
|
|
|
objectName: "onboardingBackButton"
|
2022-03-07 22:59:38 +00:00
|
|
|
anchors.left: parent.left
|
2024-10-15 19:26:12 +00:00
|
|
|
anchors.leftMargin: Theme.padding
|
2022-03-07 22:59:38 +00:00
|
|
|
anchors.bottom: parent.bottom
|
2024-10-15 19:26:12 +00:00
|
|
|
anchors.bottomMargin: Theme.padding
|
2022-03-07 22:59:38 +00:00
|
|
|
icon.name: "arrow-left"
|
|
|
|
onClicked: {
|
|
|
|
root.backClicked();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|