|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>MqttConnectionOptionsDialog</class> |
|
4 <widget class="QDialog" name="MqttConnectionOptionsDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>400</width> |
|
10 <height>600</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>MQTT Connection Options</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
20 <item> |
|
21 <widget class="QGroupBox" name="groupBox"> |
|
22 <property name="title"> |
|
23 <string>General</string> |
|
24 </property> |
|
25 <layout class="QGridLayout" name="gridLayout"> |
|
26 <item row="0" column="0"> |
|
27 <widget class="QLabel" name="label"> |
|
28 <property name="text"> |
|
29 <string>Client ID:</string> |
|
30 </property> |
|
31 </widget> |
|
32 </item> |
|
33 <item row="0" column="1"> |
|
34 <widget class="E5ClearableLineEdit" name="clientIdEdit"> |
|
35 <property name="toolTip"> |
|
36 <string>Enter the ID string for this client</string> |
|
37 </property> |
|
38 </widget> |
|
39 </item> |
|
40 <item row="1" column="0"> |
|
41 <widget class="QLabel" name="label_2"> |
|
42 <property name="text"> |
|
43 <string>Keep Alive Interval:</string> |
|
44 </property> |
|
45 </widget> |
|
46 </item> |
|
47 <item row="1" column="1"> |
|
48 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
49 <item> |
|
50 <widget class="QSpinBox" name="keepaliveSpinBox"> |
|
51 <property name="toolTip"> |
|
52 <string>Enter the keep alive interval in seconds</string> |
|
53 </property> |
|
54 <property name="alignment"> |
|
55 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
56 </property> |
|
57 <property name="suffix"> |
|
58 <string> s</string> |
|
59 </property> |
|
60 <property name="maximum"> |
|
61 <number>300</number> |
|
62 </property> |
|
63 <property name="singleStep"> |
|
64 <number>5</number> |
|
65 </property> |
|
66 </widget> |
|
67 </item> |
|
68 <item> |
|
69 <spacer name="horizontalSpacer"> |
|
70 <property name="orientation"> |
|
71 <enum>Qt::Horizontal</enum> |
|
72 </property> |
|
73 <property name="sizeHint" stdset="0"> |
|
74 <size> |
|
75 <width>148</width> |
|
76 <height>20</height> |
|
77 </size> |
|
78 </property> |
|
79 </spacer> |
|
80 </item> |
|
81 </layout> |
|
82 </item> |
|
83 <item row="2" column="0" colspan="2"> |
|
84 <widget class="QCheckBox" name="cleanSessionCheckBox"> |
|
85 <property name="text"> |
|
86 <string>Clean Session</string> |
|
87 </property> |
|
88 </widget> |
|
89 </item> |
|
90 </layout> |
|
91 </widget> |
|
92 </item> |
|
93 <item> |
|
94 <widget class="QGroupBox" name="groupBox_2"> |
|
95 <property name="title"> |
|
96 <string>User Credentials</string> |
|
97 </property> |
|
98 <layout class="QGridLayout" name="gridLayout_2"> |
|
99 <item row="0" column="0"> |
|
100 <widget class="QLabel" name="label_3"> |
|
101 <property name="text"> |
|
102 <string>User Name:</string> |
|
103 </property> |
|
104 </widget> |
|
105 </item> |
|
106 <item row="0" column="1"> |
|
107 <widget class="E5ClearableLineEdit" name="usernameEdit"> |
|
108 <property name="toolTip"> |
|
109 <string>Enter the user name</string> |
|
110 </property> |
|
111 </widget> |
|
112 </item> |
|
113 <item row="1" column="0"> |
|
114 <widget class="QLabel" name="label_4"> |
|
115 <property name="text"> |
|
116 <string>Password:</string> |
|
117 </property> |
|
118 </widget> |
|
119 </item> |
|
120 <item row="1" column="1"> |
|
121 <widget class="E5ClearableLineEdit" name="passwordEdit"> |
|
122 <property name="toolTip"> |
|
123 <string>Enter the password</string> |
|
124 </property> |
|
125 <property name="echoMode"> |
|
126 <enum>QLineEdit::Password</enum> |
|
127 </property> |
|
128 </widget> |
|
129 </item> |
|
130 </layout> |
|
131 </widget> |
|
132 </item> |
|
133 <item> |
|
134 <widget class="QGroupBox" name="groupBox_3"> |
|
135 <property name="title"> |
|
136 <string>Last Will and Testament</string> |
|
137 </property> |
|
138 <layout class="QVBoxLayout" name="verticalLayout"> |
|
139 <item> |
|
140 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
141 <item> |
|
142 <spacer name="horizontalSpacer_2"> |
|
143 <property name="orientation"> |
|
144 <enum>Qt::Horizontal</enum> |
|
145 </property> |
|
146 <property name="sizeHint" stdset="0"> |
|
147 <size> |
|
148 <width>40</width> |
|
149 <height>20</height> |
|
150 </size> |
|
151 </property> |
|
152 </spacer> |
|
153 </item> |
|
154 <item> |
|
155 <widget class="QLabel" name="label_5"> |
|
156 <property name="text"> |
|
157 <string>QoS:</string> |
|
158 </property> |
|
159 </widget> |
|
160 </item> |
|
161 <item> |
|
162 <widget class="QSpinBox" name="willQosSpinBox"> |
|
163 <property name="toolTip"> |
|
164 <string>Enter the desired QoS value</string> |
|
165 </property> |
|
166 <property name="alignment"> |
|
167 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
168 </property> |
|
169 <property name="maximum"> |
|
170 <number>2</number> |
|
171 </property> |
|
172 </widget> |
|
173 </item> |
|
174 <item> |
|
175 <widget class="QCheckBox" name="willRetainCheckBox"> |
|
176 <property name="toolTip"> |
|
177 <string>Select to retain the last will message</string> |
|
178 </property> |
|
179 <property name="text"> |
|
180 <string>Retain</string> |
|
181 </property> |
|
182 </widget> |
|
183 </item> |
|
184 </layout> |
|
185 </item> |
|
186 <item> |
|
187 <widget class="QLineEdit" name="willTopicEdit"> |
|
188 <property name="toolTip"> |
|
189 <string>Enter the topic of the last will</string> |
|
190 </property> |
|
191 </widget> |
|
192 </item> |
|
193 <item> |
|
194 <widget class="QPlainTextEdit" name="willMessageEdit"> |
|
195 <property name="maximumSize"> |
|
196 <size> |
|
197 <width>16777215</width> |
|
198 <height>300</height> |
|
199 </size> |
|
200 </property> |
|
201 <property name="toolTip"> |
|
202 <string>Enter the last will message to be sent</string> |
|
203 </property> |
|
204 </widget> |
|
205 </item> |
|
206 </layout> |
|
207 </widget> |
|
208 </item> |
|
209 <item> |
|
210 <widget class="QDialogButtonBox" name="buttonBox"> |
|
211 <property name="orientation"> |
|
212 <enum>Qt::Horizontal</enum> |
|
213 </property> |
|
214 <property name="standardButtons"> |
|
215 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::RestoreDefaults</set> |
|
216 </property> |
|
217 </widget> |
|
218 </item> |
|
219 </layout> |
|
220 </widget> |
|
221 <customwidgets> |
|
222 <customwidget> |
|
223 <class>E5ClearableLineEdit</class> |
|
224 <extends>QLineEdit</extends> |
|
225 <header>E5Gui/E5LineEdit.h</header> |
|
226 </customwidget> |
|
227 </customwidgets> |
|
228 <tabstops> |
|
229 <tabstop>clientIdEdit</tabstop> |
|
230 <tabstop>keepaliveSpinBox</tabstop> |
|
231 <tabstop>cleanSessionCheckBox</tabstop> |
|
232 <tabstop>usernameEdit</tabstop> |
|
233 <tabstop>passwordEdit</tabstop> |
|
234 <tabstop>willQosSpinBox</tabstop> |
|
235 <tabstop>willRetainCheckBox</tabstop> |
|
236 <tabstop>willTopicEdit</tabstop> |
|
237 <tabstop>willMessageEdit</tabstop> |
|
238 </tabstops> |
|
239 <resources/> |
|
240 <connections> |
|
241 <connection> |
|
242 <sender>buttonBox</sender> |
|
243 <signal>accepted()</signal> |
|
244 <receiver>MqttConnectionOptionsDialog</receiver> |
|
245 <slot>accept()</slot> |
|
246 <hints> |
|
247 <hint type="sourcelabel"> |
|
248 <x>248</x> |
|
249 <y>254</y> |
|
250 </hint> |
|
251 <hint type="destinationlabel"> |
|
252 <x>157</x> |
|
253 <y>274</y> |
|
254 </hint> |
|
255 </hints> |
|
256 </connection> |
|
257 <connection> |
|
258 <sender>buttonBox</sender> |
|
259 <signal>rejected()</signal> |
|
260 <receiver>MqttConnectionOptionsDialog</receiver> |
|
261 <slot>reject()</slot> |
|
262 <hints> |
|
263 <hint type="sourcelabel"> |
|
264 <x>316</x> |
|
265 <y>260</y> |
|
266 </hint> |
|
267 <hint type="destinationlabel"> |
|
268 <x>286</x> |
|
269 <y>274</y> |
|
270 </hint> |
|
271 </hints> |
|
272 </connection> |
|
273 </connections> |
|
274 </ui> |