]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/preferences_widgets.hpp
* qt: add a FontConfigControl
[vlc] / modules / gui / qt4 / components / preferences_widgets.hpp
index d27d7f16fc1e5883d0c13b3fc22d7805995cb0c2..76e5b5b5f3760b333de478b13edc24b29c604447 100644 (file)
@@ -266,9 +266,9 @@ class FileConfigControl : public VStringConfigControl
     Q_OBJECT;
 public:
     FileConfigControl( vlc_object_t *, module_config_t *, QWidget *,
-                         QGridLayout *, int&, bool pwd );
+                       QGridLayout *, int&, bool pwd );
     FileConfigControl( vlc_object_t *, module_config_t *, QLabel *,
-                        QLineEdit *, QPushButton *, bool pwd );
+                       QLineEdit *, QPushButton *, bool pwd );
     virtual ~FileConfigControl() {};
     virtual QString getValue() { return text->text(); };
     virtual void show() { text->show(); label->show(); browse->show(); }
@@ -287,14 +287,27 @@ class DirectoryConfigControl : public FileConfigControl
     Q_OBJECT;
 public:
     DirectoryConfigControl( vlc_object_t *, module_config_t *, QWidget *,
-                         QGridLayout *, int&, bool pwd );
+                            QGridLayout *, int&, bool pwd );
     DirectoryConfigControl( vlc_object_t *, module_config_t *, QLabel *,
-                        QLineEdit *, QPushButton *, bool pwd );
+                            QLineEdit *, QPushButton *, bool pwd );
     virtual ~DirectoryConfigControl() {};
 public slots:
     virtual void updateField();
 };
 
+class FontConfigControl : public FileConfigControl
+{
+    Q_OBJECT;
+public:
+    FontConfigControl( vlc_object_t *, module_config_t *, QWidget *,
+                       QGridLayout *, int&, bool pwd );
+    FontConfigControl( vlc_object_t *, module_config_t *, QLabel *,
+                       QLineEdit *, QPushButton *, bool pwd );
+    virtual ~FontConfigControl() {};
+public slots:
+    virtual void updateField();
+};
+
 class ModuleConfigControl : public VStringConfigControl
 {
 public: