Commit 9a617608 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

Add UI for KVA

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 088684bb
......@@ -233,6 +233,13 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui.hwYUVBox->setVisible( false );
#endif
#ifdef __OS2__
CONFIG_BOOL( "kva-fixt23", kvaFixT23 );
CONFIG_GENERIC( "kva-video-mode", StringList, ui.kvaVideoModeLabel,
kvaVideoMode );
#else
ui.kvaBox->setVisible( false );
#endif
CONFIG_GENERIC( "deinterlace", IntegerList, ui.deinterLabel, deinterlaceBox );
CONFIG_GENERIC( "deinterlace-mode", StringList, ui.deinterModeLabel, deinterlaceModeBox );
......
......@@ -133,6 +133,41 @@
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="kvaBox" >
<property name="title" >
<string>KVA</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="1" colspan="2" >
<widget class="QComboBox" name="kvaVideoMode" />
</item>
<item row="1" column="0" >
<widget class="QLabel" name="kvaVideoModeLabel" >
<property name="text" >
<string>Video mode</string>
</property>
<property name="buddy" >
<cstring>kvaVideoMode</cstring>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2" >
<widget class="QCheckBox" name="kvaFixT23" >
<property name="text" >
<string>Enable a workaround for T23</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
......@@ -301,6 +336,8 @@
<tabstop>outputModule</tabstop>
<tabstop>wallpaperMode</tabstop>
<tabstop>dXdisplayDevice</tabstop>
<tabstop>kvaFixT23</tabstop>
<tabstop>kvaVideoMode</tabstop>
<tabstop>deinterlaceBox</tabstop>
<tabstop>deinterlaceModeBox</tabstop>
<tabstop>arLine</tabstop>
......
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