qmlfrontend/Page1Form.ui.qml
author alfadur
Sat, 13 Oct 2018 00:43:04 +0300
changeset 13890 2a3d119b9fe9
parent 12854 28cb18c5e712
child 12858 0c6fb706f747
child 14143 745c73e0e644
permissions -rw-r--r--
delegate cmp to rustlib
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 {
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
}