qmlFrontend/qml/qmlFrontend/LocalGame.qml
author unc0rr
Sun, 28 Sep 2014 21:33:14 +0400
branchqmlfrontend
changeset 10432 b0abef0ee78c
parent 10422 4cf23d4c7624
child 11426 ab6a6d9ebfc0
permissions -rw-r--r--
Quick Game PoC

import QtQuick 2.0
import Hedgewars.Engine 1.0

Rectangle {
    HWButton {
        id: btnQuickGame
        x: 8
        y: 66
        width: 150
        height: 150

        onClicked: HWEngine.runQuickGame()
    }

    HWButton {
        id: btnMultiplayer
        x: 192
        y: 66
        width: 150
        height: 150

        onClicked: pages.currentPage = "GameConfig"
    }
}