qmlfrontend/Page1Form.ui.qml
author unc0rr
Sat, 16 Dec 2017 23:26:13 +0100
changeset 12859 28cb18c5e712
child 12863 0c6fb706f747
child 14148 745c73e0e644
permissions -rw-r--r--
Add new qmlfrontend project template
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 {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     6
    property alias textField1: textField1
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     7
    property alias button1: button1
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
        TextField {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    15
            id: textField1
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    16
            placeholderText: qsTr("Text Field")
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    17
        }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    18
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    19
        Button {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    20
            id: button1
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    21
            text: qsTr("Press Me")
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    22
        }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    23
    }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    24
}