qmlFrontend/qml/qmlFrontend/Connect.qml
author unc0rr
Thu, 26 Nov 2015 20:11:54 +0300
branchqmlfrontend
changeset 11432 97e3e62ea5f9
parent 10896 5a74923120d5
permissions -rw-r--r--
Update seed, theme and script from net in UI
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10896
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
     1
import QtQuick 2.0
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
     2
import Hedgewars.Engine 1.0
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
     3
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
     4
Rectangle {
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
     5
    HWButton {
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
     6
        id: btnNetConnect
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
     7
        x: 80
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
     8
        y: 80
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
     9
        width: 256
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
    10
        height: 128
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
    11
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
    12
        onClicked: HWEngine.connect("netserver.hedgewars.org", 46631);
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
    13
    }
5a74923120d5 Start network support: only setting up a connection for now
unc0rr
parents:
diff changeset
    14
}