qmlfrontend/Page1Form.ui.qml
author unc0rr
Tue, 13 Mar 2018 22:57:49 +0100
branchqt5transition
changeset 13186 07c93d864bc2
parent 12854 28cb18c5e712
child 12858 0c6fb706f747
child 14164 745c73e0e644
permissions -rw-r--r--
Workaround for the weird new qgraphicsview/qgraphicsscene fitInView behavior
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
}