#include <vlc_config_cat.h>
#include <assert.h>
-//TODO Rename all advanced to hotkeys since they will be no advanced section
-#include "pixmaps/advanced_50x50.xpm"
+#include "pixmaps/hotkeys_50x50.xpm"
#include "pixmaps/audio_50x50.xpm"
#include "pixmaps/input_and_codecs_50x50.xpm"
#include "pixmaps/interface_50x50.xpm"
#include "ui/sprefs_input.h"
#include "ui/sprefs_video.h"
#include "ui/sprefs_subtitles.h"
+#include "ui/sprefs_hotkeys.h"
//#include "ui/sprefs_playlist.h"
#include "ui/sprefs_interface.h"
// ADD_CATEGORY( SPrefsPlaylist, qtr("Playlist"), playlist_50x50_xpm );
ADD_CATEGORY( SPrefsInterface, qtr("Interface"), interface_50x50_xpm );
ADD_CATEGORY( SPrefsSubtitles, qtr("Subtitles"), subtitles_50x50_xpm );
- ADD_CATEGORY( SPrefsAdvanced, qtr("Hotkeys"), advanced_50x50_xpm );
+ ADD_CATEGORY( SPrefsHotkeys, qtr("Hotkeys"), hotkeys_50x50_xpm );
setCurrentRow( SPrefsInterface );
}
END_SPREFS_CAT;
- case SPrefsAdvanced: break;
- }
+ START_SPREFS_CAT( Hotkeys );
+ END_SPREFS_CAT;
+ }
}
void SPrefsPanel::apply()
--- /dev/null
+<ui version="4.0" >
+ <author>Jean-Baptiste Kempf</author>
+ <class>SPrefsHotkeys</class>
+ <widget class="QWidget" name="SPrefsVideo" >
+ <property name="geometry" >
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>426</width>
+ <height>474</height>
+ </rect>
+ </property>
+ <property name="windowTitle" >
+ <string>Form</string>
+ </property>
+ <layout class="QGridLayout" >
+ <property name="margin" >
+ <number>9</number>
+ </property>
+ <property name="spacing" >
+ <number>6</number>
+ </property>
+ <item row="2" column="1" >
+ <widget class="QLineEdit" name="shortcutValue" >
+ <property name="inputMask" >
+ <string/>
+ </property>
+ <property name="text" >
+ <string>Customize here</string>
+ </property>
+ <property name="echoMode" >
+ <enum>QLineEdit::Normal</enum>
+ </property>
+ <property name="readOnly" >
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" >
+ <widget class="QPushButton" name="customizeShortcut" >
+ <property name="text" >
+ <string>Customize</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0" colspan="2" >
+ <widget class="QTreeWidget" name="shortcutsTree" >
+ <property name="columnCount" >
+ <number>2</number>
+ </property>
+ <column>
+ <property name="text" >
+ <string>Action</string>
+ </property>
+ </column>
+ <column>
+ <property name="text" >
+ <string>Shortcut</string>
+ </property>
+ </column>
+ </widget>
+ </item>
+ <item row="0" column="0" >
+ <widget class="QLabel" name="label" >
+ <property name="text" >
+ <string>Search</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1" >
+ <widget class="QLineEdit" name="actionSearch" />
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>