diff options
author | Mateusz Łukasik <mati75@linuxmint.pl> | 2018-03-12 05:45:30 -0400 |
---|---|---|
committer | Mateusz Łukasik <mati75@linuxmint.pl> | 2018-03-12 05:45:30 -0400 |
commit | ddef07cab834612d6470fbb4483afde40cd2d708 (patch) | |
tree | 183ca1da081ae14e3e05d7ae4374c484e0ff9def /src/prefsubtitles.ui |
Import smplayer_18.2.2~ds0.orig.tar.bz2
[dgit import orig smplayer_18.2.2~ds0.orig.tar.bz2]
Diffstat (limited to 'src/prefsubtitles.ui')
-rw-r--r-- | src/prefsubtitles.ui | 933 |
1 files changed, 933 insertions, 0 deletions
diff --git a/src/prefsubtitles.ui b/src/prefsubtitles.ui new file mode 100644 index 0000000..ef10c48 --- /dev/null +++ b/src/prefsubtitles.ui @@ -0,0 +1,933 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>PrefSubtitles</class> + <widget class="QWidget" name="PrefSubtitles"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>541</width> + <height>439</height> + </rect> + </property> + <property name="windowTitle"> + <string/> + </property> + <layout class="QVBoxLayout"> + <property name="margin"> + <number>0</number> + </property> + <item> + <widget class="QTabWidget" name="subtitles_tab"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="tab1"> + <attribute name="title"> + <string>&Subtitles</string> + </attribute> + <layout class="QVBoxLayout"> + <property name="spacing"> + <number>6</number> + </property> + <item> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Autoload</string> + </property> + <layout class="QGridLayout"> + <property name="margin"> + <number>9</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <item row="0" column="0"> + <widget class="QLabel" name="textLabel5"> + <property name="text"> + <string>Au&toload subtitles files (*.srt, *.sub...):</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>sub_autoload_combo</cstring> + </property> + </widget> + </item> + <item row="2" column="0" colspan="2"> + <widget class="QCheckBox" name="sub_autoload_check"> + <property name="text"> + <string>S&elect first available subtitle</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QComboBox" name="sub_autoload_combo"> + <item> + <property name="text"> + <string>Same name as movie</string> + </property> + </item> + <item> + <property name="text"> + <string>All subtitles containing the movie name</string> + </property> + </item> + <item> + <property name="text"> + <string>All subtitles in the directory</string> + </property> + </item> + </widget> + </item> + <item row="1" column="1"> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>131</width> + <height>21</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_3"> + <property name="title"> + <string>Encoding</string> + </property> + <layout class="QVBoxLayout"> + <item> + <layout class="QHBoxLayout"> + <property name="spacing"> + <number>6</number> + </property> + <property name="margin"> + <number>0</number> + </property> + <item> + <widget class="QLabel" name="textLabel4"> + <property name="text"> + <string>&Default subtitle encoding:</string> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + <property name="buddy"> + <cstring>font_encoding_combo</cstring> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="font_encoding_combo"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="editable"> + <bool>false</bool> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>161</width> + <height>31</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout"> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <widget class="QCheckBox" name="use_enca_check"> + <property name="text"> + <string>Try to a&utodetect for this language:</string> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="enca_lang_combo"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QCheckBox" name="subtitles_on_screeshots_check"> + <property name="text"> + <string>&Include subtitles on screenshots</string> + </property> + </widget> + </item> + <item> + <widget class="Line" name="line"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="use_ass_check"> + <property name="text"> + <string>Use the &ASS library</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="freetype_check"> + <property name="text"> + <string>Freet&ype support</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="windowsfontdir_check"> + <property name="text"> + <string>Enable &Windows fonts</string> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab2"> + <property name="enabled"> + <bool>true</bool> + </property> + <attribute name="title"> + <string>&Font and colors</string> + </attribute> + <layout class="QGridLayout"> + <item row="1" column="0" colspan="2"> + <widget class="QStackedWidget" name="stackedWidget"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Sunken</enum> + </property> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="ass_subs"> + <layout class="QVBoxLayout"> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QLabel" name="ass_scale_label"> + <property name="text"> + <string>Defa&ult scale:</string> + </property> + <property name="buddy"> + <cstring>ass_font_scale_spin</cstring> + </property> + </widget> + </item> + <item> + <widget class="QDoubleSpinBox" name="ass_font_scale_spin"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximum"> + <double>100.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.200000000000000</double> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>121</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="label_11"> + <property name="text"> + <string>&Line spacing:</string> + </property> + <property name="buddy"> + <cstring>ass_line_spacing_spin</cstring> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="ass_line_spacing_spin"> + <property name="minimum"> + <number>-20</number> + </property> + <property name="maximum"> + <number>20</number> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QWidget" name="styles_container" native="true"> + <property name="enabled"> + <bool>true</bool> + </property> + <layout class="QGridLayout"> + <property name="margin"> + <number>2</number> + </property> + <item row="0" column="0"> + <widget class="QGroupBox" name="groupBox_4"> + <property name="title"> + <string>Font</string> + </property> + <layout class="QVBoxLayout"> + <property name="margin"> + <number>4</number> + </property> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="MyFontComboBox" name="style_font_combo"/> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Si&ze:</string> + </property> + <property name="buddy"> + <cstring>style_size_spin</cstring> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="style_size_spin"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="value"> + <number>10</number> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Preferred</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>60</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QCheckBox" name="style_bold_check"> + <property name="text"> + <string>Bol&d</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="style_italic_check"> + <property name="text"> + <string>&Italic</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + </item> + <item row="0" column="1"> + <widget class="QGroupBox" name="groupBox_7"> + <property name="title"> + <string>Colors</string> + </property> + <layout class="QGridLayout"> + <property name="margin"> + <number>4</number> + </property> + <item row="0" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>&Text:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="buddy"> + <cstring>style_text_color_button</cstring> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="SelectColorButton" name="style_text_color_button"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Ignored"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>&Border:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="buddy"> + <cstring>style_border_color_button</cstring> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="SelectColorButton" name="style_border_color_button"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Ignored"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_12"> + <property name="text"> + <string>Shadow:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="SelectColorButton" name="style_shadow_color_button"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Ignored"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="1" column="0"> + <widget class="QGroupBox" name="groupBox_8"> + <property name="title"> + <string>Margins</string> + </property> + <layout class="QGridLayout"> + <property name="margin"> + <number>4</number> + </property> + <item row="0" column="0"> + <widget class="QLabel" name="label_7"> + <property name="text"> + <string>L&eft:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="buddy"> + <cstring>style_marginl_spin</cstring> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QSpinBox" name="style_marginl_spin"/> + </item> + <item row="0" column="2"> + <widget class="QLabel" name="label_8"> + <property name="text"> + <string>&Right:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="buddy"> + <cstring>style_marginr_spin</cstring> + </property> + </widget> + </item> + <item row="0" column="3"> + <widget class="QSpinBox" name="style_marginr_spin"/> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_9"> + <property name="text"> + <string>Verti&cal:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="buddy"> + <cstring>style_marginv_spin</cstring> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSpinBox" name="style_marginv_spin"/> + </item> + <item row="1" column="2" colspan="2"> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>101</width> + <height>25</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item row="1" column="1"> + <widget class="QGroupBox" name="groupBox_9"> + <property name="title"> + <string>Alignment</string> + </property> + <layout class="QGridLayout"> + <property name="margin"> + <number>4</number> + </property> + <item row="0" column="0"> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string>&Horizontal:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="buddy"> + <cstring>style_alignment_combo</cstring> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QComboBox" name="style_alignment_combo"/> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>&Vertical:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="buddy"> + <cstring>style_valignment_combo</cstring> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QComboBox" name="style_valignment_combo"/> + </item> + </layout> + </widget> + </item> + <item row="2" column="0" colspan="2"> + <layout class="QHBoxLayout"> + <item> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string>Border st&yle:</string> + </property> + <property name="buddy"> + <cstring>style_border_style_combo</cstring> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="style_border_style_combo"/> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="opacity_label"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Opacity:</string> + </property> + <property name="buddy"> + <cstring>opacity_slider</cstring> + </property> + </widget> + </item> + <item> + <widget class="QSlider" name="opacity_slider"> + <property name="maximum"> + <number>255</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="opacity_num"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="frameShape"> + <enum>QFrame::Panel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Sunken</enum> + </property> + <property name="text"> + <string notr="true">0</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="style_outline_label"> + <property name="text"> + <string>&Outline:</string> + </property> + <property name="buddy"> + <cstring>style_outline_spin</cstring> + </property> + </widget> + </item> + <item> + <widget class="QDoubleSpinBox" name="style_outline_spin"> + <property name="maximum"> + <double>4.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="style_shadow_label"> + <property name="text"> + <string>Shado&w:</string> + </property> + <property name="buddy"> + <cstring>style_shadow_spin</cstring> + </property> + </widget> + </item> + <item> + <widget class="QDoubleSpinBox" name="style_shadow_spin"> + <property name="maximum"> + <double>4.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + </item> + <item> + <widget class="Line" name="line_3"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QCheckBox" name="force_ass_styles"> + <property name="text"> + <string>A&pply style to ASS files too</string> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="ass_customize_button"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Custo&mize...</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>497</width> + <height>16</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </widget> + </item> + <item row="0" column="0"> + <widget class="QCheckBox" name="ass_custom_check"> + <property name="text"> + <string>Use custo&m style</string> + </property> + </widget> + </item> + </layout> + </widget> + </widget> + </item> + </layout> + </widget> + <customwidgets> + <customwidget> + <class>MyFontComboBox</class> + <extends>QFontComboBox</extends> + <header>mycombobox.h</header> + </customwidget> + <customwidget> + <class>SelectColorButton</class> + <extends>QPushButton</extends> + <header>selectcolorbutton.h</header> + </customwidget> + </customwidgets> + <tabstops> + <tabstop>subtitles_tab</tabstop> + <tabstop>sub_autoload_combo</tabstop> + <tabstop>sub_autoload_check</tabstop> + <tabstop>font_encoding_combo</tabstop> + <tabstop>use_enca_check</tabstop> + <tabstop>enca_lang_combo</tabstop> + <tabstop>subtitles_on_screeshots_check</tabstop> + <tabstop>use_ass_check</tabstop> + <tabstop>freetype_check</tabstop> + <tabstop>windowsfontdir_check</tabstop> + <tabstop>ass_custom_check</tabstop> + <tabstop>ass_font_scale_spin</tabstop> + <tabstop>ass_line_spacing_spin</tabstop> + <tabstop>style_font_combo</tabstop> + <tabstop>style_size_spin</tabstop> + <tabstop>style_bold_check</tabstop> + <tabstop>style_italic_check</tabstop> + <tabstop>style_text_color_button</tabstop> + <tabstop>style_border_color_button</tabstop> + <tabstop>style_shadow_color_button</tabstop> + <tabstop>style_marginl_spin</tabstop> + <tabstop>style_marginr_spin</tabstop> + <tabstop>style_marginv_spin</tabstop> + <tabstop>style_alignment_combo</tabstop> + <tabstop>style_valignment_combo</tabstop> + <tabstop>style_border_style_combo</tabstop> + <tabstop>opacity_slider</tabstop> + <tabstop>style_outline_spin</tabstop> + <tabstop>style_shadow_spin</tabstop> + <tabstop>force_ass_styles</tabstop> + <tabstop>ass_customize_button</tabstop> + </tabstops> + <resources/> + <connections> + <connection> + <sender>use_enca_check</sender> + <signal>toggled(bool)</signal> + <receiver>enca_lang_combo</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>118</x> + <y>245</y> + </hint> + <hint type="destinationlabel"> + <x>258</x> + <y>245</y> + </hint> + </hints> + </connection> + <connection> + <sender>force_ass_styles</sender> + <signal>toggled(bool)</signal> + <receiver>ass_customize_button</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>115</x> + <y>376</y> + </hint> + <hint type="destinationlabel"> + <x>474</x> + <y>377</y> + </hint> + </hints> + </connection> + <connection> + <sender>opacity_slider</sender> + <signal>valueChanged(int)</signal> + <receiver>opacity_num</receiver> + <slot>setNum(int)</slot> + <hints> + <hint type="sourcelabel"> + <x>275</x> + <y>318</y> + </hint> + <hint type="destinationlabel"> + <x>299</x> + <y>318</y> + </hint> + </hints> + </connection> + </connections> +</ui> |