]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/simple_preferences.hpp
Qt4 - Using already defined configuration type. This is needed for finer control...
[vlc] / modules / gui / qt4 / components / simple_preferences.hpp
index 8285c805c912d1837298678518133cb25f1f6ecd..004737e83f9eacfca48af5441e04297eb5080a75 100644 (file)
 #include <vlc_interface.h>
 #include <QWidget>
 
+#include "ui/sprefs_input.h"
+#include "ui/sprefs_audio.h"
+#include "ui/sprefs_video.h"
+#include "ui/sprefs_subtitles.h"
+#include "ui/sprefs_interface.h"
+
 enum {
     SPrefsInterface = 0,
     SPrefsAudio,
@@ -39,10 +45,25 @@ enum {
 };
 #define SPrefsDefaultCat SPrefsInterface
 
+enum {
+    CachingCustom = 0,
+    CachingLowest = 100,
+    CachingLow = 200,
+    CachingNormal = 300,
+    CachingHigh = 400,
+    CachingHigher = 500
+};
+
+enum { alsaW = 0, ossW, directxW, fileW, audioOutCoB, normalizerChB };
+enum { recordChB, dumpChB, bandwidthChB, timeshiftChB, inputLE, cachingCoB };
+enum { skinRB, qtRB };
+
 class ConfigControl;
 class QComboBox;
 class QLineEdit;
 class QRadioButton;
+class QCheckBox;
+class QString;
 
 class SPrefsCatList : public QWidget
 {
@@ -72,14 +93,8 @@ private:
 
     int number;
 
-    QWidget *alsa_options;
-    QWidget *oss_options;
-    QWidget *directx_options;
-    QWidget *file_options;
-    QComboBox *audioOutput;
-    QLineEdit *inputDevice;
-    QRadioButton *skinInterfaceButton;
-    QRadioButton *qtInterfaceButton;
+    QList<QWidget *> optionWidgets;
+    QString qs_filter;
 
 /* Display only the options for the selected audio output */
 private slots: