qmlfrontend/Page1Form.ui.qml
branchqmlfrontend
changeset 12858 0c6fb706f747
parent 12854 28cb18c5e712
child 12861 488782d9aba9
equal deleted inserted replaced
12857:90f927b4b9e1 12858:0c6fb706f747
     1 import QtQuick 2.7
     1 import QtQuick 2.7
     2 import QtQuick.Controls 2.0
     2 import QtQuick.Controls 2.0
     3 import QtQuick.Layouts 1.3
     3 import QtQuick.Layouts 1.3
     4 
     4 
     5 Item {
     5 Item {
     6     property alias textField1: textField1
       
     7     property alias button1: button1
     6     property alias button1: button1
     8 
     7 
     9     RowLayout {
     8     RowLayout {
    10         anchors.horizontalCenter: parent.horizontalCenter
     9         anchors.horizontalCenter: parent.horizontalCenter
    11         anchors.topMargin: 20
    10         anchors.topMargin: 20
    12         anchors.top: parent.top
    11         anchors.top: parent.top
    13 
    12 
    14         TextField {
       
    15             id: textField1
       
    16             placeholderText: qsTr("Text Field")
       
    17         }
       
    18 
       
    19         Button {
    13         Button {
    20             id: button1
    14             id: button1
    21             text: qsTr("Press Me")
    15             text: qsTr("Run")
    22         }
    16         }
    23     }
    17     }
    24 }
    18 }