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:119
virtual bool loadFromXMI(QDomElement &qElement)
Loads a "notewidget" XMI element.
Definition: notewidget.cpp:202
void slotMenuSelection(QAction *action)
Will be called when a menu selection has been made from the popup menu.
Definition: notewidget.cpp:245
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:164
Definition: notewidget.h:39
virtual QSizeF calculateSize(bool withExtensions=true) const
Calculate content related size of widget.
Definition: notewidget.cpp:290
Uml::ID::Type diagramLink() const
Return the ID of the diagram hyperlinked to this note.
Definition: notewidget.cpp:153
QGraphicsScene * scene() const
virtual bool event(QEvent *e)
virtual void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Saves to the "notewidget" XMI element.
Definition: notewidget.cpp:219
Definition: notewidget.h:41
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Override default method.
Definition: notewidget.cpp:59
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:41
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
Event handler for moude double click events.
Definition: notewidget.cpp:484
void askForNoteType(UMLWidget *&targetWidget)
Display a dialog box to allow the user to choose the note's type.
Definition: notewidget.cpp:181
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.