-
Notifications
You must be signed in to change notification settings - Fork 2
/
UtilidadesForm.ui.qml
110 lines (106 loc) · 3.11 KB
/
UtilidadesForm.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
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
import QtQuick 2.4
import QtQuick.Controls 2.3
Page {
id: page
width: 400
height: 800
property alias textAreaText2: textAreaText2
property alias textAreaHexa2: textAreaHexa2
property alias textAreaText: textAreaText
property alias textAreaHexa: textAreaHexa
anchors.fill: parent
title: qsTr("Utilidades")
Flickable{
anchors.fill: parent
contentHeight: groupBox.height + groupBox1.height + 30
ScrollBar.vertical: ScrollBar { }
GroupBox {
id: groupBox
height: 300
anchors.top: parent.top
anchors.topMargin: 10
anchors.right: parent.right
anchors.rightMargin: 10
anchors.left: parent.left
anchors.leftMargin: 10
spacing: 10
title: qsTr("Texto a Hexa:")
ScrollView{
anchors.left: parent.left
anchors.leftMargin: 5
anchors.top: parent.top
anchors.topMargin: 5
anchors.bottom: parent.bottom
anchors.bottomMargin: 5
width: parent.width / 2 - 10
TextArea {
id: textAreaText
wrapMode: Text.WordWrap
selectByMouse: true
inputMethodHints: Qt.ImhNoPredictiveText;
}
}
ScrollView{
anchors.right: parent.right
anchors.rightMargin: 5
anchors.bottom: parent.bottom
anchors.bottomMargin: 5
anchors.topMargin: 5
anchors.top: parent.top
width: parent.width / 2 - 10
TextArea {
id: textAreaHexa
text: qsTr("")
readOnly: true
wrapMode: Text.WordWrap
selectByMouse: true
}
}
}
GroupBox {
id: groupBox1
x: -7
height: 300
anchors.top: groupBox.bottom
anchors.topMargin: 10
ScrollView {
width: parent.width / 2 - 10
anchors.bottom: parent.bottom
anchors.bottomMargin: 5
TextArea {
id: textAreaHexa2
wrapMode: Text.WordWrap
selectByMouse: true
inputMethodHints: Qt.ImhNoPredictiveText
}
anchors.topMargin: 5
anchors.top: parent.top
anchors.left: parent.left
anchors.leftMargin: 5
}
ScrollView {
width: parent.width / 2 - 10
anchors.bottom: parent.bottom
anchors.bottomMargin: 5
TextArea {
id: textAreaText2
textFormat: TextArea.RichText
text: qsTr("")
wrapMode: Text.WordWrap
selectByMouse: true
readOnly: true
}
anchors.topMargin: 5
anchors.top: parent.top
anchors.rightMargin: 5
anchors.right: parent.right
}
title: qsTr("Hexa a Texto:")
spacing: 10
anchors.left: parent.left
anchors.rightMargin: 10
anchors.right: parent.right
anchors.leftMargin: 10
}
}
}