[vlc-devel] commit: Qt: SPrefs, add a record path configuration option. ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri May 1 17:20:49 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri May 1 17:20:16 2009 +0200| [874f69d5abe13479142485636ec2dac68d09b8c9] | committer: Jean-Baptiste Kempf
Qt: SPrefs, add a record path configuration option.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=874f69d5abe13479142485636ec2dac68d09b8c9
---
modules/gui/qt4/components/simple_preferences.cpp | 2 ++
modules/gui/qt4/ui/sprefs_input.ui | 21 +++++++++++++++++++--
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 21f63e6..4a3b369 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -386,6 +386,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
free( psz_dvddiscpath );
free( psz_vcddiscpath );
}
+ CONFIG_GENERIC_FILE( "input-record-path", Directory, ui.recordLabel,
+ ui.recordPath, ui.recordBrowse );
CONFIG_GENERIC_NO_BOOL( "server-port", Integer, ui.portLabel,
UDPPort );
diff --git a/modules/gui/qt4/ui/sprefs_input.ui b/modules/gui/qt4/ui/sprefs_input.ui
index a48c85c..c266392 100644
--- a/modules/gui/qt4/ui/sprefs_input.ui
+++ b/modules/gui/qt4/ui/sprefs_input.ui
@@ -7,8 +7,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>616</width>
- <height>480</height>
+ <width>622</width>
+ <height>514</height>
</rect>
</property>
<property name="windowTitle">
@@ -41,6 +41,23 @@
</property>
</widget>
</item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="recordLabel">
+ <property name="text">
+ <string>Record directory or filename</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="recordPath"/>
+ </item>
+ <item row="1" column="2">
+ <widget class="QPushButton" name="recordBrowse">
+ <property name="text">
+ <string>Browse...</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>
More information about the vlc-devel
mailing list