Qt4 - Have a slider to control precisely the rate, usefull since we can here audio...
[vlc.git] / modules / gui / qt4 / components / interface_widgets.hpp
index 2ac1b59..a42a63a 100644 (file)
@@ -233,4 +233,23 @@ signals:
     void artSet( QString );
 };
 
+
+/******************** Speed Control Widgets ****************/
+class SpeedControlWidget : public QFrame
+{
+    Q_OBJECT
+public:
+    SpeedControlWidget( intf_thread_t *);
+    virtual ~SpeedControlWidget();
+    void updateControls( int );
+private:
+    intf_thread_t *p_intf;
+    QSlider *speedSlider;
+    QPushButton *normalSpeedButton;
+private slots:
+    void updateRate( int );
+    void resetRate();
+};
+
+
 #endif