Commit 8c2137e3 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: add options for later choice of columns in playlist.

parent 9d957376
...@@ -69,6 +69,9 @@ static void ShowDialog ( intf_thread_t *, int, int, intf_dialog_args_t * ); ...@@ -69,6 +69,9 @@ static void ShowDialog ( intf_thread_t *, int, int, intf_dialog_args_t * );
#define ADVANCED_OPTIONS_LONGTEXT N_("Activate by default all the" \ #define ADVANCED_OPTIONS_LONGTEXT N_("Activate by default all the" \
"Advanced options for geeks") "Advanced options for geeks")
#define SHOWFLAGS_TEXT N_("Define what titles to show in playlist window")
#define SHOWFLAGS_LONGTEXT N_(" ")
vlc_module_begin(); vlc_module_begin();
set_shortname( (char *)"Qt" ); set_shortname( (char *)"Qt" );
set_description( (char*)_("Qt interface") ); set_description( (char*)_("Qt interface") );
...@@ -99,6 +102,11 @@ vlc_module_begin(); ...@@ -99,6 +102,11 @@ vlc_module_begin();
change_internal(); change_internal();
add_bool( "qt-adv-options", VLC_FALSE, NULL, ADVANCED_OPTIONS_TEXT, add_bool( "qt-adv-options", VLC_FALSE, NULL, ADVANCED_OPTIONS_TEXT,
ADVANCED_OPTIONS_LONGTEXT, VLC_TRUE ); ADVANCED_OPTIONS_LONGTEXT, VLC_TRUE );
add_integer( "qt-pl-showflags",
VLC_META_ENGINE_ARTIST|VLC_META_ENGINE_TITLE|
VLC_META_ENGINE_DURATION|VLC_META_ENGINE_COLLECTION,
NULL, SHOWFLAGS_TEXT,
SHOWFLAGS_LONGTEXT, VLC_TRUE );
set_callbacks( OpenDialogs, Close ); set_callbacks( OpenDialogs, Close );
vlc_module_end(); vlc_module_end();
......
...@@ -30,6 +30,11 @@ ...@@ -30,6 +30,11 @@
#include <QEvent> #include <QEvent>
/* Add define for duration, VLC_META_ENGINE doesn't include it */
#define VLC_META_ENGINE_DURATION 0x00000002
#define VLC_META_DURATION N_("Duration")
class QApplication; class QApplication;
class QMenu; class QMenu;
class MainInterface; class MainInterface;
......
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