Debian Codegraph @

ui/emailDialog.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>emailDialog</class>
4 <widget class="QDialog" name="emailDialog">
5 <property name="windowModality">
6 <enum>Qt::NonModal</enum>
7 </property>
8 <property name="geometry">
9 <rect>
10 <x>0</x>
11 <y>0</y>
12 <width>540</width>
13 <height>460</height>
14 </rect>
15 </property>
16 <property name="windowTitle">
17 <string>luckyBackup - email</string>
18 </property>
19 <property name="windowIcon">
20 <iconset resource="../resources/luckybackup.qrc">
21 <normaloff>:/luckyPrefix/luckybackup_96.png</normaloff>:/luckyPrefix/luckybackup_96.png</iconset>
22 </property>
23 <layout class="QGridLayout" name="gridLayout_3">
24 <item row="0" column="0">
25 <layout class="QHBoxLayout" name="horizontalLayout">
26 <item>
27 <widget class="QLabel" name="label_emailIcon">
28 <property name="text">
29 <string/>
30 </property>
31 <property name="pixmap">
32 <pixmap resource="../resources/luckybackup.qrc">:/luckyPrefix/email.png</pixmap>
33 </property>
34 </widget>
35 </item>
36 <item>
37 <widget class="QLabel" name="label_message">
38 <property name="sizePolicy">
39 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
40 <horstretch>0</horstretch>
41 <verstretch>0</verstretch>
42 </sizepolicy>
43 </property>
44 <property name="font">
45 <font>
46 <pointsize>10</pointsize>
47 <weight>75</weight>
48 <bold>true</bold>
49 </font>
50 </property>
51 <property name="text">
52 <string>Email a report after profile execution</string>
53 </property>
54 <property name="alignment">
55 <set>Qt::AlignCenter</set>
56 </property>
57 <property name="wordWrap">
58 <bool>true</bool>
59 </property>
60 </widget>
61 </item>
62 </layout>
63 </item>
64 <item row="1" column="0">
65 <layout class="QHBoxLayout" name="horizontalLayout_3">
66 <item>
67 <widget class="QLabel" name="label_command">
68 <property name="text">
69 <string>command:</string>
70 </property>
71 </widget>
72 </item>
73 <item>
74 <widget class="QLineEdit" name="lineEdit_command">
75 <property name="maximumSize">
76 <size>
77 <width>120</width>
78 <height>100</height>
79 </size>
80 </property>
81 <property name="toolTip">
82 <string>Enter the command to run
83 eg
84 sendemail</string>
85 </property>
86 </widget>
87 </item>
88 <item>
89 <widget class="QLabel" name="label_arguments">
90 <property name="text">
91 <string>arguments:</string>
92 </property>
93 </widget>
94 </item>
95 <item>
96 <widget class="QLineEdit" name="lineEdit_arguments">
97 <property name="toolTip">
98 <string>Enter arguments of the email command
99 eg
100 -f %f -t %t -u &quot;%s&quot; -m &quot;%b&quot; -a %l -s %v</string>
101 </property>
102 </widget>
103 </item>
104 <item>
105 <widget class="QToolButton" name="toolButton_default_command">
106 <property name="toolTip">
107 <string extracomment="This means &quot;use the default value for this field&quot;">Use default</string>
108 </property>
109 <property name="icon">
110 <iconset resource="../resources/luckybackup.qrc">
111 <normaloff>:/luckyPrefix/undo.png</normaloff>:/luckyPrefix/undo.png</iconset>
112 </property>
113 </widget>
114 </item>
115 </layout>
116 </item>
117 <item row="2" column="0">
118 <widget class="QGroupBox" name="groupBox_onlySend">
119 <property name="toolTip">
120 <string>Specify the conditions to send an email</string>
121 </property>
122 <property name="title">
123 <string>Conditions</string>
124 </property>
125 <layout class="QGridLayout" name="gridLayout">
126 <item row="0" column="1">
127 <widget class="QCheckBox" name="checkBox_conditionError">
128 <property name="cursor">
129 <cursorShape>PointingHandCursor</cursorShape>
130 </property>
131 <property name="toolTip">
132 <string>Only send when error(s) occurred during a run</string>
133 </property>
134 <property name="text">
135 <string>Error(s) occurred</string>
136 </property>
137 </widget>
138 </item>
139 <item row="0" column="2">
140 <widget class="QCheckBox" name="checkBox_conditionSchedule">
141 <property name="cursor">
142 <cursorShape>PointingHandCursor</cursorShape>
143 </property>
144 <property name="toolTip">
145 <string>Only send when profile is scheduled to run</string>
146 </property>
147 <property name="text">
148 <string>Profile is scheduled</string>
149 </property>
150 </widget>
151 </item>
152 <item row="0" column="0">
153 <widget class="QCheckBox" name="checkBox_conditionNever">
154 <property name="cursor">
155 <cursorShape>PointingHandCursor</cursorShape>
156 </property>
157 <property name="toolTip">
158 <string>Never send an email</string>
159 </property>
160 <property name="text">
161 <string>Never</string>
162 </property>
163 </widget>
164 </item>
165 </layout>
166 </widget>
167 </item>
168 <item row="3" column="0">
169 <widget class="QGroupBox" name="groupBox_arguments">
170 <property name="title">
171 <string>Arguments</string>
172 </property>
173 <layout class="QGridLayout" name="gridLayout_2">
174 <item row="1" column="0">
175 <widget class="QLabel" name="label_arg_from">
176 <property name="toolTip">
177 <string extracomment="Do not change the %f"/>
178 </property>
179 <property name="text">
180 <string>%f from:</string>
181 </property>
182 </widget>
183 </item>
184 <item row="1" column="1" colspan="2">
185 <widget class="QLineEdit" name="lineEdit_arg_from">
186 <property name="toolTip">
187 <string>Enter the sender of the message</string>
188 </property>
189 </widget>
190 </item>
191 <item row="1" column="3" rowspan="6">
192 <widget class="Line" name="line">
193 <property name="orientation">
194 <enum>Qt::Vertical</enum>
195 </property>
196 </widget>
197 </item>
198 <item row="1" column="4" rowspan="6">
199 <layout class="QVBoxLayout" name="verticalLayout">
200 <item>
201 <widget class="QLabel" name="label_arg_logfile">
202 <property name="toolTip">
203 <string extracomment="Do not change the %l"/>
204 </property>
205 <property name="text">
206 <string>%l logfile</string>
207 </property>
208 </widget>
209 </item>
210 <item>
211 <widget class="QLabel" name="label_arg_logfile_compressed">
212 <property name="text">
213 <string>%c logfile.tar.gz</string>
214 </property>
215 </widget>
216 </item>
217 <item>
218 <widget class="QLabel" name="label_arg_date">
219 <property name="toolTip">
220 <string extracomment="Do not change the %d"/>
221 </property>
222 <property name="text">
223 <string>%d date</string>
224 </property>
225 </widget>
226 </item>
227 <item>
228 <widget class="QLabel" name="label_arg_time">
229 <property name="toolTip">
230 <string extracomment="Do not change the %i"/>
231 </property>
232 <property name="text">
233 <string>%i time</string>
234 </property>
235 </widget>
236 </item>
237 <item>
238 <widget class="QLabel" name="label_arg_profilename">
239 <property name="toolTip">
240 <string extracomment="Do not change the %p"/>
241 </property>
242 <property name="text">
243 <string>%p profile name</string>
244 </property>
245 </widget>
246 </item>
247 <item>
248 <widget class="QLabel" name="label_arg_Errors">
249 <property name="toolTip">
250 <string extracomment="Do not change the %p"/>
251 </property>
252 <property name="text">
253 <string>%e No of errors</string>
254 </property>
255 </widget>
256 </item>
257 <item>
258 <widget class="QCheckBox" name="checkBox_disable_tls">
259 <property name="cursor">
260 <cursorShape>PointingHandCursor</cursorShape>
261 </property>
262 <property name="toolTip">
263 <string>If unchecked &quot;TLS auto&quot; is used. Only available for sendemail</string>
264 </property>
265 <property name="text">
266 <string>Disable TLS</string>
267 </property>
268 </widget>
269 </item>
270 <item>
271 <spacer name="verticalSpacer_2">
272 <property name="orientation">
273 <enum>Qt::Vertical</enum>
274 </property>
275 <property name="sizeHint" stdset="0">
276 <size>
277 <width>85</width>
278 <height>64</height>
279 </size>
280 </property>
281 </spacer>
282 </item>
283 </layout>
284 </item>
285 <item row="2" column="0">
286 <widget class="QLabel" name="label_arg_to">
287 <property name="toolTip">
288 <string extracomment="Do not change the %t"/>
289 </property>
290 <property name="text">
291 <string>%t to:</string>
292 </property>
293 </widget>
294 </item>
295 <item row="2" column="1" colspan="2">
296 <widget class="QLineEdit" name="lineEdit_arg_to">
297 <property name="toolTip">
298 <string>Enter the recipient of the message</string>
299 </property>
300 </widget>
301 </item>
302 <item row="3" column="0">
303 <widget class="QLabel" name="label_arg_subject">
304 <property name="toolTip">
305 <string extracomment="Do not change the %s"/>
306 </property>
307 <property name="text">
308 <string>%s subject:</string>
309 </property>
310 </widget>
311 </item>
312 <item row="3" column="1">
313 <widget class="QLineEdit" name="lineEdit_arg_subject">
314 <property name="toolTip">
315 <string>Enter the subject of the message</string>
316 </property>
317 </widget>
318 </item>
319 <item row="4" column="0">
320 <widget class="QLabel" name="label_arg_smtp">
321 <property name="toolTip">
322 <string extracomment="Do not change the %v"/>
323 </property>
324 <property name="text">
325 <string>%v smtp server:</string>
326 </property>
327 </widget>
328 </item>
329 <item row="4" column="1" colspan="2">
330 <widget class="QLineEdit" name="lineEdit_arg_smtp">
331 <property name="toolTip">
332 <string>Enter the smtp server used to send the message</string>
333 </property>
334 </widget>
335 </item>
336 <item row="5" column="0">
337 <widget class="QLabel" name="label_arg_body">
338 <property name="toolTip">
339 <string extracomment="Do not change the %b"/>
340 </property>
341 <property name="text">
342 <string>%b body:</string>
343 </property>
344 </widget>
345 </item>
346 <item row="5" column="1" rowspan="2">
347 <widget class="QTextBrowser" name="textBrowser_arg_body">
348 <property name="cursor" stdset="0">
349 <cursorShape>IBeamCursor</cursorShape>
350 </property>
351 <property name="toolTip">
352 <string>Enter the body of the message</string>
353 </property>
354 <property name="textInteractionFlags">
355 <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
356 </property>
357 </widget>
358 </item>
359 <item row="6" column="0">
360 <spacer name="verticalSpacer">
361 <property name="orientation">
362 <enum>Qt::Vertical</enum>
363 </property>
364 <property name="sizeHint" stdset="0">
365 <size>
366 <width>83</width>
367 <height>61</height>
368 </size>
369 </property>
370 </spacer>
371 </item>
372 <item row="3" column="2">
373 <widget class="QToolButton" name="toolButton_default_subject">
374 <property name="toolTip">
375 <string extracomment="This means &quot;use the default value for this field&quot;">Use default</string>
376 </property>
377 <property name="text">
378 <string/>
379 </property>
380 <property name="icon">
381 <iconset resource="../resources/luckybackup.qrc">
382 <normaloff>:/luckyPrefix/undo.png</normaloff>:/luckyPrefix/undo.png</iconset>
383 </property>
384 </widget>
385 </item>
386 <item row="5" column="2">
387 <widget class="QToolButton" name="toolButton_default_body">
388 <property name="toolTip">
389 <string extracomment="This means &quot;use the default value for this field&quot;">Use default</string>
390 </property>
391 <property name="text">
392 <string/>
393 </property>
394 <property name="icon">
395 <iconset resource="../resources/luckybackup.qrc">
396 <normaloff>:/luckyPrefix/undo.png</normaloff>:/luckyPrefix/undo.png</iconset>
397 </property>
398 </widget>
399 </item>
400 </layout>
401 </widget>
402 </item>
403 <item row="4" column="0">
404 <layout class="QHBoxLayout" name="horizontalLayout_2">
405 <item>
406 <widget class="QPushButton" name="pushButton_test">
407 <property name="toolTip">
408 <string>Send an email right now to test the provided arguments</string>
409 </property>
410 <property name="text">
411 <string>Test</string>
412 </property>
413 <property name="icon">
414 <iconset resource="../resources/luckybackup.qrc">
415 <normaloff>:/luckyPrefix/mail-forward.png</normaloff>:/luckyPrefix/mail-forward.png</iconset>
416 </property>
417 </widget>
418 </item>
419 <item>
420 <spacer name="horizontalSpacer_2">
421 <property name="orientation">
422 <enum>Qt::Horizontal</enum>
423 </property>
424 <property name="sizeHint" stdset="0">
425 <size>
426 <width>88</width>
427 <height>23</height>
428 </size>
429 </property>
430 </spacer>
431 </item>
432 <item>
433 <widget class="QPushButton" name="pushButton_ok">
434 <property name="toolTip">
435 <string>Accept changes and close dialog</string>
436 </property>
437 <property name="text">
438 <string>Okay</string>
439 </property>
440 <property name="icon">
441 <iconset resource="../resources/luckybackup.qrc">
442 <normaloff>:/luckyPrefix/okay.png</normaloff>:/luckyPrefix/okay.png</iconset>
443 </property>
444 </widget>
445 </item>
446 <item>
447 <spacer name="horizontalSpacer">
448 <property name="orientation">
449 <enum>Qt::Horizontal</enum>
450 </property>
451 <property name="sizeType">
452 <enum>QSizePolicy::Fixed</enum>
453 </property>
454 <property name="sizeHint" stdset="0">
455 <size>
456 <width>13</width>
457 <height>23</height>
458 </size>
459 </property>
460 </spacer>
461 </item>
462 <item>
463 <widget class="QPushButton" name="pushButton_cancel">
464 <property name="toolTip">
465 <string>Close dialog</string>
466 </property>
467 <property name="text">
468 <string>Cancel</string>
469 </property>
470 <property name="icon">
471 <iconset resource="../resources/luckybackup.qrc">
472 <normaloff>:/luckyPrefix/cancel.png</normaloff>:/luckyPrefix/cancel.png</iconset>
473 </property>
474 </widget>
475 </item>
476 </layout>
477 </item>
478 </layout>
479 </widget>
480 <tabstops>
481 <tabstop>lineEdit_command</tabstop>
482 <tabstop>toolButton_default_command</tabstop>
483 <tabstop>checkBox_conditionNever</tabstop>
484 <tabstop>checkBox_conditionError</tabstop>
485 <tabstop>checkBox_conditionSchedule</tabstop>
486 <tabstop>lineEdit_arg_from</tabstop>
487 <tabstop>lineEdit_arg_to</tabstop>
488 <tabstop>lineEdit_arg_subject</tabstop>
489 <tabstop>toolButton_default_subject</tabstop>
490 <tabstop>lineEdit_arg_smtp</tabstop>
491 <tabstop>textBrowser_arg_body</tabstop>
492 <tabstop>toolButton_default_body</tabstop>
493 <tabstop>pushButton_test</tabstop>
494 <tabstop>pushButton_ok</tabstop>
495 <tabstop>pushButton_cancel</tabstop>
496 </tabstops>
497 <resources>
498 <include location="../resources/luckybackup.qrc"/>
499 </resources>
500 <connections>
501 <connection>
502 <sender>checkBox_conditionNever</sender>
503 <signal>toggled(bool)</signal>
504 <receiver>groupBox_arguments</receiver>
505 <slot>setDisabled(bool)</slot>
506 <hints>
507 <hint type="sourcelabel">
508 <x>87</x>
509 <y>115</y>
510 </hint>
511 <hint type="destinationlabel">
512 <x>240</x>
513 <y>262</y>
514 </hint>
515 </hints>
516 </connection>
517 <connection>
518 <sender>checkBox_conditionNever</sender>
519 <signal>toggled(bool)</signal>
520 <receiver>checkBox_conditionError</receiver>
521 <slot>setDisabled(bool)</slot>
522 <hints>
523 <hint type="sourcelabel">
524 <x>87</x>
525 <y>115</y>
526 </hint>
527 <hint type="destinationlabel">
528 <x>240</x>
529 <y>115</y>
530 </hint>
531 </hints>
532 </connection>
533 <connection>
534 <sender>checkBox_conditionNever</sender>
535 <signal>toggled(bool)</signal>
536 <receiver>checkBox_conditionSchedule</receiver>
537 <slot>setDisabled(bool)</slot>
538 <hints>
539 <hint type="sourcelabel">
540 <x>87</x>
541 <y>115</y>
542 </hint>
543 <hint type="destinationlabel">
544 <x>394</x>
545 <y>115</y>
546 </hint>
547 </hints>
548 </connection>
549 <connection>
550 <sender>checkBox_conditionNever</sender>
551 <signal>toggled(bool)</signal>
552 <receiver>label_command</receiver>
553 <slot>setDisabled(bool)</slot>
554 <hints>
555 <hint type="sourcelabel">
556 <x>87</x>
557 <y>115</y>
558 </hint>
559 <hint type="destinationlabel">
560 <x>32</x>
561 <y>55</y>
562 </hint>
563 </hints>
564 </connection>
565 <connection>
566 <sender>checkBox_conditionNever</sender>
567 <signal>toggled(bool)</signal>
568 <receiver>lineEdit_command</receiver>
569 <slot>setDisabled(bool)</slot>
570 <hints>
571 <hint type="sourcelabel">
572 <x>87</x>
573 <y>115</y>
574 </hint>
575 <hint type="destinationlabel">
576 <x>204</x>
577 <y>71</y>
578 </hint>
579 </hints>
580 </connection>
581 <connection>
582 <sender>checkBox_conditionNever</sender>
583 <signal>toggled(bool)</signal>
584 <receiver>toolButton_default_command</receiver>
585 <slot>setDisabled(bool)</slot>
586 <hints>
587 <hint type="sourcelabel">
588 <x>87</x>
589 <y>115</y>
590 </hint>
591 <hint type="destinationlabel">
592 <x>529</x>
593 <y>71</y>
594 </hint>
595 </hints>
596 </connection>
597 <connection>
598 <sender>checkBox_conditionNever</sender>
599 <signal>toggled(bool)</signal>
600 <receiver>pushButton_test</receiver>
601 <slot>setDisabled(bool)</slot>
602 <hints>
603 <hint type="sourcelabel">
604 <x>87</x>
605 <y>115</y>
606 </hint>
607 <hint type="destinationlabel">
608 <x>54</x>
609 <y>449</y>
610 </hint>
611 </hints>
612 </connection>
613 <connection>
614 <sender>checkBox_conditionNever</sender>
615 <signal>toggled(bool)</signal>
616 <receiver>label_arguments</receiver>
617 <slot>setDisabled(bool)</slot>
618 <hints>
619 <hint type="sourcelabel">
620 <x>101</x>
621 <y>114</y>
622 </hint>
623 <hint type="destinationlabel">
624 <x>247</x>
625 <y>60</y>
626 </hint>
627 </hints>
628 </connection>
629 <connection>
630 <sender>checkBox_conditionNever</sender>
631 <signal>toggled(bool)</signal>
632 <receiver>lineEdit_arguments</receiver>
633 <slot>setDisabled(bool)</slot>
634 <hints>
635 <hint type="sourcelabel">
636 <x>101</x>
637 <y>114</y>
638 </hint>
639 <hint type="destinationlabel">
640 <x>395</x>
641 <y>60</y>
642 </hint>
643 </hints>
644 </connection>
645 </connections>
646 </ui>