Commit 4587e359 authored by Antoine Cellerier's avatar Antoine Cellerier

Add subtitles display effect to simple prefs panel

parent a4989d74
...@@ -174,6 +174,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -174,6 +174,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC( "freetype-color", IntegerList, NULL, fontColor ); CONFIG_GENERIC( "freetype-color", IntegerList, NULL, fontColor );
CONFIG_GENERIC( "freetype-rel-fontsize", IntegerList, NULL, CONFIG_GENERIC( "freetype-rel-fontsize", IntegerList, NULL,
fontSize ); fontSize );
CONFIG_GENERIC( "freetype-effect", IntegerList, NULL, effect );
END_SPREFS_CAT; END_SPREFS_CAT;
......
...@@ -22,23 +22,6 @@ ...@@ -22,23 +22,6 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item row="0" column="1" >
<widget class="QLineEdit" name="preferedLanguage" />
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Subtitles prefered language</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Default Encoding</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2" > <item row="2" column="0" colspan="2" >
<widget class="QGroupBox" name="groupBox" > <widget class="QGroupBox" name="groupBox" >
<property name="title" > <property name="title" >
...@@ -51,16 +34,13 @@ ...@@ -51,16 +34,13 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item row="0" column="1" > <item row="3" column="1" colspan="2" >
<widget class="QLineEdit" name="font" /> <widget class="QComboBox" name="effect" />
</item>
<item row="1" column="1" colspan="2" >
<widget class="QComboBox" name="fontSize" />
</item> </item>
<item row="0" column="2" > <item row="3" column="0" >
<widget class="QPushButton" name="fontBrowse" > <widget class="QLabel" name="label_6" >
<property name="text" > <property name="text" >
<string>Browse</string> <string>Effect</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -74,6 +54,9 @@ ...@@ -74,6 +54,9 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1" colspan="2" >
<widget class="QComboBox" name="fontSize" />
</item>
<item row="1" column="0" > <item row="1" column="0" >
<widget class="QLabel" name="label_3" > <widget class="QLabel" name="label_3" >
<property name="text" > <property name="text" >
...@@ -81,6 +64,16 @@ ...@@ -81,6 +64,16 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2" >
<widget class="QPushButton" name="fontBrowse" >
<property name="text" >
<string>Browse</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="font" />
</item>
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label_5" > <widget class="QLabel" name="label_5" >
<property name="text" > <property name="text" >
...@@ -94,6 +87,23 @@ ...@@ -94,6 +87,23 @@
<item row="1" column="1" > <item row="1" column="1" >
<widget class="QComboBox" name="encoding" /> <widget class="QComboBox" name="encoding" />
</item> </item>
<item row="1" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Default Encoding</string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Subtitles prefered language</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="preferedLanguage" />
</item>
</layout> </layout>
</widget> </widget>
<pixmapfunction></pixmapfunction> <pixmapfunction></pixmapfunction>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment