qmlfrontend/Page1Form.ui.qml
author unc0rr
Tue, 02 Jan 2018 23:45:18 +0100
branchqmlfrontend
changeset 12881 b544bbbd0696
parent 12868 fe16fa088b69
permissions -rw-r--r--
Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12859
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     1
import QtQuick 2.7
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     2
import QtQuick.Controls 2.0
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     3
import QtQuick.Layouts 1.3
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     4
12881
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
     5
import Hedgewars.Engine 1.0
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
     6
12859
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     7
Item {
12881
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
     8
    property alias button1: button1
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
     9
    property alias previewImage: previewImage
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    10
    property alias gameButton: gameButton
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    11
    width: 1024
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    12
    height: 800
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    13
    property alias tickButton: tickButton
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    14
    property alias item1: item1
12859
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    15
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    16
    RowLayout {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    17
        anchors.horizontalCenter: parent.horizontalCenter
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    18
        anchors.topMargin: 20
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    19
        anchors.top: parent.top
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    20
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    21
        Button {
12881
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    22
            id: button1
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    23
            text: qsTr("Preview")
12868
fe16fa088b69 Make playing a game possible
unc0rr
parents: 12866
diff changeset
    24
        }
fe16fa088b69 Make playing a game possible
unc0rr
parents: 12866
diff changeset
    25
fe16fa088b69 Make playing a game possible
unc0rr
parents: 12866
diff changeset
    26
        Button {
fe16fa088b69 Make playing a game possible
unc0rr
parents: 12866
diff changeset
    27
            id: gameButton
fe16fa088b69 Make playing a game possible
unc0rr
parents: 12866
diff changeset
    28
            text: qsTr("Game")
12859
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    29
        }
12881
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    30
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    31
        Button {
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    32
            id: tickButton
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    33
            text: qsTr("Tick")
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    34
        }
12859
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    35
    }
12866
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    36
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    37
    Image {
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    38
        id: previewImage
12881
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    39
        x: 8
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    40
        y: 20
12866
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    41
        width: 256
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    42
        height: 128
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    43
        source: "qrc:/res/iconTime.png"
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    44
        cache: false
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    45
    }
12881
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    46
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    47
    GameView {
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    48
        id: item1
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    49
        x: 8
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    50
        y: 154
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    51
        width: 1008
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    52
        height: 638
b544bbbd0696 Break engine completely and make it render in frontend window (no actual rendering yet, just white screen)
unc0rr
parents: 12868
diff changeset
    53
    }
12859
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    54
}