qmlFrontend/qml/qmlFrontend/main.qml
author unc0rr
Fri, 12 Sep 2014 00:51:14 +0400
branchqmlfrontend
changeset 10402 3313336c1ee0
child 10420 02c573d19224
permissions -rw-r--r--
Let's get it started

import QtQuick 2.0
import Hedgewars.Engine 1.0

Rectangle {
    width: 400
    height: 400

    HWButton {
        id: hwbutton1
        x: 8
        y: 66
        width: 166
        height: 158

        onClicked: {
            HWEngine.run()
        }
    }

    HWButton {
        id: hwbutton2
        x: 192
        y: 66
        width: 200
        height: 139
    }
}