import QtQuick 2.12 import QtQuick.Window 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 import QtQuick.Controls.Material 2.12 ApplicationWindow { id: appWin visible: true width: 800; height: 600 title: qsTr("Accounts Test") Material.background: Material.Grey Label { id: label anchors.top: parent.top anchors.topMargin: parent.height / 30 anchors.horizontalCenter: parent.horizontalCenter text: qsTr("Accounts Balance") font.pixelSize: Qt.application.font.pixelSize * 2 color: "black" } ColumnLayout { anchors.top: label.bottom anchors.topMargin: parent.height / 15 anchors.bottom: parent.bottom anchors.bottomMargin: parent.height / 15 spacing: 5 MyButton { id: accountButton myText: qsTr("Accounts") mySource: "qrc:/images/accounts.png" } MyButton { id: deptorButton myText: qsTr("Deptors") mySource: "qrc:/images/deptors.png" } MyButton { id: creditorButton myText: qsTr("Creditors") mySource: "qrc:/images/creditors.png" } MyButton { id: backupButton myText: qsTr("Backup") mySource: "qrc:/images/backup.png" } MyButton { id: aboutButton myText: qsTr("About") mySource: "qrc:/images/about.png" } } }