Guo Wenxue
2022-04-08 621eab30375de32f1b947793aacfcf3392d39246
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
import QtQuick 2.5
import QtQuick.Window 2.2
 
Window {
    visible: true
    width: 640
    height: 480
    title: qsTr("Hello World")
 
    MainForm {
        anchors.fill: parent
        mouseArea.onClicked: {
            Qt.quit();
        }
 
        Text {
            id: text1
            x: 131
            y: 136
            width: 100
            height: 20
            text: "192.168.1.10"
            font.pixelSize: 12
        }
 
        TextInput {
            id: textInput1
            x: 45
            y: 136
            width: 80
            height: 20
            text: "IP地址"
            font.pixelSize: 12
        }
 
        TextEdit {
            id: textEdit1
            x: 261
            y: 136
            width: 80
            height: 20
            text: qsTr("Text Edit")
            font.pixelSize: 12
        }
 
        Rectangle {
            id: rectangle1
            x: 380
            y: 165
            width: 200
            height: 200
            color: "#ffffff"
        }
 
        Image {
            id: image1
            x: 25
            y: 245
            width: 100
            height: 100
            source: "qrc:/qtquickplugin/images/template_image.png"
        }
 
        Item {
            id: item1
            x: 149
            y: 187
            width: 200
            height: 200
        }
 
        MainForm {
            id: mainForm1
            x: 163
            y: 52
        }
    }
}