From fc75b7cd788d5afd973bf2cc6e7af15050c5de00 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 11 Jan 2010 10:52:54 +0000 Subject: improved cover manager git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1497 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/covermanager/coverwidget.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'src/plugins/General/covermanager/coverwidget.h') 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 #include +class QMenu; +class QMouseEvent; + /** @author Ilya Kotov */ @@ -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 -- cgit v1.2.3-13-gbd6f