From cd1d46a26b923260b6c87cc93a0723b8166c609e Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Fri, 27 Aug 2021 19:45:41 +0200 Subject: [ui] refactor ui --- gui/components/Help.qml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 gui/components/Help.qml (limited to 'gui/components/Help.qml') diff --git a/gui/components/Help.qml b/gui/components/Help.qml new file mode 100644 index 0000000..aced273 --- /dev/null +++ b/gui/components/Help.qml @@ -0,0 +1,32 @@ +import QtQuick 2.9 +import QtQuick.Controls 2.2 + +Page { + title: qsTr("Help") + + Column { + anchors.centerIn: parent + spacing: 10 + + Button { + anchors.horizontalCenter: parent.horizontalCenter + text: qsTr("Donate") + onClicked: stackView.push("Donate.qml") + } + Button { + anchors.horizontalCenter: parent.horizontalCenter + text: qsTr("Terms of Service") + onClicked: stackView.push("Donate.qml") + } + Button { + anchors.horizontalCenter: parent.horizontalCenter + text: qsTr("Contact Support") + onClicked: stackView.push("Donate.qml") + } + Button { + anchors.horizontalCenter: parent.horizontalCenter + text: qsTr("Report bug") + onClicked: stackView.push("Donate.qml") + } + } +} -- cgit v1.2.3