aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/covermanager/coverwidget.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-01-11 10:52:54 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-01-11 10:52:54 +0000
commitfc75b7cd788d5afd973bf2cc6e7af15050c5de00 (patch)
tree78b32d2a22b3a3d375a71d9d89f6ea72e18fcc6f /src/plugins/General/covermanager/coverwidget.h
parentbe65205e6187b5f4572b7531e2128f75c18ff353 (diff)
downloadqmmp-fc75b7cd788d5afd973bf2cc6e7af15050c5de00.tar.gz
qmmp-fc75b7cd788d5afd973bf2cc6e7af15050c5de00.tar.bz2
qmmp-fc75b7cd788d5afd973bf2cc6e7af15050c5de00.zip
improved cover manager
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1497 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/covermanager/coverwidget.h')
-rw-r--r--src/plugins/General/covermanager/coverwidget.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/plugins/General/covermanager/coverwidget.h b/src/plugins/General/covermanager/coverwidget.h
index b06e66f7e..e8a71a91c 100644
--- a/src/plugins/General/covermanager/coverwidget.h
+++ b/src/plugins/General/covermanager/coverwidget.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2010 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -23,6 +23,9 @@
#include <QWidget>
#include <QPixmap>
+class QMenu;
+class QMouseEvent;
+
/**
@author Ilya Kotov <forkotov02@hotmail.ru>
*/
@@ -39,12 +42,16 @@ public:
protected:
void paintEvent (QPaintEvent *event);
+ void mousePressEvent (QMouseEvent * event);
-private:
- QPixmap m_pixmap;
-
-
+private slots:
+ void saveAs();
+ void processResizeAction(QAction *action);
+private:
+ QPixmap m_pixmap;
+ QMenu *m_menu;
+ int m_size;
};
#endif