Commit caafebf4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

[Qt] Add deinterlacing and AR in video tab in Simple Preferences.

parent f3778cbb
...@@ -199,6 +199,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -199,6 +199,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui.hwYUVBox->setVisible( false ); ui.hwYUVBox->setVisible( false );
#endif #endif
CONFIG_GENERIC( "deinterlace-mode", StringList, NULL, deinterlaceBox );
CONFIG_GENERIC( "aspect-ratio", String, NULL, arLine );
CONFIG_GENERIC_FILE( "snapshot-path", Directory, NULL, CONFIG_GENERIC_FILE( "snapshot-path", Directory, NULL,
ui.snapshotsDirectory, ui.snapshotsDirectoryBrowse ); ui.snapshotsDirectory, ui.snapshotsDirectoryBrowse );
CONFIG_GENERIC( "snapshot-prefix", String, NULL, snapshotsPrefix ); CONFIG_GENERIC( "snapshot-prefix", String, NULL, snapshotsPrefix );
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>482</width> <width>647</width>
<height>516</height> <height>682</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
...@@ -144,6 +144,35 @@ ...@@ -144,6 +144,35 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<widget class="QGroupBox" name="groupBox_2" >
<property name="title" >
<string>_("Video")</string>
</property>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="1" >
<widget class="QComboBox" name="deinterlaceBox" />
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<string>_("Deinterlacing Mode")</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_7" >
<property name="text" >
<string>_("Force Aspect Ratio")</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="arLine" />
</item>
</layout>
</widget>
</item>
<item> <item>
<widget class="QGroupBox" name="groupBox" > <widget class="QGroupBox" name="groupBox" >
<property name="title" > <property name="title" >
......
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