NoteWidgetController Class Reference
Controller for NoteWidget. More...
#include <notewidgetcontroller.h>
Inheritance diagram for NoteWidgetController:

Public Member Functions | |
| NoteWidgetController (NoteWidget *noteWidget) | |
| Constructor for NoteWidgetController. | |
| virtual | ~NoteWidgetController () |
| Destructor for NoteWidgetController. | |
| virtual void | mouseMoveEvent (QMouseEvent *me) |
| Overriden from UMLWidgetController. | |
| virtual void | mouseReleaseEvent (QMouseEvent *me) |
| Overriden from UMLWidgetController. | |
Protected Member Functions | |
| virtual void | doMouseDoubleClick (QMouseEvent *me) |
| Overriden from UMLWidgetController. | |
Detailed Description
Controller for NoteWidget.MouseMove and MouseRelease execute the base code and then specific code for note widget.
Double click behaviour is edit the text of the note.
- Author:
- Umbrello UML Modeller Authors <uml-devel@lists.sourceforge.net>
Definition at line 29 of file notewidgetcontroller.h.
Constructor & Destructor Documentation
|
|
Constructor for NoteWidgetController.
Definition at line 19 of file notewidgetcontroller.cpp. |
|
|
Destructor for NoteWidgetController.
Definition at line 24 of file notewidgetcontroller.cpp. |
Member Function Documentation
|
|
Overriden from UMLWidgetController. Handles a mouse move event. Executes base code and then sets the geometry of the editor.
Reimplemented from UMLWidgetController. Definition at line 27 of file notewidgetcontroller.cpp. References UMLWidgetController::mouseMoveEvent(), and NoteWidget::setEditorGeometry(). |
|
|
Overriden from UMLWidgetController. Handles a mouse release event. Executes base code and then draws the text in the note.
Reimplemented from UMLWidgetController. Definition at line 32 of file notewidgetcontroller.cpp. References NoteWidget::drawText(), and UMLWidgetController::mouseReleaseEvent(). |
|
|
Overriden from UMLWidgetController. Executes the action for double click in the widget. Shows the dialog to change the text of the note.
Reimplemented from UMLWidgetController. Definition at line 41 of file notewidgetcontroller.cpp. References UMLDoc::changeCurrentView(), UMLApp::getDocument(), NoteWidget::m_DiagramLink, and NoteWidget::slotMenuSelection(). |
The documentation for this class was generated from the following files:
