-
Notifications
You must be signed in to change notification settings - Fork 0
/
Page1Form.ui.qml
52 lines (43 loc) · 950 Bytes
/
Page1Form.ui.qml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.3
Item {
property alias textField1: textField1
property alias button1: button1
RowLayout {
anchors.horizontalCenter: parent.horizontalCenter
anchors.topMargin: 20
anchors.top: parent.top
TextField {
id: textField1
placeholderText: qsTr("Text Field")
}
Button {
id: button1
text: qsTr("Press Me")
}
}
SwipeView {
id: swipeView
x: 43
y: 149
width: 200
height: 200
currentIndex: tabBar.currentIndex
Item {
id: page1
}
Item {
id: page2
}
Item {
id: page3
}
}
TabBar {
id: tabBar
anchors.right: swipeView.right
anchors.left: swipeView.left
anchors.bottom: swipeView.top
}
}