aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/qml/testprojects/gridlayout/Testcases01.ui.qml
blob: 263d6f6cb5257f2a6a8546d44cae7b3806a46251 (plain)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

import QtQuick 2.0
import QtQuick.Layouts 1.0
import QtQuick.Controls 1.2

Rectangle {
    width: 640
    height: 480

    Label {
        id: label1
        x: 8
        y: 11
        text: qsTr("Name")
    }

    Label {
        id: label2
        x: 8
        y: 43
        text: qsTr("Status")
    }

    Label {
        id: label3
        x: 8
        y: 62
        text: qsTr("Type")
    }

    Label {
        id: label4
        x: 8
        y: 81
        text: qsTr("Where")
    }

    Label {
        id: label5
        x: 8
        y: 100
        text: qsTr("Comment")
    }

    ComboBox {
        id: comboBox1
        x: 63
        y: 8
        width: 171
        height: 20
    }

    Button {
        id: button1
        x: 247
        y: 6
        text: qsTr("Button")
    }

    Label {
        id: label6
        x: 63
        y: 43
        text: qsTr("Idle")
    }

    Label {
        id: label7
        x: 63
        y: 62
        text: qsTr("HP Deskjet")
    }

    Label {
        id: label8
        x: 63
        y: 81
        text: qsTr("LPT 1")
    }

    CheckBox {
        id: checkBox1
        x: 247
        y: 69
        text: qsTr("Print to file")
    }

    RadioButton {
        id: radioButton1
        x: 8
        y: 198
        text: qsTr("All")
    }

    RadioButton {
        id: radioButton2
        x: 8
        y: 221
        text: qsTr("Current page")
    }

    RadioButton {
        id: radioButton3
        x: 114
        y: 221
        text: qsTr("Selection")
    }

    RadioButton {
        id: radioButton4
        x: 8
        y: 244
        text: qsTr("Pages")
    }

    TextField {
        id: textField1
        x: 114
        y: 244
        placeholderText: qsTr("Text Field")
    }

    Label {
        id: label9
        x: 10
        y: 280
        width: 231
        height: 13
        text: qsTr("Some long description covering several lines with long explanations")
        wrapMode: Text.WordWrap
    }
}