-
Notifications
You must be signed in to change notification settings - Fork 46
/
pubform.ui
173 lines (173 loc) · 4.11 KB
/
pubform.ui
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PubForm</class>
<widget class="QWidget" name="PubForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>540</width>
<height>222</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0">
<property name="leftMargin">
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string/>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="2">
<widget class="QComboBox" name="qOSComboBox">
<item>
<property name="text">
<string>QOS0</string>
</property>
</item>
<item>
<property name="text">
<string>QOS1</string>
</property>
</item>
<item>
<property name="text">
<string>QOS2</string>
</property>
</item>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="topicLabel">
<property name="text">
<string>Topic(*):</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="messageLabel">
<property name="text">
<string>Message(*):</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="qOSLabel">
<property name="text">
<string>QOS:</string>
</property>
</widget>
</item>
<item row="6" column="2" colspan="5">
<widget class="QTextEdit" name="payloadEdit"/>
</item>
<item row="0" column="2" colspan="5">
<widget class="QLineEdit" name="topicLineEdit"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="retainLabel">
<property name="text">
<string>Retain:</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QCheckBox" name="retainCheckBox"/>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QPushButton" name="pubButton">
<property name="text">
<string>&Publish</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
<tabstops>
<tabstop>topicLineEdit</tabstop>
<tabstop>qOSComboBox</tabstop>
<tabstop>retainCheckBox</tabstop>
<tabstop>payloadEdit</tabstop>
<tabstop>pubButton</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>pubButton</sender>
<signal>clicked()</signal>
<receiver>PubForm</receiver>
<slot>onPublish()</slot>
<hints>
<hint type="sourcelabel">
<x>507</x>
<y>23</y>
</hint>
<hint type="destinationlabel">
<x>539</x>
<y>104</y>
</hint>
</hints>
</connection>
<connection>
<sender>topicLineEdit</sender>
<signal>textEdited(QString)</signal>
<receiver>PubForm</receiver>
<slot>onPublishReady()</slot>
<hints>
<hint type="sourcelabel">
<x>193</x>
<y>38</y>
</hint>
<hint type="destinationlabel">
<x>435</x>
<y>3</y>
</hint>
</hints>
</connection>
<connection>
<sender>payloadEdit</sender>
<signal>textChanged()</signal>
<receiver>PubForm</receiver>
<slot>onPublishReady()</slot>
<hints>
<hint type="sourcelabel">
<x>371</x>
<y>152</y>
</hint>
<hint type="destinationlabel">
<x>446</x>
<y>252</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>onPublishReady()</slot>
<slot>onPublish()</slot>
</slots>
</ui>