qmlFrontend/qml/qmlFrontend/Connect.qml
author unc0rr
Fri, 20 Nov 2015 23:56:13 +0300
branchqmlfrontend
changeset 11418 091149424aa4
parent 10896 5a74923120d5
permissions -rw-r--r--
Handle ROOMS and ROOM ADD protocol commands

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);
    }
}