source: smplayer/trunk/src/prefsubtitles.ui@ 165

Last change on this file since 165 was 165, checked in by Silvan Scherrer, 11 years ago

SMPlayer: update trunk to latest 0.8.7

  • Property svn:eol-style set to LF
File size: 43.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>PrefSubtitles</class>
4 <widget class="QWidget" name="PrefSubtitles">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>541</width>
10 <height>421</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string/>
15 </property>
16 <layout class="QVBoxLayout">
17 <property name="margin">
18 <number>0</number>
19 </property>
20 <item>
21 <widget class="QTabWidget" name="subtitles_tab">
22 <property name="currentIndex">
23 <number>0</number>
24 </property>
25 <widget class="QWidget" name="tab1">
26 <attribute name="title">
27 <string>&amp;Subtitles</string>
28 </attribute>
29 <layout class="QVBoxLayout">
30 <property name="spacing">
31 <number>6</number>
32 </property>
33 <item>
34 <widget class="QGroupBox" name="groupBox">
35 <property name="title">
36 <string>Autoload</string>
37 </property>
38 <layout class="QGridLayout">
39 <property name="margin">
40 <number>9</number>
41 </property>
42 <property name="spacing">
43 <number>6</number>
44 </property>
45 <item row="0" column="0">
46 <widget class="QLabel" name="textLabel5">
47 <property name="text">
48 <string>Au&amp;toload subtitles files (*.srt, *.sub...):</string>
49 </property>
50 <property name="wordWrap">
51 <bool>false</bool>
52 </property>
53 <property name="buddy">
54 <cstring>font_autoload_combo</cstring>
55 </property>
56 </widget>
57 </item>
58 <item row="2" column="0" colspan="2">
59 <widget class="QCheckBox" name="font_autoload_check">
60 <property name="text">
61 <string>S&amp;elect first available subtitle</string>
62 </property>
63 </widget>
64 </item>
65 <item row="1" column="0">
66 <widget class="QComboBox" name="font_autoload_combo">
67 <item>
68 <property name="text">
69 <string>Same name as movie</string>
70 </property>
71 </item>
72 <item>
73 <property name="text">
74 <string>All subs containing movie name</string>
75 </property>
76 </item>
77 <item>
78 <property name="text">
79 <string>All subs in directory</string>
80 </property>
81 </item>
82 </widget>
83 </item>
84 <item row="1" column="1">
85 <spacer>
86 <property name="orientation">
87 <enum>Qt::Horizontal</enum>
88 </property>
89 <property name="sizeType">
90 <enum>QSizePolicy::Expanding</enum>
91 </property>
92 <property name="sizeHint" stdset="0">
93 <size>
94 <width>131</width>
95 <height>21</height>
96 </size>
97 </property>
98 </spacer>
99 </item>
100 </layout>
101 </widget>
102 </item>
103 <item>
104 <widget class="QGroupBox" name="groupBox_3">
105 <property name="title">
106 <string>Encoding</string>
107 </property>
108 <layout class="QVBoxLayout">
109 <item>
110 <layout class="QHBoxLayout">
111 <property name="spacing">
112 <number>6</number>
113 </property>
114 <property name="margin">
115 <number>0</number>
116 </property>
117 <item>
118 <widget class="QLabel" name="textLabel4">
119 <property name="text">
120 <string>&amp;Default subtitle encoding:</string>
121 </property>
122 <property name="wordWrap">
123 <bool>false</bool>
124 </property>
125 <property name="buddy">
126 <cstring>font_encoding_combo</cstring>
127 </property>
128 </widget>
129 </item>
130 <item>
131 <widget class="QComboBox" name="font_encoding_combo">
132 <property name="sizePolicy">
133 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
134 <horstretch>0</horstretch>
135 <verstretch>0</verstretch>
136 </sizepolicy>
137 </property>
138 <property name="editable">
139 <bool>false</bool>
140 </property>
141 </widget>
142 </item>
143 <item>
144 <spacer>
145 <property name="orientation">
146 <enum>Qt::Horizontal</enum>
147 </property>
148 <property name="sizeType">
149 <enum>QSizePolicy::Expanding</enum>
150 </property>
151 <property name="sizeHint" stdset="0">
152 <size>
153 <width>161</width>
154 <height>31</height>
155 </size>
156 </property>
157 </spacer>
158 </item>
159 </layout>
160 </item>
161 <item>
162 <layout class="QHBoxLayout">
163 <property name="bottomMargin">
164 <number>0</number>
165 </property>
166 <item>
167 <widget class="QCheckBox" name="use_enca_check">
168 <property name="text">
169 <string>Try to a&amp;utodetect for this language:</string>
170 </property>
171 </widget>
172 </item>
173 <item>
174 <widget class="QComboBox" name="enca_lang_combo">
175 <property name="enabled">
176 <bool>false</bool>
177 </property>
178 <property name="sizePolicy">
179 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
180 <horstretch>0</horstretch>
181 <verstretch>0</verstretch>
182 </sizepolicy>
183 </property>
184 </widget>
185 </item>
186 <item>
187 <spacer>
188 <property name="orientation">
189 <enum>Qt::Horizontal</enum>
190 </property>
191 <property name="sizeHint" stdset="0">
192 <size>
193 <width>40</width>
194 <height>20</height>
195 </size>
196 </property>
197 </spacer>
198 </item>
199 </layout>
200 </item>
201 </layout>
202 </widget>
203 </item>
204 <item>
205 <widget class="QCheckBox" name="subtitles_on_screeshots_check">
206 <property name="text">
207 <string>&amp;Include subtitles on screenshots</string>
208 </property>
209 </widget>
210 </item>
211 <item>
212 <widget class="Line" name="line">
213 <property name="sizePolicy">
214 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
215 <horstretch>0</horstretch>
216 <verstretch>0</verstretch>
217 </sizepolicy>
218 </property>
219 <property name="orientation">
220 <enum>Qt::Horizontal</enum>
221 </property>
222 </widget>
223 </item>
224 <item>
225 <widget class="QCheckBox" name="freetype_check">
226 <property name="text">
227 <string>Freet&amp;ype support</string>
228 </property>
229 </widget>
230 </item>
231 <item>
232 <widget class="QCheckBox" name="windowsfontdir_check">
233 <property name="text">
234 <string>Enable &amp;Windows fonts</string>
235 </property>
236 </widget>
237 </item>
238 <item>
239 <spacer>
240 <property name="orientation">
241 <enum>Qt::Vertical</enum>
242 </property>
243 <property name="sizeType">
244 <enum>QSizePolicy::Expanding</enum>
245 </property>
246 <property name="sizeHint" stdset="0">
247 <size>
248 <width>20</width>
249 <height>20</height>
250 </size>
251 </property>
252 </spacer>
253 </item>
254 </layout>
255 </widget>
256 <widget class="QWidget" name="tab2">
257 <attribute name="title">
258 <string>&amp;Font and colors</string>
259 </attribute>
260 <layout class="QGridLayout">
261 <item row="0" column="0">
262 <widget class="QPushButton" name="normal_subs_button">
263 <property name="text">
264 <string>Enable &amp;normal subtitles</string>
265 </property>
266 <property name="checkable">
267 <bool>true</bool>
268 </property>
269 <property name="autoExclusive">
270 <bool>true</bool>
271 </property>
272 </widget>
273 </item>
274 <item row="0" column="1">
275 <widget class="QPushButton" name="ass_subs_button">
276 <property name="text">
277 <string>Enable SSA/&amp;ASS subtitles</string>
278 </property>
279 <property name="checkable">
280 <bool>true</bool>
281 </property>
282 <property name="autoExclusive">
283 <bool>true</bool>
284 </property>
285 </widget>
286 </item>
287 <item row="0" column="2">
288 <spacer>
289 <property name="orientation">
290 <enum>Qt::Horizontal</enum>
291 </property>
292 <property name="sizeHint" stdset="0">
293 <size>
294 <width>291</width>
295 <height>20</height>
296 </size>
297 </property>
298 </spacer>
299 </item>
300 <item row="1" column="0" colspan="3">
301 <widget class="QStackedWidget" name="stackedWidget">
302 <property name="sizePolicy">
303 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
304 <horstretch>0</horstretch>
305 <verstretch>0</verstretch>
306 </sizepolicy>
307 </property>
308 <property name="frameShape">
309 <enum>QFrame::StyledPanel</enum>
310 </property>
311 <property name="frameShadow">
312 <enum>QFrame::Sunken</enum>
313 </property>
314 <property name="currentIndex">
315 <number>0</number>
316 </property>
317 <widget class="QWidget" name="normal_subs">
318 <layout class="QVBoxLayout">
319 <item>
320 <widget class="QGroupBox" name="groupBox_5">
321 <property name="title">
322 <string>Font</string>
323 </property>
324 <layout class="QGridLayout">
325 <property name="margin">
326 <number>4</number>
327 </property>
328 <property name="spacing">
329 <number>6</number>
330 </property>
331 <item row="1" column="1" colspan="2">
332 <widget class="FileChooser" name="ttf_font_edit">
333 <property name="enabled">
334 <bool>false</bool>
335 </property>
336 </widget>
337 </item>
338 <item row="2" column="1">
339 <widget class="MyFontComboBox" name="fontCombo">
340 <property name="enabled">
341 <bool>false</bool>
342 </property>
343 <property name="sizePolicy">
344 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
345 <horstretch>0</horstretch>
346 <verstretch>0</verstretch>
347 </sizepolicy>
348 </property>
349 </widget>
350 </item>
351 <item row="0" column="0" colspan="3">
352 <widget class="QLabel" name="textLabel1">
353 <property name="text">
354 <string>Select the font which will be used for subtitles (and OSD):</string>
355 </property>
356 <property name="wordWrap">
357 <bool>false</bool>
358 </property>
359 </widget>
360 </item>
361 <item row="2" column="0">
362 <widget class="QRadioButton" name="system_font_button">
363 <property name="text">
364 <string>S&amp;ystem font:</string>
365 </property>
366 </widget>
367 </item>
368 <item row="2" column="2">
369 <spacer>
370 <property name="orientation">
371 <enum>Qt::Horizontal</enum>
372 </property>
373 <property name="sizeHint" stdset="0">
374 <size>
375 <width>121</width>
376 <height>20</height>
377 </size>
378 </property>
379 </spacer>
380 </item>
381 <item row="1" column="0">
382 <widget class="QRadioButton" name="ttf_font_button">
383 <property name="text">
384 <string>&amp;TTF font:</string>
385 </property>
386 </widget>
387 </item>
388 </layout>
389 </widget>
390 </item>
391 <item>
392 <widget class="QGroupBox" name="groupBox_6">
393 <property name="title">
394 <string>Size</string>
395 </property>
396 <layout class="QGridLayout">
397 <property name="margin">
398 <number>4</number>
399 </property>
400 <property name="spacing">
401 <number>6</number>
402 </property>
403 <item row="0" column="0" colspan="3">
404 <layout class="QHBoxLayout">
405 <property name="spacing">
406 <number>6</number>
407 </property>
408 <property name="margin">
409 <number>0</number>
410 </property>
411 <item>
412 <widget class="QLabel" name="textLabel2_2">
413 <property name="text">
414 <string>A&amp;utoscale:</string>
415 </property>
416 <property name="wordWrap">
417 <bool>false</bool>
418 </property>
419 <property name="buddy">
420 <cstring>font_autoscale_combo</cstring>
421 </property>
422 </widget>
423 </item>
424 <item>
425 <widget class="QComboBox" name="font_autoscale_combo">
426 <item>
427 <property name="text">
428 <string>No autoscale</string>
429 </property>
430 </item>
431 <item>
432 <property name="text">
433 <string>Proportional to movie height</string>
434 </property>
435 </item>
436 <item>
437 <property name="text">
438 <string>Proportional to movie width</string>
439 </property>
440 </item>
441 <item>
442 <property name="text">
443 <string>Proportional to movie diagonal</string>
444 </property>
445 </item>
446 </widget>
447 </item>
448 <item>
449 <spacer>
450 <property name="orientation">
451 <enum>Qt::Horizontal</enum>
452 </property>
453 <property name="sizeHint" stdset="0">
454 <size>
455 <width>71</width>
456 <height>20</height>
457 </size>
458 </property>
459 </spacer>
460 </item>
461 </layout>
462 </item>
463 <item row="1" column="2">
464 <spacer>
465 <property name="orientation">
466 <enum>Qt::Horizontal</enum>
467 </property>
468 <property name="sizeHint" stdset="0">
469 <size>
470 <width>40</width>
471 <height>20</height>
472 </size>
473 </property>
474 </spacer>
475 </item>
476 <item row="1" column="1">
477 <widget class="QDoubleSpinBox" name="font_text_scale_spin">
478 <property name="decimals">
479 <number>1</number>
480 </property>
481 <property name="singleStep">
482 <double>0.200000000000000</double>
483 </property>
484 </widget>
485 </item>
486 <item row="1" column="0">
487 <widget class="QLabel" name="scale_label">
488 <property name="text">
489 <string>Default s&amp;cale:</string>
490 </property>
491 <property name="alignment">
492 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
493 </property>
494 <property name="buddy">
495 <cstring>font_text_scale_spin</cstring>
496 </property>
497 </widget>
498 </item>
499 </layout>
500 </widget>
501 </item>
502 <item>
503 <widget class="QGroupBox" name="groupBox_2">
504 <property name="title">
505 <string>Position</string>
506 </property>
507 <layout class="QVBoxLayout">
508 <property name="spacing">
509 <number>6</number>
510 </property>
511 <property name="margin">
512 <number>9</number>
513 </property>
514 <item>
515 <widget class="QLabel" name="textLabel1_22">
516 <property name="text">
517 <string>Default &amp;position of the subtitles on screen</string>
518 </property>
519 <property name="alignment">
520 <set>Qt::AlignVCenter</set>
521 </property>
522 <property name="wordWrap">
523 <bool>true</bool>
524 </property>
525 <property name="buddy">
526 <cstring>sub_pos_slider</cstring>
527 </property>
528 </widget>
529 </item>
530 <item>
531 <layout class="QHBoxLayout">
532 <property name="spacing">
533 <number>6</number>
534 </property>
535 <property name="margin">
536 <number>0</number>
537 </property>
538 <item>
539 <widget class="QSlider" name="sub_pos_slider">
540 <property name="sizePolicy">
541 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
542 <horstretch>0</horstretch>
543 <verstretch>0</verstretch>
544 </sizepolicy>
545 </property>
546 <property name="minimum">
547 <number>0</number>
548 </property>
549 <property name="maximum">
550 <number>100</number>
551 </property>
552 <property name="pageStep">
553 <number>1</number>
554 </property>
555 <property name="orientation">
556 <enum>Qt::Horizontal</enum>
557 </property>
558 </widget>
559 </item>
560 <item>
561 <widget class="QLabel" name="sub_pos_label">
562 <property name="text">
563 <string>0</string>
564 </property>
565 <property name="wordWrap">
566 <bool>false</bool>
567 </property>
568 </widget>
569 </item>
570 </layout>
571 </item>
572 <item>
573 <layout class="QHBoxLayout">
574 <property name="spacing">
575 <number>6</number>
576 </property>
577 <property name="margin">
578 <number>0</number>
579 </property>
580 <item>
581 <widget class="QLabel" name="textLabel2_9">
582 <property name="text">
583 <string>Top</string>
584 </property>
585 <property name="wordWrap">
586 <bool>false</bool>
587 </property>
588 </widget>
589 </item>
590 <item>
591 <spacer>
592 <property name="orientation">
593 <enum>Qt::Horizontal</enum>
594 </property>
595 <property name="sizeType">
596 <enum>QSizePolicy::Expanding</enum>
597 </property>
598 <property name="sizeHint" stdset="0">
599 <size>
600 <width>131</width>
601 <height>20</height>
602 </size>
603 </property>
604 </spacer>
605 </item>
606 <item>
607 <widget class="QLabel" name="textLabel3_5">
608 <property name="text">
609 <string>Bottom</string>
610 </property>
611 <property name="wordWrap">
612 <bool>false</bool>
613 </property>
614 </widget>
615 </item>
616 </layout>
617 </item>
618 </layout>
619 </widget>
620 </item>
621 <item>
622 <spacer>
623 <property name="orientation">
624 <enum>Qt::Vertical</enum>
625 </property>
626 <property name="sizeHint" stdset="0">
627 <size>
628 <width>20</width>
629 <height>40</height>
630 </size>
631 </property>
632 </spacer>
633 </item>
634 </layout>
635 </widget>
636 <widget class="QWidget" name="ass_subs">
637 <layout class="QVBoxLayout">
638 <item>
639 <layout class="QHBoxLayout">
640 <item>
641 <widget class="QLabel" name="ass_scale_label">
642 <property name="text">
643 <string>Defa&amp;ult scale:</string>
644 </property>
645 <property name="buddy">
646 <cstring>ass_font_scale_spin</cstring>
647 </property>
648 </widget>
649 </item>
650 <item>
651 <widget class="QDoubleSpinBox" name="ass_font_scale_spin">
652 <property name="sizePolicy">
653 <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
654 <horstretch>0</horstretch>
655 <verstretch>0</verstretch>
656 </sizepolicy>
657 </property>
658 <property name="maximum">
659 <double>100.000000000000000</double>
660 </property>
661 <property name="singleStep">
662 <double>0.200000000000000</double>
663 </property>
664 </widget>
665 </item>
666 <item>
667 <spacer>
668 <property name="orientation">
669 <enum>Qt::Horizontal</enum>
670 </property>
671 <property name="sizeHint" stdset="0">
672 <size>
673 <width>121</width>
674 <height>20</height>
675 </size>
676 </property>
677 </spacer>
678 </item>
679 <item>
680 <widget class="QLabel" name="label_11">
681 <property name="text">
682 <string>&amp;Line spacing:</string>
683 </property>
684 <property name="buddy">
685 <cstring>ass_line_spacing_spin</cstring>
686 </property>
687 </widget>
688 </item>
689 <item>
690 <widget class="QSpinBox" name="ass_line_spacing_spin">
691 <property name="minimum">
692 <number>-20</number>
693 </property>
694 <property name="maximum">
695 <number>20</number>
696 </property>
697 </widget>
698 </item>
699 </layout>
700 </item>
701 <item>
702 <widget class="QWidget" name="styles_container" native="true">
703 <property name="enabled">
704 <bool>true</bool>
705 </property>
706 <layout class="QGridLayout">
707 <property name="margin">
708 <number>2</number>
709 </property>
710 <item row="0" column="0">
711 <widget class="QGroupBox" name="groupBox_4">
712 <property name="title">
713 <string>Font</string>
714 </property>
715 <layout class="QVBoxLayout">
716 <property name="margin">
717 <number>4</number>
718 </property>
719 <item>
720 <layout class="QHBoxLayout">
721 <item>
722 <widget class="MyFontComboBox" name="style_font_combo"/>
723 </item>
724 </layout>
725 </item>
726 <item>
727 <layout class="QHBoxLayout">
728 <item>
729 <widget class="QLabel" name="label">
730 <property name="text">
731 <string>Si&amp;ze:</string>
732 </property>
733 <property name="buddy">
734 <cstring>style_size_spin</cstring>
735 </property>
736 </widget>
737 </item>
738 <item>
739 <widget class="QSpinBox" name="style_size_spin">
740 <property name="sizePolicy">
741 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
742 <horstretch>0</horstretch>
743 <verstretch>0</verstretch>
744 </sizepolicy>
745 </property>
746 <property name="minimum">
747 <number>1</number>
748 </property>
749 <property name="value">
750 <number>10</number>
751 </property>
752 </widget>
753 </item>
754 <item>
755 <spacer>
756 <property name="orientation">
757 <enum>Qt::Horizontal</enum>
758 </property>
759 <property name="sizeType">
760 <enum>QSizePolicy::Preferred</enum>
761 </property>
762 <property name="sizeHint" stdset="0">
763 <size>
764 <width>60</width>
765 <height>20</height>
766 </size>
767 </property>
768 </spacer>
769 </item>
770 <item>
771 <widget class="QCheckBox" name="style_bold_check">
772 <property name="text">
773 <string>Bol&amp;d</string>
774 </property>
775 </widget>
776 </item>
777 <item>
778 <widget class="QCheckBox" name="style_italic_check">
779 <property name="text">
780 <string>&amp;Italic</string>
781 </property>
782 </widget>
783 </item>
784 </layout>
785 </item>
786 </layout>
787 </widget>
788 </item>
789 <item row="0" column="1">
790 <widget class="QGroupBox" name="groupBox_7">
791 <property name="title">
792 <string>Colors</string>
793 </property>
794 <layout class="QGridLayout">
795 <property name="margin">
796 <number>4</number>
797 </property>
798 <item row="0" column="0">
799 <widget class="QLabel" name="label_2">
800 <property name="text">
801 <string>&amp;Text:</string>
802 </property>
803 <property name="alignment">
804 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
805 </property>
806 <property name="buddy">
807 <cstring>style_text_color_button</cstring>
808 </property>
809 </widget>
810 </item>
811 <item row="0" column="1">
812 <widget class="SelectColorButton" name="style_text_color_button">
813 <property name="sizePolicy">
814 <sizepolicy hsizetype="Minimum" vsizetype="Ignored">
815 <horstretch>0</horstretch>
816 <verstretch>0</verstretch>
817 </sizepolicy>
818 </property>
819 <property name="text">
820 <string/>
821 </property>
822 </widget>
823 </item>
824 <item row="1" column="0">
825 <widget class="QLabel" name="label_3">
826 <property name="text">
827 <string>&amp;Border:</string>
828 </property>
829 <property name="alignment">
830 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
831 </property>
832 <property name="buddy">
833 <cstring>style_border_color_button</cstring>
834 </property>
835 </widget>
836 </item>
837 <item row="1" column="1">
838 <widget class="SelectColorButton" name="style_border_color_button">
839 <property name="sizePolicy">
840 <sizepolicy hsizetype="Minimum" vsizetype="Ignored">
841 <horstretch>0</horstretch>
842 <verstretch>0</verstretch>
843 </sizepolicy>
844 </property>
845 <property name="text">
846 <string/>
847 </property>
848 </widget>
849 </item>
850 <item row="2" column="0">
851 <widget class="QLabel" name="label_12">
852 <property name="text">
853 <string>Shadow:</string>
854 </property>
855 <property name="alignment">
856 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
857 </property>
858 </widget>
859 </item>
860 <item row="2" column="1">
861 <widget class="SelectColorButton" name="style_shadow_color_button">
862 <property name="sizePolicy">
863 <sizepolicy hsizetype="Minimum" vsizetype="Ignored">
864 <horstretch>0</horstretch>
865 <verstretch>0</verstretch>
866 </sizepolicy>
867 </property>
868 <property name="text">
869 <string/>
870 </property>
871 </widget>
872 </item>
873 </layout>
874 </widget>
875 </item>
876 <item row="1" column="0">
877 <widget class="QGroupBox" name="groupBox_8">
878 <property name="title">
879 <string>Margins</string>
880 </property>
881 <layout class="QGridLayout">
882 <property name="margin">
883 <number>4</number>
884 </property>
885 <item row="0" column="0">
886 <widget class="QLabel" name="label_7">
887 <property name="text">
888 <string>L&amp;eft:</string>
889 </property>
890 <property name="alignment">
891 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
892 </property>
893 <property name="buddy">
894 <cstring>style_marginl_spin</cstring>
895 </property>
896 </widget>
897 </item>
898 <item row="0" column="1">
899 <widget class="QSpinBox" name="style_marginl_spin"/>
900 </item>
901 <item row="0" column="2">
902 <widget class="QLabel" name="label_8">
903 <property name="text">
904 <string>&amp;Right:</string>
905 </property>
906 <property name="alignment">
907 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
908 </property>
909 <property name="buddy">
910 <cstring>style_marginr_spin</cstring>
911 </property>
912 </widget>
913 </item>
914 <item row="0" column="3">
915 <widget class="QSpinBox" name="style_marginr_spin"/>
916 </item>
917 <item row="1" column="0">
918 <widget class="QLabel" name="label_9">
919 <property name="text">
920 <string>Verti&amp;cal:</string>
921 </property>
922 <property name="alignment">
923 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
924 </property>
925 <property name="buddy">
926 <cstring>style_marginv_spin</cstring>
927 </property>
928 </widget>
929 </item>
930 <item row="1" column="1">
931 <widget class="QSpinBox" name="style_marginv_spin"/>
932 </item>
933 <item row="1" column="2" colspan="2">
934 <spacer>
935 <property name="orientation">
936 <enum>Qt::Horizontal</enum>
937 </property>
938 <property name="sizeHint" stdset="0">
939 <size>
940 <width>101</width>
941 <height>25</height>
942 </size>
943 </property>
944 </spacer>
945 </item>
946 </layout>
947 </widget>
948 </item>
949 <item row="1" column="1">
950 <widget class="QGroupBox" name="groupBox_9">
951 <property name="title">
952 <string>Alignment</string>
953 </property>
954 <layout class="QGridLayout">
955 <property name="margin">
956 <number>4</number>
957 </property>
958 <item row="0" column="0">
959 <widget class="QLabel" name="label_4">
960 <property name="text">
961 <string>&amp;Horizontal:</string>
962 </property>
963 <property name="alignment">
964 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
965 </property>
966 <property name="buddy">
967 <cstring>style_alignment_combo</cstring>
968 </property>
969 </widget>
970 </item>
971 <item row="0" column="1">
972 <widget class="QComboBox" name="style_alignment_combo"/>
973 </item>
974 <item row="1" column="0">
975 <widget class="QLabel" name="label_6">
976 <property name="text">
977 <string>&amp;Vertical:</string>
978 </property>
979 <property name="alignment">
980 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
981 </property>
982 <property name="buddy">
983 <cstring>style_valignment_combo</cstring>
984 </property>
985 </widget>
986 </item>
987 <item row="1" column="1">
988 <widget class="QComboBox" name="style_valignment_combo"/>
989 </item>
990 </layout>
991 </widget>
992 </item>
993 <item row="2" column="0" colspan="2">
994 <layout class="QHBoxLayout">
995 <item>
996 <widget class="QLabel" name="label_5">
997 <property name="text">
998 <string>Border st&amp;yle:</string>
999 </property>
1000 <property name="buddy">
1001 <cstring>style_border_style_combo</cstring>
1002 </property>
1003 </widget>
1004 </item>
1005 <item>
1006 <widget class="QComboBox" name="style_border_style_combo"/>
1007 </item>
1008 <item>
1009 <spacer>
1010 <property name="orientation">
1011 <enum>Qt::Horizontal</enum>
1012 </property>
1013 <property name="sizeHint" stdset="0">
1014 <size>
1015 <width>40</width>
1016 <height>20</height>
1017 </size>
1018 </property>
1019 </spacer>
1020 </item>
1021 <item>
1022 <widget class="QLabel" name="style_outline_label">
1023 <property name="text">
1024 <string>&amp;Outline:</string>
1025 </property>
1026 <property name="buddy">
1027 <cstring>style_outline_spin</cstring>
1028 </property>
1029 </widget>
1030 </item>
1031 <item>
1032 <widget class="QDoubleSpinBox" name="style_outline_spin">
1033 <property name="maximum">
1034 <double>4.000000000000000</double>
1035 </property>
1036 <property name="singleStep">
1037 <double>0.100000000000000</double>
1038 </property>
1039 </widget>
1040 </item>
1041 <item>
1042 <widget class="QLabel" name="style_shadow_label">
1043 <property name="text">
1044 <string>Shado&amp;w:</string>
1045 </property>
1046 <property name="buddy">
1047 <cstring>style_shadow_spin</cstring>
1048 </property>
1049 </widget>
1050 </item>
1051 <item>
1052 <widget class="QDoubleSpinBox" name="style_shadow_spin">
1053 <property name="maximum">
1054 <double>4.000000000000000</double>
1055 </property>
1056 <property name="singleStep">
1057 <double>0.100000000000000</double>
1058 </property>
1059 </widget>
1060 </item>
1061 </layout>
1062 </item>
1063 </layout>
1064 </widget>
1065 </item>
1066 <item>
1067 <widget class="Line" name="line_3">
1068 <property name="sizePolicy">
1069 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
1070 <horstretch>0</horstretch>
1071 <verstretch>0</verstretch>
1072 </sizepolicy>
1073 </property>
1074 <property name="orientation">
1075 <enum>Qt::Horizontal</enum>
1076 </property>
1077 </widget>
1078 </item>
1079 <item>
1080 <layout class="QHBoxLayout">
1081 <item>
1082 <widget class="QCheckBox" name="force_ass_styles">
1083 <property name="text">
1084 <string>A&amp;pply style to ass files too</string>
1085 </property>
1086 </widget>
1087 </item>
1088 <item>
1089 <spacer>
1090 <property name="orientation">
1091 <enum>Qt::Horizontal</enum>
1092 </property>
1093 <property name="sizeHint" stdset="0">
1094 <size>
1095 <width>40</width>
1096 <height>20</height>
1097 </size>
1098 </property>
1099 </spacer>
1100 </item>
1101 <item>
1102 <widget class="QPushButton" name="ass_customize_button">
1103 <property name="enabled">
1104 <bool>false</bool>
1105 </property>
1106 <property name="text">
1107 <string>Custo&amp;mize...</string>
1108 </property>
1109 </widget>
1110 </item>
1111 </layout>
1112 </item>
1113 <item>
1114 <spacer>
1115 <property name="orientation">
1116 <enum>Qt::Vertical</enum>
1117 </property>
1118 <property name="sizeHint" stdset="0">
1119 <size>
1120 <width>497</width>
1121 <height>16</height>
1122 </size>
1123 </property>
1124 </spacer>
1125 </item>
1126 </layout>
1127 </widget>
1128 </widget>
1129 </item>
1130 </layout>
1131 </widget>
1132 </widget>
1133 </item>
1134 </layout>
1135 </widget>
1136 <customwidgets>
1137 <customwidget>
1138 <class>FileChooser</class>
1139 <extends>QLineEdit</extends>
1140 <header>filechooser.h</header>
1141 </customwidget>
1142 <customwidget>
1143 <class>MyFontComboBox</class>
1144 <extends>QFontComboBox</extends>
1145 <header>mycombobox.h</header>
1146 </customwidget>
1147 <customwidget>
1148 <class>SelectColorButton</class>
1149 <extends>QPushButton</extends>
1150 <header>selectcolorbutton.h</header>
1151 </customwidget>
1152 </customwidgets>
1153 <tabstops>
1154 <tabstop>subtitles_tab</tabstop>
1155 <tabstop>font_autoload_combo</tabstop>
1156 <tabstop>font_autoload_check</tabstop>
1157 <tabstop>font_encoding_combo</tabstop>
1158 <tabstop>use_enca_check</tabstop>
1159 <tabstop>enca_lang_combo</tabstop>
1160 <tabstop>subtitles_on_screeshots_check</tabstop>
1161 <tabstop>freetype_check</tabstop>
1162 <tabstop>windowsfontdir_check</tabstop>
1163 <tabstop>normal_subs_button</tabstop>
1164 <tabstop>ass_subs_button</tabstop>
1165 <tabstop>ttf_font_button</tabstop>
1166 <tabstop>ttf_font_edit</tabstop>
1167 <tabstop>system_font_button</tabstop>
1168 <tabstop>fontCombo</tabstop>
1169 <tabstop>font_autoscale_combo</tabstop>
1170 <tabstop>font_text_scale_spin</tabstop>
1171 <tabstop>sub_pos_slider</tabstop>
1172 <tabstop>ass_font_scale_spin</tabstop>
1173 <tabstop>ass_line_spacing_spin</tabstop>
1174 <tabstop>style_font_combo</tabstop>
1175 <tabstop>style_size_spin</tabstop>
1176 <tabstop>style_bold_check</tabstop>
1177 <tabstop>style_italic_check</tabstop>
1178 <tabstop>style_text_color_button</tabstop>
1179 <tabstop>style_border_color_button</tabstop>
1180 <tabstop>style_shadow_color_button</tabstop>
1181 <tabstop>style_marginl_spin</tabstop>
1182 <tabstop>style_marginr_spin</tabstop>
1183 <tabstop>style_marginv_spin</tabstop>
1184 <tabstop>style_alignment_combo</tabstop>
1185 <tabstop>style_valignment_combo</tabstop>
1186 <tabstop>style_border_style_combo</tabstop>
1187 <tabstop>style_outline_spin</tabstop>
1188 <tabstop>style_shadow_spin</tabstop>
1189 <tabstop>force_ass_styles</tabstop>
1190 <tabstop>ass_customize_button</tabstop>
1191 </tabstops>
1192 <resources/>
1193 <connections>
1194 <connection>
1195 <sender>ttf_font_button</sender>
1196 <signal>toggled(bool)</signal>
1197 <receiver>ttf_font_edit</receiver>
1198 <slot>setEnabled(bool)</slot>
1199 <hints>
1200 <hint type="sourcelabel">
1201 <x>83</x>
1202 <y>114</y>
1203 </hint>
1204 <hint type="destinationlabel">
1205 <x>273</x>
1206 <y>114</y>
1207 </hint>
1208 </hints>
1209 </connection>
1210 <connection>
1211 <sender>system_font_button</sender>
1212 <signal>toggled(bool)</signal>
1213 <receiver>fontCombo</receiver>
1214 <slot>setEnabled(bool)</slot>
1215 <hints>
1216 <hint type="sourcelabel">
1217 <x>74</x>
1218 <y>138</y>
1219 </hint>
1220 <hint type="destinationlabel">
1221 <x>264</x>
1222 <y>138</y>
1223 </hint>
1224 </hints>
1225 </connection>
1226 <connection>
1227 <sender>use_enca_check</sender>
1228 <signal>toggled(bool)</signal>
1229 <receiver>enca_lang_combo</receiver>
1230 <slot>setEnabled(bool)</slot>
1231 <hints>
1232 <hint type="sourcelabel">
1233 <x>118</x>
1234 <y>245</y>
1235 </hint>
1236 <hint type="destinationlabel">
1237 <x>258</x>
1238 <y>245</y>
1239 </hint>
1240 </hints>
1241 </connection>
1242 <connection>
1243 <sender>sub_pos_slider</sender>
1244 <signal>valueChanged(int)</signal>
1245 <receiver>sub_pos_label</receiver>
1246 <slot>setNum(int)</slot>
1247 <hints>
1248 <hint type="sourcelabel">
1249 <x>260</x>
1250 <y>353</y>
1251 </hint>
1252 <hint type="destinationlabel">
1253 <x>496</x>
1254 <y>353</y>
1255 </hint>
1256 </hints>
1257 </connection>
1258 <connection>
1259 <sender>force_ass_styles</sender>
1260 <signal>toggled(bool)</signal>
1261 <receiver>ass_customize_button</receiver>
1262 <slot>setEnabled(bool)</slot>
1263 <hints>
1264 <hint type="sourcelabel">
1265 <x>115</x>
1266 <y>376</y>
1267 </hint>
1268 <hint type="destinationlabel">
1269 <x>474</x>
1270 <y>377</y>
1271 </hint>
1272 </hints>
1273 </connection>
1274 </connections>
1275</ui>
Note: See TracBrowser for help on using the repository browser.