Commit 176691a4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Reorganize the SPrefs categories :

Interface , Audio, Video, Subtiltes, Input, Hotkeys.
And I still can't center those icons !!!
parent ee16e6bf
...@@ -70,14 +70,14 @@ SPrefsCatList::SPrefsCatList( intf_thread_t *_p_intf, QWidget *_parent ) : ...@@ -70,14 +70,14 @@ SPrefsCatList::SPrefsCatList( intf_thread_t *_p_intf, QWidget *_parent ) :
item( id )->setData( Qt::UserRole, qVariantFromValue( (int)id ) ); \ item( id )->setData( Qt::UserRole, qVariantFromValue( (int)id ) ); \
item( id )->setFlags( Qt::ItemIsSelectable | Qt::ItemIsEnabled ); item( id )->setFlags( Qt::ItemIsSelectable | Qt::ItemIsEnabled );
ADD_CATEGORY( SPrefsVideo, qtr("Video"), spref_cone_Video_64.png );
ADD_CATEGORY( SPrefsAudio, qtr("Audio"), spref_cone_Audio_64.png );
ADD_CATEGORY( SPrefsInputAndCodecs, qtr("Input and Codecs"),
spref_cone_Input_64.png );
ADD_CATEGORY( SPrefsInterface, qtr("Interface"), ADD_CATEGORY( SPrefsInterface, qtr("Interface"),
spref_cone_Interface_64.png ); spref_cone_Interface_64.png );
ADD_CATEGORY( SPrefsAudio, qtr("Audio"), spref_cone_Audio_64.png );
ADD_CATEGORY( SPrefsVideo, qtr("Video"), spref_cone_Video_64.png );
ADD_CATEGORY( SPrefsSubtitles, qtr("Subtitles"), ADD_CATEGORY( SPrefsSubtitles, qtr("Subtitles"),
spref_cone_Subtitles_64.png ); spref_cone_Subtitles_64.png );
ADD_CATEGORY( SPrefsInputAndCodecs, qtr("Input and Codecs"),
spref_cone_Input_64.png );
ADD_CATEGORY( SPrefsHotkeys, qtr("Hotkeys"), spref_cone_Hotkeys_64.png ); ADD_CATEGORY( SPrefsHotkeys, qtr("Hotkeys"), spref_cone_Hotkeys_64.png );
setCurrentRow( SPrefsInterface ); setCurrentRow( SPrefsInterface );
......
...@@ -29,11 +29,11 @@ ...@@ -29,11 +29,11 @@
#include <vlc_interface.h> #include <vlc_interface.h>
enum { enum {
SPrefsVideo = 0, SPrefsInterface = 0,
SPrefsAudio, SPrefsAudio,
SPrefsInputAndCodecs, SPrefsVideo,
SPrefsInterface,
SPrefsSubtitles, SPrefsSubtitles,
SPrefsInputAndCodecs,
SPrefsHotkeys, SPrefsHotkeys,
SPrefsMax SPrefsMax
}; };
......
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