qmlfrontend/Page1Form.ui.qml
author unc0rr
Tue, 26 Dec 2017 01:36:58 +0100
branchqmlfrontend
changeset 12861 488782d9aba9
parent 12858 0c6fb706f747
child 12863 fe16fa088b69
permissions -rw-r--r--
Recreate uFLRunQueue in Qt, render previews
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12854
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 {
12861
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12858
diff changeset
     6
  property alias button1: button1
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12858
diff changeset
     7
  property alias previewImage: previewImage
12854
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     8
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     9
    RowLayout {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    10
        anchors.horizontalCenter: parent.horizontalCenter
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    11
        anchors.topMargin: 20
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    12
        anchors.top: parent.top
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    13
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    14
        Button {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    15
            id: button1
12858
0c6fb706f747 More refactoring in attempt to move away from frontlib
unc0rr
parents: 12854
diff changeset
    16
            text: qsTr("Run")
12854
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    17
        }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    18
    }
12861
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12858
diff changeset
    19
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12858
diff changeset
    20
    Image {
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12858
diff changeset
    21
        id: previewImage
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12858
diff changeset
    22
        x: 188
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12858
diff changeset
    23
        y: 176
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12858
diff changeset
    24
        width: 256
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12858
diff changeset
    25
        height: 128
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12858
diff changeset
    26
        source: "qrc:/res/iconTime.png"
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12858
diff changeset
    27
        cache: false
488782d9aba9 Recreate uFLRunQueue in Qt, render previews
unc0rr
parents: 12858
diff changeset
    28
    }
12854
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    29
}