From bf635def9dadee8a4aff8f90d8f419b02286cf9c Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Sun, 6 Dec 2020 00:19:29 +0700 Subject: add back button --- pages/GetStarted.qml | 2 ++ pages/GetStartedForm.ui.qml | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pages/GetStarted.qml b/pages/GetStarted.qml index b4744dd..b303de5 100644 --- a/pages/GetStarted.qml +++ b/pages/GetStarted.qml @@ -1,4 +1,6 @@ import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Layouts 1.12 GetStartedForm { objectName: "getstarted" diff --git a/pages/GetStartedForm.ui.qml b/pages/GetStartedForm.ui.qml index 7cff151..8132864 100644 --- a/pages/GetStartedForm.ui.qml +++ b/pages/GetStartedForm.ui.qml @@ -7,12 +7,15 @@ Page { property alias backButton: backButton header: ToolBar { background: Rectangle { - color: "#FAFFFFFF" + color: "transparent" } RowLayout { ToolButton { id: backButton + display: AbstractButton.IconOnly highlighted: true + icon.name: "back-button" + icon.source: "../icons/arrow-back-24px.svg" } } } -- cgit v1.2.3