notewidgetcontroller.h
00001 /*************************************************************************** 00002 * * 00003 * This program is free software; you can redistribute it and/or modify * 00004 * it under the terms of the GNU General Public License as published by * 00005 * the Free Software Foundation; either version 2 of the License, or * 00006 * (at your option) any later version. * 00007 * * 00008 * copyright (C) 2006 * 00009 * Umbrello UML Modeller Authors <uml-devel@uml.sf.net> * 00010 ***************************************************************************/ 00011 00012 #ifndef NOTEWIDGETCONTROLLER_H 00013 #define NOTEWIDGETCONTROLLER_H 00014 00015 #include "umlwidgetcontroller.h" 00016 00017 class NoteWidget; 00018 00029 class NoteWidgetController : public UMLWidgetController { 00030 public: 00031 00037 NoteWidgetController(NoteWidget* noteWidget); 00038 00042 virtual ~NoteWidgetController(); 00043 00051 virtual void mouseMoveEvent(QMouseEvent* me); 00052 00060 virtual void mouseReleaseEvent(QMouseEvent * me); 00061 00062 protected: 00063 00071 virtual void doMouseDoubleClick(QMouseEvent *me); 00072 00073 private: 00074 00078 NoteWidget* m_noteWidget; 00079 }; 00080 00081 #endif
