qmlfrontend/Page1Form.ui.qml
author unc0rr
Wed, 27 Dec 2017 00:59:26 +0100
branchqmlfrontend
changeset 12868 fe16fa088b69
parent 12866 488782d9aba9
child 12881 b544bbbd0696
permissions -rw-r--r--
Make playing a game possible
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
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     5
Item {
12866
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
     6
  property alias button1: button1
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
     7
  property alias previewImage: previewImage
12868
fe16fa088b69 Make playing a game possible
unc0rr
parents: 12866
diff changeset
     8
  property alias gameButton: gameButton
12859
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     9
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    10
    RowLayout {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    11
        anchors.horizontalCenter: parent.horizontalCenter
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    12
        anchors.topMargin: 20
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    13
        anchors.top: parent.top
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    14
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    15
        Button {
12868
fe16fa088b69 Make playing a game possible
unc0rr
parents: 12866
diff changeset
    16
          id: button1
fe16fa088b69 Make playing a game possible
unc0rr
parents: 12866
diff changeset
    17
          text: qsTr("Preview")
fe16fa088b69 Make playing a game possible
unc0rr
parents: 12866
diff changeset
    18
        }
fe16fa088b69 Make playing a game possible
unc0rr
parents: 12866
diff changeset
    19
fe16fa088b69 Make playing a game possible
unc0rr
parents: 12866
diff changeset
    20
        Button {
fe16fa088b69 Make playing a game possible
unc0rr
parents: 12866
diff changeset
    21
            id: gameButton
fe16fa088b69 Make playing a game possible
unc0rr
parents: 12866
diff changeset
    22
            text: qsTr("Game")
12859
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    23
        }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    24
    }
12866
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    25
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    26
    Image {
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    27
        id: previewImage
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    28
        x: 188
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    29
        y: 176
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    30
        width: 256
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    31
        height: 128
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    32
        source: "qrc:/res/iconTime.png"
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    33
        cache: false
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12863
diff changeset
    34
    }
12859
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    35
}