umbrello/umbrello
notewidget.h
Go to the documentation of this file.
48 virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
static NoteType stringToNoteType(const QString ¬eType)
Converts a string to NoteWidget::NoteType.
Definition: notewidget.cpp:118
virtual bool loadFromXMI(QDomElement &qElement)
Loads a "notewidget" XMI element.
Definition: notewidget.cpp:200
void slotMenuSelection(QAction *action)
Will be called when a menu selection has been made from the popup menu.
Definition: notewidget.cpp:250
Displays a note box to allow multiple lines of text to be displayed.
Definition: notewidget.h:30
void setDiagramLink(Uml::ID::Type viewID)
Set the ID of the diagram hyperlinked to this note.
Definition: notewidget.cpp:163
Definition: notewidget.h:39
Uml::ID::Type diagramLink() const
Return the ID of the diagram hyperlinked to this note.
Definition: notewidget.cpp:152
virtual void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Saves to the "notewidget" XMI element.
Definition: notewidget.cpp:217
Definition: notewidget.h:41
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Override default method.
Definition: notewidget.cpp:58
Definition: notewidget.h:38
Definition: notewidget.h:40
NoteWidget(UMLScene *scene, NoteWidget::NoteType noteType=Normal, Uml::ID::Type id=Uml::ID::None)
Constructs a NoteWidget.
Definition: notewidget.cpp:40
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
Event handler for moude double click events.
Definition: notewidget.cpp:494
void askForNoteType(UMLWidget *&targetWidget)
Display a dialog box to allow the user to choose the note's type.
Definition: notewidget.cpp:179
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.