X-Git-Url: http://git.maemo.org/git/?p=groove;a=blobdiff_plain;f=bottombar.h;h=175fe9b3e6ca8e4510343c32db32143bec608ffc;hp=cb80599e9d670f5ae90c5308bb7e2958910c2123;hb=4adbefb36e52cb33564e704d8ea6a49425db8caf;hpb=a8bf5223d571ba94c0c4ce4e36b1bc2e7c5a81f0;ds=sidebyside diff --git a/bottombar.h b/bottombar.h index cb80599..175fe9b 100644 --- a/bottombar.h +++ b/bottombar.h @@ -3,6 +3,8 @@ #include #include +#include +#include namespace Ui { class bottomBar; @@ -15,15 +17,25 @@ class bottomBar : public QWidget public: explicit bottomBar(QWidget *parent = 0); ~bottomBar(); +public slots: + void setPlaybackProgress(int min,int max); signals: void addB(); + void nextB(); + void pause(); + void back(); protected: void changeEvent(QEvent *e); private slots: void on_addButton_clicked(); + void on_nextB_clicked(); + void on_pauseB_clicked(); + void on_backB_clicked(); private: Ui::bottomBar *ui; + QGraphicsRectItem *playbackProgress; + QGraphicsScene *main; }; #endif // BOTTOMBAR_H