* Authors: Clément Stenac <zorglub@videolan.org>
* Antoine Cellerier <dionoea@videolan.org>
* Jean-Baptiste Kempf <jb@videolan.org>
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
CONFIG_GENERIC( "aout" , Module , NULL, outputModule );
#ifndef WIN32
CONFIG_GENERIC( "alsadev" , StringList , NULL, alsaDevice );
- CONFIG_GENERIC( "dspdev" , String , NULL, OSSDevice );//FIXME File
+ CONFIG_GENERIC( "dspdev" , String , NULL, OSSDevice );
+ //FIXME File
#else
CONFIG_GENERIC( "directx-audio-device" , IntegerList, NULL,
DirectXDevice );
#endif
- CONFIG_GENERIC( "audiofile-file" , String , NULL, FileName ); //Fixme File
+ CONFIG_GENERIC( "audiofile-file" , String , NULL, FileName );
+ //Fixme File
CONFIG_GENERIC( "headphone-dolby" , Bool , NULL, headphoneEffect );
// CONFIG_GENERIC( "" , Bool, NULL, ); activation of normalizer
START_SPREFS_CAT( Interface, "Interfaces settings" );
CONFIG_GENERIC( "language", StringList, NULL, language );
+ /* interface */
+/* p_config = config_FindConfig( VLC_OBJECT(p_intf), "intf" );
+ if( p_config->value.psz && strcmp( p_config->value.psz, "qt4" ))
+ ui.qt4->setChecked( true );
+ if( p_config->value.psz && strcmp( p_config->value.psz, "skins2" ))
+ ui.skins->setChecked( true );*/
/* CONFIG_GENERIC( "intf", Module, NULL, ??? ); */ //FIXME interface choice
- CONFIG_GENERIC ("one-instance", Bool, NULL, OneInterfaceMode );
- CONFIG_GENERIC ("playlist-enqueue", Bool, NULL,
+ CONFIG_GENERIC( "qt-always-video", Bool, NULL, qtAlwaysVideo );
+ CONFIG_GENERIC( "skins2-last", String, NULL, fileSkin);
+ //FIXME File
+ CONFIG_GENERIC( "one-instance", Bool, NULL, OneInterfaceMode );
+ CONFIG_GENERIC( "playlist-enqueue", Bool, NULL,
EnqueueOneInterfaceMode );
END_SPREFS_CAT;
CONFIG_GENERIC( "subsdec-encoding", StringList, NULL, encoding );
CONFIG_GENERIC( "sub-language", String, NULL, preferredLanguage );
- CONFIG_GENERIC( "freetype-font", String, NULL, font ); /* FIXME -> use file instead of string */
+ CONFIG_GENERIC( "freetype-font", String, NULL, font );
+ /* FIXME -> use file instead of string */
CONFIG_GENERIC( "freetype-color", IntegerList, NULL, fontColor );
CONFIG_GENERIC( "freetype-rel-fontsize", IntegerList, NULL,
fontSize );
<rect>
<x>0</x>
<y>0</y>
- <width>400</width>
- <height>297</height>
+ <width>440</width>
+ <height>373</height>
</rect>
</property>
<property name="windowTitle" >
<property name="spacing" >
<number>6</number>
</property>
- <item row="2" column="0" colspan="2" >
- <widget class="QGroupBox" name="groupBox_2" >
+ <item row="1" column="0" colspan="2" >
+ <widget class="QGroupBox" name="groupBox" >
<property name="title" >
- <string>Instances</string>
+ <string>Default Interface</string>
</property>
- <layout class="QVBoxLayout" >
+ <layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
- <item>
- <widget class="QCheckBox" name="OneInterfaceMode" >
+ <item row="5" column="2" >
+ <widget class="QPushButton" name="skinBrowse" >
<property name="text" >
- <string>Allow only one interface</string>
+ <string>Browse</string>
</property>
</widget>
</item>
- <item>
- <widget class="QCheckBox" name="EnqueueOneInterfaceMode" >
- <property name="text" >
- <string>Enqueue files in playlist when in one interface mode</string>
- </property>
- </widget>
+ <item row="5" column="1" >
+ <widget class="QLineEdit" name="fileSkin" />
</item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0" colspan="2" >
- <widget class="QGroupBox" name="groupBox" >
- <property name="title" >
- <string>Default Interface</string>
- </property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="3" column="0" colspan="2" >
+ <item row="4" column="1" colspan="2" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This is VLC's skinnable interface. You can download skins on <a href="http://www.videolan.org/"><span style=" text-decoration: underline; color:#0000ff;">http://www.videolan.org/vlc/skins.php</span></a> to customize your player.</p></body></html></string>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">This is VLC's skinnable interface. You can download skins on </span><a href="http://www.videolan.org/"><span style=" font-style:italic; text-decoration: underline; color:#0000ff;">http://www.videolan.org/vlc/skins.php</span></a><span style=" font-style:italic;"> to customize your player.</span></p></body></html></string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
</widget>
</item>
- <item row="1" column="0" colspan="2" >
+ <item row="1" column="1" colspan="2" >
<widget class="QLabel" name="label_2" >
<property name="text" >
- <string>VLC's default interface, with native look and feel</string>
+ <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">VLC's default interface, with native look and feel</span></p></body></html></string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
</widget>
</item>
- <item row="2" column="0" >
+ <item row="0" column="0" colspan="2" >
+ <widget class="QRadioButton" name="qt4" >
+ <property name="text" >
+ <string>Default</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0" >
+ <widget class="QLabel" name="label_4" >
+ <property name="text" >
+ <string>Skin File</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0" colspan="2" >
<widget class="QRadioButton" name="skins" >
<property name="text" >
<string>Skins</string>
</property>
</widget>
</item>
- <item row="0" column="0" >
- <widget class="QRadioButton" name="qt4" >
+ <item row="2" column="1" >
+ <widget class="QCheckBox" name="qtAlwaysVideo" >
<property name="text" >
- <string>Default</string>
+ <string>Display always the video</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="2" column="0" colspan="2" >
+ <widget class="QGroupBox" name="groupBox_2" >
+ <property name="title" >
+ <string>Instances</string>
+ </property>
+ <layout class="QVBoxLayout" >
+ <property name="margin" >
+ <number>9</number>
+ </property>
+ <property name="spacing" >
+ <number>6</number>
+ </property>
+ <item>
+ <widget class="QCheckBox" name="OneInterfaceMode" >
+ <property name="text" >
+ <string>Allow only one interface</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="EnqueueOneInterfaceMode" >
+ <property name="text" >
+ <string>Enqueue files in playlist when in one interface mode</string>
</property>
</widget>
</item>