Commit 874f69d5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: SPrefs, add a record path configuration option.

parent 2acdb2a6
...@@ -386,6 +386,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -386,6 +386,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
free( psz_dvddiscpath ); free( psz_dvddiscpath );
free( psz_vcddiscpath ); 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, CONFIG_GENERIC_NO_BOOL( "server-port", Integer, ui.portLabel,
UDPPort ); UDPPort );
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>616</width> <width>622</width>
<height>480</height> <height>514</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
...@@ -41,6 +41,23 @@ ...@@ -41,6 +41,23 @@
</property> </property>
</widget> </widget>
</item> </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> </layout>
</widget> </widget>
</item> </item>
......
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