Plugins/WizardPlugins/DotDesktopWizard/DotDesktopWizardDialog.ui

changeset 6017
dab01678626d
equal deleted inserted replaced
6016:3d594f66a7f7 6017:dab01678626d
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>DotDesktopWizardDialog</class>
4 <widget class="QDialog" name="DotDesktopWizardDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>650</width>
10 <height>612</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>.desktop Wizard</string>
15 </property>
16 <property name="sizeGripEnabled">
17 <bool>true</bool>
18 </property>
19 <layout class="QVBoxLayout" name="verticalLayout">
20 <item>
21 <layout class="QHBoxLayout" name="horizontalLayout_2">
22 <item>
23 <widget class="QLabel" name="label">
24 <property name="text">
25 <string>.desktop File Type:</string>
26 </property>
27 </widget>
28 </item>
29 <item>
30 <widget class="QComboBox" name="typeComboBox">
31 <property name="toolTip">
32 <string>Select a target .desktop file format</string>
33 </property>
34 </widget>
35 </item>
36 <item>
37 <spacer name="horizontalSpacer">
38 <property name="orientation">
39 <enum>Qt::Horizontal</enum>
40 </property>
41 <property name="sizeHint" stdset="0">
42 <size>
43 <width>40</width>
44 <height>20</height>
45 </size>
46 </property>
47 </spacer>
48 </item>
49 </layout>
50 </item>
51 <item>
52 <widget class="QTabWidget" name="dataTabWidget">
53 <property name="currentIndex">
54 <number>0</number>
55 </property>
56 <widget class="QWidget" name="basicTab">
57 <attribute name="title">
58 <string>Basic</string>
59 </attribute>
60 <layout class="QGridLayout" name="gridLayout">
61 <item row="0" column="0">
62 <widget class="QLabel" name="label_3">
63 <property name="text">
64 <string>Type:</string>
65 </property>
66 </widget>
67 </item>
68 <item row="0" column="1" colspan="3">
69 <widget class="E5ClearableLineEdit" name="typeEdit">
70 <property name="toolTip">
71 <string>Enter the type</string>
72 </property>
73 <property name="text">
74 <string notr="true">Application</string>
75 </property>
76 <property name="placeholderText">
77 <string>Mandatory</string>
78 </property>
79 </widget>
80 </item>
81 <item row="1" column="0">
82 <widget class="QLabel" name="label_2">
83 <property name="text">
84 <string>Version:</string>
85 </property>
86 </widget>
87 </item>
88 <item row="1" column="1" colspan="3">
89 <widget class="E5ClearableLineEdit" name="versionEdit">
90 <property name="toolTip">
91 <string>Enter the version of the .desktop specification</string>
92 </property>
93 <property name="text">
94 <string notr="true">1.0</string>
95 </property>
96 </widget>
97 </item>
98 <item row="2" column="0">
99 <widget class="QLabel" name="label_4">
100 <property name="text">
101 <string>Name:</string>
102 </property>
103 </widget>
104 </item>
105 <item row="2" column="1" colspan="3">
106 <widget class="E5ClearableLineEdit" name="nameEdit">
107 <property name="toolTip">
108 <string>Enter the application name</string>
109 </property>
110 <property name="placeholderText">
111 <string>Mandatory</string>
112 </property>
113 </widget>
114 </item>
115 <item row="3" column="0">
116 <widget class="QLabel" name="label_5">
117 <property name="text">
118 <string>Generic Name:</string>
119 </property>
120 </widget>
121 </item>
122 <item row="3" column="1" colspan="3">
123 <widget class="E5ClearableLineEdit" name="genericNameEdit">
124 <property name="toolTip">
125 <string>Enter the generic application name</string>
126 </property>
127 </widget>
128 </item>
129 <item row="4" column="0">
130 <widget class="QLabel" name="label_6">
131 <property name="text">
132 <string>Comment:</string>
133 </property>
134 </widget>
135 </item>
136 <item row="4" column="1" colspan="3">
137 <widget class="E5ClearableLineEdit" name="commentEdit">
138 <property name="toolTip">
139 <string>Enter a comment</string>
140 </property>
141 </widget>
142 </item>
143 <item row="5" column="0">
144 <widget class="QLabel" name="label_7">
145 <property name="text">
146 <string>Icon:</string>
147 </property>
148 </widget>
149 </item>
150 <item row="5" column="1" colspan="3">
151 <widget class="E5ClearableLineEdit" name="iconFileEdit">
152 <property name="toolTip">
153 <string>Enter the icon file name</string>
154 </property>
155 </widget>
156 </item>
157 <item row="6" column="0">
158 <widget class="QLabel" name="label_10">
159 <property name="text">
160 <string>Try Exec:</string>
161 </property>
162 </widget>
163 </item>
164 <item row="6" column="1" colspan="3">
165 <widget class="E5ClearableLineEdit" name="tryExecEdit">
166 <property name="toolTip">
167 <string>Enter an executable command used to determine the application's presence</string>
168 </property>
169 </widget>
170 </item>
171 <item row="7" column="0">
172 <widget class="QLabel" name="label_9">
173 <property name="text">
174 <string>Exec:</string>
175 </property>
176 </widget>
177 </item>
178 <item row="7" column="1" colspan="3">
179 <widget class="E5ClearableLineEdit" name="execEdit">
180 <property name="toolTip">
181 <string>Enter the executable command</string>
182 </property>
183 </widget>
184 </item>
185 <item row="8" column="0">
186 <widget class="QLabel" name="label_30">
187 <property name="text">
188 <string>Path:</string>
189 </property>
190 </widget>
191 </item>
192 <item row="8" column="1" colspan="3">
193 <widget class="E5ClearableLineEdit" name="pathEdit">
194 <property name="toolTip">
195 <string>Enter the working directory</string>
196 </property>
197 </widget>
198 </item>
199 <item row="9" column="0">
200 <widget class="QLabel" name="label_12">
201 <property name="text">
202 <string>Execute in Terminal:</string>
203 </property>
204 </widget>
205 </item>
206 <item row="9" column="1">
207 <widget class="QCheckBox" name="terminalCheckBox">
208 <property name="toolTip">
209 <string>Select to execute the application in a terminal</string>
210 </property>
211 <property name="text">
212 <string/>
213 </property>
214 </widget>
215 </item>
216 <item row="9" column="2" colspan="2">
217 <spacer name="horizontalSpacer_3">
218 <property name="orientation">
219 <enum>Qt::Horizontal</enum>
220 </property>
221 <property name="sizeHint" stdset="0">
222 <size>
223 <width>504</width>
224 <height>20</height>
225 </size>
226 </property>
227 </spacer>
228 </item>
229 <item row="10" column="0">
230 <widget class="QLabel" name="label_11">
231 <property name="text">
232 <string>Mimetype:</string>
233 </property>
234 </widget>
235 </item>
236 <item row="10" column="1" colspan="3">
237 <widget class="E5ClearableLineEdit" name="mimetypeEdit">
238 <property name="toolTip">
239 <string>Enter the mime type</string>
240 </property>
241 </widget>
242 </item>
243 <item row="11" column="0">
244 <widget class="QLabel" name="label_8">
245 <property name="text">
246 <string>Categories:</string>
247 </property>
248 </widget>
249 </item>
250 <item row="11" column="1" colspan="2">
251 <widget class="E5ClearableLineEdit" name="categoriesEdit">
252 <property name="toolTip">
253 <string>Enter the list of categories separated by ';'</string>
254 </property>
255 </widget>
256 </item>
257 <item row="11" column="3">
258 <widget class="QToolButton" name="categoriesButton">
259 <property name="toolTip">
260 <string>Press to select the categories via a dialog</string>
261 </property>
262 </widget>
263 </item>
264 <item row="12" column="0">
265 <widget class="QLabel" name="label_13">
266 <property name="text">
267 <string>Actions:</string>
268 </property>
269 </widget>
270 </item>
271 <item row="12" column="1" colspan="3">
272 <widget class="E5ClearableLineEdit" name="actionsEdit">
273 <property name="toolTip">
274 <string>Enter the list of actions separated by ';'</string>
275 </property>
276 </widget>
277 </item>
278 <item row="13" column="0">
279 <widget class="QLabel" name="label_14">
280 <property name="text">
281 <string>Only Show In:</string>
282 </property>
283 </widget>
284 </item>
285 <item row="13" column="1" colspan="2">
286 <widget class="E5ClearableLineEdit" name="onlyShowEdit">
287 <property name="toolTip">
288 <string>Enter the list of environments to show in separated by ';'</string>
289 </property>
290 <property name="placeholderText">
291 <string>Only one of 'Only Show In' or 'Not Show In' allowed</string>
292 </property>
293 </widget>
294 </item>
295 <item row="13" column="3">
296 <widget class="QToolButton" name="onlyShowButton">
297 <property name="toolTip">
298 <string>Press to select the environments via a dialog</string>
299 </property>
300 </widget>
301 </item>
302 <item row="14" column="0">
303 <widget class="QLabel" name="label_15">
304 <property name="text">
305 <string>Not Show In:</string>
306 </property>
307 </widget>
308 </item>
309 <item row="14" column="1" colspan="2">
310 <widget class="E5ClearableLineEdit" name="notShowEdit">
311 <property name="toolTip">
312 <string>Enter the list of environments to not show in separated by ';'</string>
313 </property>
314 <property name="placeholderText">
315 <string>Only one of 'Only Show In' or 'Not Show In' allowed</string>
316 </property>
317 </widget>
318 </item>
319 <item row="14" column="3">
320 <widget class="QToolButton" name="notShowButton">
321 <property name="toolTip">
322 <string>Press to select the environments via a dialog</string>
323 </property>
324 </widget>
325 </item>
326 <item row="15" column="2">
327 <spacer name="verticalSpacer">
328 <property name="orientation">
329 <enum>Qt::Vertical</enum>
330 </property>
331 <property name="sizeHint" stdset="0">
332 <size>
333 <width>20</width>
334 <height>4</height>
335 </size>
336 </property>
337 </spacer>
338 </item>
339 </layout>
340 </widget>
341 <widget class="QWidget" name="kdeTab">
342 <attribute name="title">
343 <string>KDE Plasma</string>
344 </attribute>
345 <layout class="QGridLayout" name="gridLayout_2">
346 <item row="0" column="0">
347 <widget class="QLabel" name="label_16">
348 <property name="text">
349 <string>Encoding:</string>
350 </property>
351 </widget>
352 </item>
353 <item row="0" column="1" colspan="2">
354 <widget class="QComboBox" name="kdeEncodingComboBox">
355 <property name="toolTip">
356 <string>Select the encoding of the file</string>
357 </property>
358 </widget>
359 </item>
360 <item row="1" column="0">
361 <widget class="QLabel" name="label_17">
362 <property name="text">
363 <string>API:</string>
364 </property>
365 </widget>
366 </item>
367 <item row="1" column="1" colspan="2">
368 <widget class="QComboBox" name="kdeApiComboBox">
369 <property name="toolTip">
370 <string>Select the Plasma API</string>
371 </property>
372 </widget>
373 </item>
374 <item row="2" column="0">
375 <widget class="QLabel" name="label_18">
376 <property name="text">
377 <string>Service Type:</string>
378 </property>
379 </widget>
380 </item>
381 <item row="2" column="1" colspan="2">
382 <widget class="E5ClearableLineEdit" name="kdeServiceTypeEdit">
383 <property name="toolTip">
384 <string>Enter the service type</string>
385 </property>
386 <property name="text">
387 <string notr="true">Plasma/Applet</string>
388 </property>
389 </widget>
390 </item>
391 <item row="3" column="0">
392 <widget class="QLabel" name="label_19">
393 <property name="text">
394 <string>Main Script:</string>
395 </property>
396 </widget>
397 </item>
398 <item row="3" column="1" colspan="2">
399 <widget class="E5ClearableLineEdit" name="kdeMainScriptEdit">
400 <property name="toolTip">
401 <string>Enter the main script name</string>
402 </property>
403 </widget>
404 </item>
405 <item row="4" column="0">
406 <widget class="QLabel" name="label_20">
407 <property name="text">
408 <string>Author:</string>
409 </property>
410 </widget>
411 </item>
412 <item row="4" column="1" colspan="2">
413 <widget class="E5ClearableLineEdit" name="kdeAuthorEdit">
414 <property name="toolTip">
415 <string>Enter the author's name</string>
416 </property>
417 </widget>
418 </item>
419 <item row="5" column="0">
420 <widget class="QLabel" name="label_21">
421 <property name="text">
422 <string>Email:</string>
423 </property>
424 </widget>
425 </item>
426 <item row="5" column="1" colspan="2">
427 <widget class="E5ClearableLineEdit" name="kdeEmailEdit">
428 <property name="toolTip">
429 <string>Enter the auhor email</string>
430 </property>
431 </widget>
432 </item>
433 <item row="6" column="0">
434 <widget class="QLabel" name="label_23">
435 <property name="text">
436 <string>Name:</string>
437 </property>
438 </widget>
439 </item>
440 <item row="6" column="1" colspan="2">
441 <widget class="E5ClearableLineEdit" name="kdeNameEdit">
442 <property name="toolTip">
443 <string>Enter the application name</string>
444 </property>
445 </widget>
446 </item>
447 <item row="7" column="0">
448 <widget class="QLabel" name="label_22">
449 <property name="text">
450 <string>Version:</string>
451 </property>
452 </widget>
453 </item>
454 <item row="7" column="1" colspan="2">
455 <widget class="E5ClearableLineEdit" name="kdeVersionEdit">
456 <property name="toolTip">
457 <string>Enter the version number in the form 'major.minor[.patch[.sub]]'</string>
458 </property>
459 </widget>
460 </item>
461 <item row="8" column="0">
462 <widget class="QLabel" name="label_24">
463 <property name="text">
464 <string>Website:</string>
465 </property>
466 </widget>
467 </item>
468 <item row="8" column="1" colspan="2">
469 <widget class="E5ClearableLineEdit" name="kdeWebsiteEdit">
470 <property name="toolTip">
471 <string>Enter the URL of the website</string>
472 </property>
473 </widget>
474 </item>
475 <item row="9" column="0">
476 <widget class="QLabel" name="label_25">
477 <property name="text">
478 <string>Category:</string>
479 </property>
480 </widget>
481 </item>
482 <item row="9" column="1" colspan="2">
483 <widget class="QComboBox" name="kdeCategoryComboBox">
484 <property name="toolTip">
485 <string>Select a category</string>
486 </property>
487 </widget>
488 </item>
489 <item row="10" column="0">
490 <widget class="QLabel" name="label_26">
491 <property name="text">
492 <string>Depends:</string>
493 </property>
494 </widget>
495 </item>
496 <item row="10" column="1" colspan="2">
497 <widget class="E5ClearableLineEdit" name="kdeDependsEdit">
498 <property name="toolTip">
499 <string>Enter the list of dependancies separated by ';'</string>
500 </property>
501 </widget>
502 </item>
503 <item row="11" column="0">
504 <widget class="QLabel" name="label_27">
505 <property name="text">
506 <string>License:</string>
507 </property>
508 </widget>
509 </item>
510 <item row="11" column="1" colspan="2">
511 <widget class="E5ClearableLineEdit" name="kdeLicensEdit">
512 <property name="toolTip">
513 <string>Enter the license type</string>
514 </property>
515 <property name="text">
516 <string notr="true">GPLv3</string>
517 </property>
518 </widget>
519 </item>
520 <item row="12" column="0">
521 <widget class="QLabel" name="label_28">
522 <property name="text">
523 <string>Enabled by Default:</string>
524 </property>
525 </widget>
526 </item>
527 <item row="12" column="1">
528 <widget class="QCheckBox" name="kdeEnabledDefaultCheckBox">
529 <property name="toolTip">
530 <string>Select to enable this by default</string>
531 </property>
532 <property name="text">
533 <string/>
534 </property>
535 </widget>
536 </item>
537 <item row="12" column="2">
538 <spacer name="horizontalSpacer_4">
539 <property name="orientation">
540 <enum>Qt::Horizontal</enum>
541 </property>
542 <property name="sizeHint" stdset="0">
543 <size>
544 <width>508</width>
545 <height>17</height>
546 </size>
547 </property>
548 </spacer>
549 </item>
550 <item row="13" column="0">
551 <spacer name="verticalSpacer_2">
552 <property name="orientation">
553 <enum>Qt::Vertical</enum>
554 </property>
555 <property name="sizeHint" stdset="0">
556 <size>
557 <width>20</width>
558 <height>37</height>
559 </size>
560 </property>
561 </spacer>
562 </item>
563 </layout>
564 </widget>
565 <widget class="QWidget" name="unityTab">
566 <attribute name="title">
567 <string>Unity</string>
568 </attribute>
569 <layout class="QGridLayout" name="gridLayout_3">
570 <item row="0" column="0">
571 <widget class="QLabel" name="label_29">
572 <property name="text">
573 <string>X-Ayatana-Desktop-Shortcuts:</string>
574 </property>
575 </widget>
576 </item>
577 <item row="0" column="1">
578 <widget class="E5ClearableLineEdit" name="unityShortcutsEdit">
579 <property name="toolTip">
580 <string>Enter the desktop shortcuts separated by ';'</string>
581 </property>
582 <property name="text">
583 <string notr="true">Next;Previous</string>
584 </property>
585 </widget>
586 </item>
587 <item row="1" column="1">
588 <spacer name="verticalSpacer_3">
589 <property name="orientation">
590 <enum>Qt::Vertical</enum>
591 </property>
592 <property name="sizeHint" stdset="0">
593 <size>
594 <width>20</width>
595 <height>382</height>
596 </size>
597 </property>
598 </spacer>
599 </item>
600 </layout>
601 </widget>
602 </widget>
603 </item>
604 <item>
605 <layout class="QHBoxLayout" name="horizontalLayout">
606 <item>
607 <widget class="QPushButton" name="projectButton">
608 <property name="toolTip">
609 <string>Press to populate entry fields from project data</string>
610 </property>
611 <property name="text">
612 <string>Populate from Project</string>
613 </property>
614 </widget>
615 </item>
616 <item>
617 <spacer name="horizontalSpacer_2">
618 <property name="orientation">
619 <enum>Qt::Horizontal</enum>
620 </property>
621 <property name="sizeHint" stdset="0">
622 <size>
623 <width>40</width>
624 <height>20</height>
625 </size>
626 </property>
627 </spacer>
628 </item>
629 <item>
630 <widget class="QDialogButtonBox" name="buttonBox">
631 <property name="orientation">
632 <enum>Qt::Horizontal</enum>
633 </property>
634 <property name="standardButtons">
635 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
636 </property>
637 </widget>
638 </item>
639 </layout>
640 </item>
641 </layout>
642 </widget>
643 <customwidgets>
644 <customwidget>
645 <class>E5ClearableLineEdit</class>
646 <extends>QLineEdit</extends>
647 <header>E5Gui/E5LineEdit.h</header>
648 </customwidget>
649 </customwidgets>
650 <tabstops>
651 <tabstop>typeComboBox</tabstop>
652 <tabstop>dataTabWidget</tabstop>
653 <tabstop>typeEdit</tabstop>
654 <tabstop>versionEdit</tabstop>
655 <tabstop>nameEdit</tabstop>
656 <tabstop>genericNameEdit</tabstop>
657 <tabstop>commentEdit</tabstop>
658 <tabstop>iconFileEdit</tabstop>
659 <tabstop>tryExecEdit</tabstop>
660 <tabstop>execEdit</tabstop>
661 <tabstop>pathEdit</tabstop>
662 <tabstop>terminalCheckBox</tabstop>
663 <tabstop>mimetypeEdit</tabstop>
664 <tabstop>categoriesEdit</tabstop>
665 <tabstop>categoriesButton</tabstop>
666 <tabstop>actionsEdit</tabstop>
667 <tabstop>onlyShowEdit</tabstop>
668 <tabstop>onlyShowButton</tabstop>
669 <tabstop>notShowEdit</tabstop>
670 <tabstop>notShowButton</tabstop>
671 <tabstop>kdeEncodingComboBox</tabstop>
672 <tabstop>kdeApiComboBox</tabstop>
673 <tabstop>kdeServiceTypeEdit</tabstop>
674 <tabstop>kdeMainScriptEdit</tabstop>
675 <tabstop>kdeAuthorEdit</tabstop>
676 <tabstop>kdeEmailEdit</tabstop>
677 <tabstop>kdeNameEdit</tabstop>
678 <tabstop>kdeVersionEdit</tabstop>
679 <tabstop>kdeWebsiteEdit</tabstop>
680 <tabstop>kdeCategoryComboBox</tabstop>
681 <tabstop>kdeDependsEdit</tabstop>
682 <tabstop>kdeLicensEdit</tabstop>
683 <tabstop>kdeEnabledDefaultCheckBox</tabstop>
684 <tabstop>unityShortcutsEdit</tabstop>
685 <tabstop>projectButton</tabstop>
686 <tabstop>buttonBox</tabstop>
687 </tabstops>
688 <resources/>
689 <connections>
690 <connection>
691 <sender>buttonBox</sender>
692 <signal>accepted()</signal>
693 <receiver>DotDesktopWizardDialog</receiver>
694 <slot>accept()</slot>
695 <hints>
696 <hint type="sourcelabel">
697 <x>248</x>
698 <y>254</y>
699 </hint>
700 <hint type="destinationlabel">
701 <x>157</x>
702 <y>274</y>
703 </hint>
704 </hints>
705 </connection>
706 <connection>
707 <sender>buttonBox</sender>
708 <signal>rejected()</signal>
709 <receiver>DotDesktopWizardDialog</receiver>
710 <slot>reject()</slot>
711 <hints>
712 <hint type="sourcelabel">
713 <x>316</x>
714 <y>260</y>
715 </hint>
716 <hint type="destinationlabel">
717 <x>286</x>
718 <y>274</y>
719 </hint>
720 </hints>
721 </connection>
722 </connections>
723 </ui>

eric ide

mercurial