first commit

This commit is contained in:
Your Name
2022-10-20 20:29:11 +08:00
commit 4d531f8044
3238 changed files with 1387862 additions and 0 deletions
+56
View File
@@ -0,0 +1,56 @@
import QtQuick 2.0
Rectangle {
id: root
border.width: 1
border.color: "orange"
color: "#1f1f1f"
height: contentBox.childrenRect.height + 40
width: 600
Component.onCompleted: {
if (!_application.showGettingStarted) {
root.visible = false;
}
}
Column {
id: contentBox
width: parent.width - 20
y: 20
spacing: 20
anchors {
horizontalCenter: parent.horizontalCenter
}
Text {
width: parent.width
text: _application.gettingStartedText
wrapMode: Text.WordWrap
color: "white"
}
Row {
id: buttonRow
spacing: 20
anchors.horizontalCenter: parent.horizontalCenter
height: childrenRect.height
Button {
label: qsTr("Okay")
onClicked: root.visible = false
width: 150
}
Button {
label: qsTr("Don't show again")
onClicked: {
_application.showGettingStarted = false;
root.visible = false
}
width: 150
}
}
}
}