#define _INTFWIDGETS_H_
#include <vlc/vlc.h>
-#include <vlc/intf.h>
+#include <vlc_interface.h>
+
+#include "qt4.hpp"
+
#include <QWidget>
#include <QFrame>
#include <QPalette>
virtual ~VisualSelector();
private:
intf_thread_t *p_intf;
+ QLabel *current;
+private slots:
+ void prev();
+ void next();
};
-/******************** Playlist Widget ****************/
+class QPushButton;
+class ControlsWidget : public QFrame
+{
+ Q_OBJECT
+public:
+ ControlsWidget( intf_thread_t *);
+ virtual ~ControlsWidget();
+ void enableInput( bool );
+ void enableVideo( bool );
+private:
+ intf_thread_t *p_intf;
+ QPushButton *slowerButton, *normalButton, *fasterButton;
+ QPushButton *fullscreenButton, *snapshotButton;
+private slots:
+ void faster();
+ void slower();
+ void normal();
+ void snapshot();
+ void fullscreen();
+};
+
+
+/******************** Playlist Widgets ****************/
#include <QModelIndex>
class QSignalMapper;
class PLSelector;
class PLPanel;
+class QPushButton;
-class PlaylistWidget : public QFrame
+class PlaylistWidget : public BasePlaylistWidget
{
Q_OBJECT;
public:
private:
PLSelector *selector;
PLPanel *rightPanel;
- intf_thread_t *p_intf;
+ QPushButton *addButton;
+ QLabel *art;
+ QString prevArt;
+private slots:
+ void setArt( QString );
+signals:
+ void rootChanged( int );
};
#endif