qmlfrontend/Page1Form.ui.qml
author Wuzzy <Wuzzy2@mail.ru>
Tue, 28 Aug 2018 03:45:44 +0200
changeset 13709 e2b1abb4fba5
parent 12854 28cb18c5e712
child 12858 0c6fb706f747
child 14143 745c73e0e644
permissions -rw-r--r--
Space Invasion: refactor variables into a large table for everything To fix that annoying "upvalue" error if more variables are added
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
}