qmlfrontend/Page1Form.ui.qml
author unc0rr
Wed, 27 Dec 2017 00:59:26 +0100
branchqmlfrontend
changeset 12868 fe16fa088b69
parent 12866 488782d9aba9
child 12881 b544bbbd0696
permissions -rw-r--r--
Make playing a game possible

import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.3

Item {
  property alias button1: button1
  property alias previewImage: previewImage
  property alias gameButton: gameButton

    RowLayout {
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.topMargin: 20
        anchors.top: parent.top

        Button {
          id: button1
          text: qsTr("Preview")
        }

        Button {
            id: gameButton
            text: qsTr("Game")
        }
    }

    Image {
        id: previewImage
        x: 188
        y: 176
        width: 256
        height: 128
        source: "qrc:/res/iconTime.png"
        cache: false
    }
}