author | Wuzzy <Wuzzy2@mail.ru> |
Sat, 07 Jul 2018 22:50:08 +0200 | |
changeset 13451 | 7d69c5605a9d |
parent 12854 | 28cb18c5e712 |
child 12858 | 0c6fb706f747 |
child 14143 | 745c73e0e644 |
permissions | -rw-r--r-- |
12854 | 1 |
import QtQuick 2.7 |
2 |
import QtQuick.Controls 2.0 |
|
3 |
import QtQuick.Layouts 1.3 |
|
4 |
||
5 |
Item { |
|
6 |
property alias textField1: textField1 |
|
7 |
property alias button1: button1 |
|
8 |
||
9 |
RowLayout { |
|
10 |
anchors.horizontalCenter: parent.horizontalCenter |
|
11 |
anchors.topMargin: 20 |
|
12 |
anchors.top: parent.top |
|
13 |
||
14 |
TextField { |
|
15 |
id: textField1 |
|
16 |
placeholderText: qsTr("Text Field") |
|
17 |
} |
|
18 |
||
19 |
Button { |
|
20 |
id: button1 |
|
21 |
text: qsTr("Press Me") |
|
22 |
} |
|
23 |
} |
|
24 |
} |