qmlFrontend/qml/qmlFrontend/Connect.qml
author sheepluva
Sun, 01 May 2016 21:09:45 +0200
branchqmlfrontend
changeset 11787 bcba7938ccb5
parent 10896 5a74923120d5
permissions -rw-r--r--
qmlfrontend/map-preview: add hog count display thingy (only displays "?" for now)

import QtQuick 2.0
import Hedgewars.Engine 1.0

Rectangle {
    HWButton {
        id: btnNetConnect
        x: 80
        y: 80
        width: 256
        height: 128

        onClicked: HWEngine.connect("netserver.hedgewars.org", 46631);
    }
}