//# //# Copyright (C) 2021-2021 QuasarApp. //# Distributed under the GPLv3 software license, see the accompanying //# Everyone is permitted to copy and distribute verbatim copies //# of this license document, but changing it is not allowed. //# import QtQuick import QtQuick.Controls.Material import QtQuick.Controls import QtQuick.Layouts Item { id: root property var model: null visible: Boolean(model && model.visible) z: 1 GridLayout { id: columnLayout anchors.top: parent.top anchors.bottom: parent.bottom anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 0 anchors.rightMargin: 0 anchors.bottomMargin: 0 anchors.topMargin: 0 columns: 1 rows: 10 transformOrigin: Item.Center MainMenuButton { id: play text: qsTr("Select level") onClicked: { selectLvl.open() } } MainMenuButton { id: store text: qsTr("Store") onClicked: { storePopUp.open() } } MainMenuButton { id: settings text: qsTr("My Settings") onClicked: { settingsPopUp.open(); } } MainMenuButton { id: exit text: qsTr("Exit") onClicked: { Qt.quit(); } } } } /*##^## Designer { D{i:0;autoSize:true;height:480;width:640} } ##^##*/