diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-02-16 16:23:39 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-02-16 16:23:39 +0000 |
| commit | 283814627de1f7e755c89b6bf1caa75589a05d16 (patch) | |
| tree | 640c34c16c2f120ab04da8b4156c0f45d4493f0a /src/plugins/Visual/projectm/projectmwidget.h | |
| parent | 38a7f395a5598e1207b0a411bdc04638bb022f36 (diff) | |
| download | qmmp-283814627de1f7e755c89b6bf1caa75589a05d16.tar.gz qmmp-283814627de1f7e755c89b6bf1caa75589a05d16.tar.bz2 qmmp-283814627de1f7e755c89b6bf1caa75589a05d16.zip | |
projectm: added menu
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4096 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Visual/projectm/projectmwidget.h')
| -rw-r--r-- | src/plugins/Visual/projectm/projectmwidget.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/plugins/Visual/projectm/projectmwidget.h b/src/plugins/Visual/projectm/projectmwidget.h index 0e9500e37..f2597ea1b 100644 --- a/src/plugins/Visual/projectm/projectmwidget.h +++ b/src/plugins/Visual/projectm/projectmwidget.h @@ -22,13 +22,12 @@ #include <QGLWidget> - class QMenu; class QTimer; +class QListWidget; +class ProjectMWrapper; class projectM; - - /** @author Ilya Kotov <forkotov02@hotmail.ru> */ @@ -36,12 +35,15 @@ class ProjectMWidget : public QGLWidget { Q_OBJECT public: - ProjectMWidget(QWidget *parent = 0); + ProjectMWidget(QListWidget *listWidget, QWidget *parent = 0); ~ProjectMWidget(); projectM *projectMInstance(); +signals: + void showMenuToggled(bool); + protected: virtual void initializeGL(); virtual void resizeGL(int width, int height); @@ -55,15 +57,17 @@ private slots: void nextPreset(); void previousPreset(); void randomPreset(); - void lockPreset(); + void lockPreset(bool lock); void fullScreen(); void updateTitle(); + void setCurrentRow(int row); private: void createActions(); - projectM *m_projectM; + ProjectMWrapper *m_projectM; QMenu *m_menu; QTimer *m_timer; + QListWidget *m_listWidget; }; #endif |
