Debian Codegraph @

gui/ui/frmconvert.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>frmConvert</class>
4 <widget class="QDialog" name="frmConvert">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>600</width>
10 <height>436</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>QNapi - Convert subtitles</string>
15 </property>
16 <property name="windowIcon">
17 <iconset resource="../res/resources.qrc">
18 <normaloff>:/icon/qnapi.png</normaloff>:/icon/qnapi.png</iconset>
19 </property>
20 <layout class="QGridLayout" name="gridLayout">
21 <item row="0" column="0">
22 <widget class="QLabel" name="lbSrcSubFile">
23 <property name="text">
24 <string>Source subtitles file:</string>
25 </property>
26 </widget>
27 </item>
28 <item row="1" column="0">
29 <widget class="QLineEdit" name="leSrcSubFile">
30 <property name="text">
31 <string/>
32 </property>
33 <property name="cursorPosition">
34 <number>0</number>
35 </property>
36 <property name="readOnly">
37 <bool>false</bool>
38 </property>
39 </widget>
40 </item>
41 <item row="1" column="1">
42 <widget class="QPushButton" name="pbSrcSubFileSelect">
43 <property name="text">
44 <string/>
45 </property>
46 <property name="icon">
47 <iconset resource="../res/resources.qrc">
48 <normaloff>:/ui/folder.png</normaloff>:/ui/folder.png</iconset>
49 </property>
50 </widget>
51 </item>
52 <item row="2" column="0">
53 <layout class="QHBoxLayout" name="horizontalLayout_2">
54 <property name="topMargin">
55 <number>4</number>
56 </property>
57 <property name="bottomMargin">
58 <number>8</number>
59 </property>
60 <item>
61 <widget class="QLabel" name="lbDetectedFormat">
62 <property name="enabled">
63 <bool>false</bool>
64 </property>
65 <property name="text">
66 <string>Detected format:</string>
67 </property>
68 </widget>
69 </item>
70 <item>
71 <widget class="QLabel" name="lbDetectedFormatValue">
72 <property name="font">
73 <font>
74 <weight>75</weight>
75 <bold>true</bold>
76 </font>
77 </property>
78 <property name="text">
79 <string/>
80 </property>
81 </widget>
82 </item>
83 <item>
84 <spacer name="horizontalSpacer_6">
85 <property name="orientation">
86 <enum>Qt::Horizontal</enum>
87 </property>
88 <property name="sizeType">
89 <enum>QSizePolicy::Fixed</enum>
90 </property>
91 <property name="sizeHint" stdset="0">
92 <size>
93 <width>280</width>
94 <height>20</height>
95 </size>
96 </property>
97 </spacer>
98 </item>
99 </layout>
100 </item>
101 <item row="3" column="0">
102 <layout class="QHBoxLayout" name="horizontalLayout_5">
103 <item>
104 <widget class="QLabel" name="lbTargetFormat">
105 <property name="enabled">
106 <bool>false</bool>
107 </property>
108 <property name="text">
109 <string>Target subtitles format:</string>
110 </property>
111 </widget>
112 </item>
113 <item>
114 <spacer name="horizontalSpacer_4">
115 <property name="orientation">
116 <enum>Qt::Horizontal</enum>
117 </property>
118 <property name="sizeHint" stdset="0">
119 <size>
120 <width>40</width>
121 <height>20</height>
122 </size>
123 </property>
124 </spacer>
125 </item>
126 <item>
127 <widget class="QComboBox" name="cbTargetFormat">
128 <property name="enabled">
129 <bool>false</bool>
130 </property>
131 <property name="sizePolicy">
132 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
133 <horstretch>180</horstretch>
134 <verstretch>0</verstretch>
135 </sizepolicy>
136 </property>
137 <property name="maximumSize">
138 <size>
139 <width>180</width>
140 <height>16777215</height>
141 </size>
142 </property>
143 <property name="currentText">
144 <string notr="true">mDVD</string>
145 </property>
146 <item>
147 <property name="text">
148 <string notr="true">mDVD</string>
149 </property>
150 </item>
151 <item>
152 <property name="text">
153 <string notr="true">MPL2</string>
154 </property>
155 </item>
156 <item>
157 <property name="text">
158 <string notr="true">SRT</string>
159 </property>
160 </item>
161 <item>
162 <property name="text">
163 <string notr="true">TMP</string>
164 </property>
165 </item>
166 </widget>
167 </item>
168 </layout>
169 </item>
170 <item row="4" column="0">
171 <layout class="QHBoxLayout" name="horizontalLayout_6">
172 <item>
173 <widget class="QLabel" name="lbMovieFPS">
174 <property name="enabled">
175 <bool>false</bool>
176 </property>
177 <property name="text">
178 <string>Video framerate (FPS):</string>
179 </property>
180 </widget>
181 </item>
182 <item>
183 <spacer name="horizontalSpacer_5">
184 <property name="orientation">
185 <enum>Qt::Horizontal</enum>
186 </property>
187 <property name="sizeHint" stdset="0">
188 <size>
189 <width>40</width>
190 <height>20</height>
191 </size>
192 </property>
193 </spacer>
194 </item>
195 <item>
196 <widget class="QComboBox" name="cbMovieFPS">
197 <property name="enabled">
198 <bool>false</bool>
199 </property>
200 <property name="sizePolicy">
201 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
202 <horstretch>0</horstretch>
203 <verstretch>0</verstretch>
204 </sizepolicy>
205 </property>
206 <property name="minimumSize">
207 <size>
208 <width>180</width>
209 <height>0</height>
210 </size>
211 </property>
212 <property name="editable">
213 <bool>true</bool>
214 </property>
215 <property name="currentText">
216 <string>23.976</string>
217 </property>
218 <item>
219 <property name="text">
220 <string>23.976</string>
221 </property>
222 </item>
223 <item>
224 <property name="text">
225 <string>24</string>
226 </property>
227 </item>
228 <item>
229 <property name="text">
230 <string>25</string>
231 </property>
232 </item>
233 <item>
234 <property name="text">
235 <string>29.97</string>
236 </property>
237 </item>
238 <item>
239 <property name="text">
240 <string>30</string>
241 </property>
242 </item>
243 <item>
244 <property name="text">
245 <string>50</string>
246 </property>
247 </item>
248 <item>
249 <property name="text">
250 <string>59.94</string>
251 </property>
252 </item>
253 <item>
254 <property name="text">
255 <string>60</string>
256 </property>
257 </item>
258 </widget>
259 </item>
260 </layout>
261 </item>
262 <item row="4" column="1">
263 <widget class="QPushButton" name="pbMovieFPSSelect">
264 <property name="enabled">
265 <bool>false</bool>
266 </property>
267 <property name="toolTip">
268 <string>Detect video framerate (FPS) from file</string>
269 </property>
270 <property name="text">
271 <string/>
272 </property>
273 <property name="icon">
274 <iconset resource="../res/resources.qrc">
275 <normaloff>:/ui/folder.png</normaloff>:/ui/folder.png</iconset>
276 </property>
277 </widget>
278 </item>
279 <item row="5" column="0">
280 <layout class="QHBoxLayout" name="horizontalLayout_4">
281 <item>
282 <widget class="QLabel" name="lbTargetExtension">
283 <property name="enabled">
284 <bool>false</bool>
285 </property>
286 <property name="text">
287 <string>File extension for target subtitles file:</string>
288 </property>
289 </widget>
290 </item>
291 <item>
292 <spacer name="horizontalSpacer_3">
293 <property name="orientation">
294 <enum>Qt::Horizontal</enum>
295 </property>
296 <property name="sizeHint" stdset="0">
297 <size>
298 <width>40</width>
299 <height>20</height>
300 </size>
301 </property>
302 </spacer>
303 </item>
304 <item>
305 <widget class="QComboBox" name="cbTargetExtension">
306 <property name="enabled">
307 <bool>false</bool>
308 </property>
309 <property name="sizePolicy">
310 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
311 <horstretch>0</horstretch>
312 <verstretch>0</verstretch>
313 </sizepolicy>
314 </property>
315 <property name="minimumSize">
316 <size>
317 <width>180</width>
318 <height>0</height>
319 </size>
320 </property>
321 <item>
322 <property name="text">
323 <string>Default</string>
324 </property>
325 </item>
326 <item>
327 <property name="text">
328 <string>srt</string>
329 </property>
330 </item>
331 <item>
332 <property name="text">
333 <string>sub</string>
334 </property>
335 </item>
336 <item>
337 <property name="text">
338 <string>txt</string>
339 </property>
340 </item>
341 </widget>
342 </item>
343 </layout>
344 </item>
345 <item row="6" column="0">
346 <layout class="QHBoxLayout" name="horizontalLayout">
347 <item>
348 <widget class="QCheckBox" name="cbChangeFPS">
349 <property name="enabled">
350 <bool>false</bool>
351 </property>
352 <property name="text">
353 <string>Change FPS (frames/second) of subtitles</string>
354 </property>
355 </widget>
356 </item>
357 <item>
358 <spacer name="horizontalSpacer_2">
359 <property name="orientation">
360 <enum>Qt::Horizontal</enum>
361 </property>
362 <property name="sizeHint" stdset="0">
363 <size>
364 <width>40</width>
365 <height>20</height>
366 </size>
367 </property>
368 </spacer>
369 </item>
370 <item>
371 <widget class="QLabel" name="lbFrom">
372 <property name="enabled">
373 <bool>false</bool>
374 </property>
375 <property name="text">
376 <string>from</string>
377 </property>
378 </widget>
379 </item>
380 <item>
381 <widget class="QComboBox" name="cbFPSFrom">
382 <property name="enabled">
383 <bool>false</bool>
384 </property>
385 <property name="minimumSize">
386 <size>
387 <width>100</width>
388 <height>0</height>
389 </size>
390 </property>
391 <property name="editable">
392 <bool>true</bool>
393 </property>
394 <property name="currentText">
395 <string>23.976</string>
396 </property>
397 <item>
398 <property name="text">
399 <string>23.976</string>
400 </property>
401 </item>
402 <item>
403 <property name="text">
404 <string>24</string>
405 </property>
406 </item>
407 <item>
408 <property name="text">
409 <string>25</string>
410 </property>
411 </item>
412 <item>
413 <property name="text">
414 <string>29.97</string>
415 </property>
416 </item>
417 <item>
418 <property name="text">
419 <string>30</string>
420 </property>
421 </item>
422 <item>
423 <property name="text">
424 <string>50</string>
425 </property>
426 </item>
427 <item>
428 <property name="text">
429 <string>59.94</string>
430 </property>
431 </item>
432 <item>
433 <property name="text">
434 <string>60</string>
435 </property>
436 </item>
437 </widget>
438 </item>
439 <item>
440 <widget class="QLabel" name="lbTo">
441 <property name="enabled">
442 <bool>false</bool>
443 </property>
444 <property name="text">
445 <string>to</string>
446 </property>
447 <property name="alignment">
448 <set>Qt::AlignCenter</set>
449 </property>
450 </widget>
451 </item>
452 <item>
453 <widget class="QComboBox" name="cbFPSTo">
454 <property name="enabled">
455 <bool>false</bool>
456 </property>
457 <property name="minimumSize">
458 <size>
459 <width>100</width>
460 <height>0</height>
461 </size>
462 </property>
463 <property name="editable">
464 <bool>true</bool>
465 </property>
466 <item>
467 <property name="text">
468 <string>23.976</string>
469 </property>
470 </item>
471 <item>
472 <property name="text">
473 <string>24</string>
474 </property>
475 </item>
476 <item>
477 <property name="text">
478 <string>25</string>
479 </property>
480 </item>
481 <item>
482 <property name="text">
483 <string>29.97</string>
484 </property>
485 </item>
486 <item>
487 <property name="text">
488 <string>30</string>
489 </property>
490 </item>
491 <item>
492 <property name="text">
493 <string>50</string>
494 </property>
495 </item>
496 <item>
497 <property name="text">
498 <string>59.94</string>
499 </property>
500 </item>
501 <item>
502 <property name="text">
503 <string>60</string>
504 </property>
505 </item>
506 </widget>
507 </item>
508 </layout>
509 </item>
510 <item row="6" column="1">
511 <widget class="QPushButton" name="pbTargetMovieFPSSelect">
512 <property name="enabled">
513 <bool>false</bool>
514 </property>
515 <property name="toolTip">
516 <string>Detect video framerate (FPS) from file</string>
517 </property>
518 <property name="text">
519 <string/>
520 </property>
521 <property name="icon">
522 <iconset resource="../res/resources.qrc">
523 <normaloff>:/ui/folder.png</normaloff>:/ui/folder.png</iconset>
524 </property>
525 </widget>
526 </item>
527 <item row="7" column="0">
528 <layout class="QHBoxLayout" name="horizontalLayout_7">
529 <item>
530 <widget class="QCheckBox" name="cbDelaySubtitles">
531 <property name="enabled">
532 <bool>false</bool>
533 </property>
534 <property name="text">
535 <string>Shift subtitles</string>
536 </property>
537 </widget>
538 </item>
539 <item>
540 <spacer name="horizontalSpacer_7">
541 <property name="orientation">
542 <enum>Qt::Horizontal</enum>
543 </property>
544 <property name="sizeHint" stdset="0">
545 <size>
546 <width>40</width>
547 <height>20</height>
548 </size>
549 </property>
550 </spacer>
551 </item>
552 <item>
553 <widget class="QDoubleSpinBox" name="sbDelayOffset">
554 <property name="enabled">
555 <bool>false</bool>
556 </property>
557 <property name="sizePolicy">
558 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
559 <horstretch>0</horstretch>
560 <verstretch>0</verstretch>
561 </sizepolicy>
562 </property>
563 <property name="minimumSize">
564 <size>
565 <width>180</width>
566 <height>0</height>
567 </size>
568 </property>
569 <property name="maximumSize">
570 <size>
571 <width>180</width>
572 <height>16777215</height>
573 </size>
574 </property>
575 <property name="prefix">
576 <string/>
577 </property>
578 <property name="suffix">
579 <string> seconds</string>
580 </property>
581 <property name="minimum">
582 <double>-999999999.000000000000000</double>
583 </property>
584 <property name="maximum">
585 <double>999999999.000000000000000</double>
586 </property>
587 </widget>
588 </item>
589 </layout>
590 </item>
591 <item row="8" column="0">
592 <widget class="QLabel" name="lbTargetFileName">
593 <property name="enabled">
594 <bool>false</bool>
595 </property>
596 <property name="text">
597 <string>Target subtitles file name:</string>
598 </property>
599 </widget>
600 </item>
601 <item row="9" column="0">
602 <widget class="QLineEdit" name="leTargetFileName">
603 <property name="enabled">
604 <bool>false</bool>
605 </property>
606 <property name="text">
607 <string/>
608 </property>
609 <property name="cursorPosition">
610 <number>0</number>
611 </property>
612 <property name="readOnly">
613 <bool>false</bool>
614 </property>
615 </widget>
616 </item>
617 <item row="10" column="0">
618 <spacer name="verticalSpacer">
619 <property name="orientation">
620 <enum>Qt::Vertical</enum>
621 </property>
622 <property name="sizeHint" stdset="0">
623 <size>
624 <width>478</width>
625 <height>34</height>
626 </size>
627 </property>
628 </spacer>
629 </item>
630 <item row="11" column="0">
631 <layout class="QHBoxLayout" name="horizontalLayout_3">
632 <item>
633 <spacer name="horizontalSpacer">
634 <property name="orientation">
635 <enum>Qt::Horizontal</enum>
636 </property>
637 <property name="sizeHint" stdset="0">
638 <size>
639 <width>40</width>
640 <height>20</height>
641 </size>
642 </property>
643 </spacer>
644 </item>
645 <item>
646 <widget class="QPushButton" name="pbConvert">
647 <property name="enabled">
648 <bool>false</bool>
649 </property>
650 <property name="minimumSize">
651 <size>
652 <width>140</width>
653 <height>30</height>
654 </size>
655 </property>
656 <property name="text">
657 <string>Convert</string>
658 </property>
659 </widget>
660 </item>
661 </layout>
662 </item>
663 </layout>
664 </widget>
665 <resources>
666 <include location="../res/resources.qrc"/>
667 </resources>
668 <connections>
669 <connection>
670 <sender>cbChangeFPS</sender>
671 <signal>toggled(bool)</signal>
672 <receiver>lbFrom</receiver>
673 <slot>setEnabled(bool)</slot>
674 <hints>
675 <hint type="sourcelabel">
676 <x>153</x>
677 <y>201</y>
678 </hint>
679 <hint type="destinationlabel">
680 <x>311</x>
681 <y>203</y>
682 </hint>
683 </hints>
684 </connection>
685 <connection>
686 <sender>cbChangeFPS</sender>
687 <signal>toggled(bool)</signal>
688 <receiver>cbFPSFrom</receiver>
689 <slot>setEnabled(bool)</slot>
690 <hints>
691 <hint type="sourcelabel">
692 <x>118</x>
693 <y>202</y>
694 </hint>
695 <hint type="destinationlabel">
696 <x>357</x>
697 <y>201</y>
698 </hint>
699 </hints>
700 </connection>
701 <connection>
702 <sender>cbChangeFPS</sender>
703 <signal>toggled(bool)</signal>
704 <receiver>lbTo</receiver>
705 <slot>setEnabled(bool)</slot>
706 <hints>
707 <hint type="sourcelabel">
708 <x>140</x>
709 <y>199</y>
710 </hint>
711 <hint type="destinationlabel">
712 <x>441</x>
713 <y>204</y>
714 </hint>
715 </hints>
716 </connection>
717 <connection>
718 <sender>cbChangeFPS</sender>
719 <signal>toggled(bool)</signal>
720 <receiver>cbFPSTo</receiver>
721 <slot>setEnabled(bool)</slot>
722 <hints>
723 <hint type="sourcelabel">
724 <x>97</x>
725 <y>202</y>
726 </hint>
727 <hint type="destinationlabel">
728 <x>478</x>
729 <y>203</y>
730 </hint>
731 </hints>
732 </connection>
733 <connection>
734 <sender>cbChangeFPS</sender>
735 <signal>toggled(bool)</signal>
736 <receiver>pbTargetMovieFPSSelect</receiver>
737 <slot>setEnabled(bool)</slot>
738 <hints>
739 <hint type="sourcelabel">
740 <x>83</x>
741 <y>203</y>
742 </hint>
743 <hint type="destinationlabel">
744 <x>560</x>
745 <y>197</y>
746 </hint>
747 </hints>
748 </connection>
749 <connection>
750 <sender>cbDelaySubtitles</sender>
751 <signal>toggled(bool)</signal>
752 <receiver>sbDelayOffset</receiver>
753 <slot>setEnabled(bool)</slot>
754 <hints>
755 <hint type="sourcelabel">
756 <x>31</x>
757 <y>235</y>
758 </hint>
759 <hint type="destinationlabel">
760 <x>475</x>
761 <y>232</y>
762 </hint>
763 </hints>
764 </connection>
765 </connections>
766 </ui>