umbrello/umbrello
pinwidget.cpp
Go to the documentation of this file.
75 void PinWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
133 // if (y <= m_pOw[Uml::A]->y() + height_Activity-5 && x == m_pOw[Uml::A]->x() + (width_Activity/2)) {
void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Saves the widget to the "pinwidget" XMI element.
Definition: pinwidget.cpp:220
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event)
Handles a mouse move event.
Definition: umlwidget.cpp:334
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Draws the UMLWidget on the given paint device.
Definition: umlwidget.cpp:1565
Definition: umlwidget.h:220
Definition: listpopupmenu.h:157
void mouseMoveEvent(QGraphicsSceneMouseEvent *me)
Overrides mouseMoveEvent.
Definition: pinwidget.cpp:181
QFontMetrics & getFontMetrics(UMLWidget::FontType fontType)
Returns the font metric used by this object for Text which uses bold/italic fonts.
Definition: umlwidget.cpp:1619
QString name() const
Gets the name from the corresponding UMLObject if this widget has an underlying UMLObject; if it does...
Definition: widgetbase.cpp:197
virtual void slotMenuSelection(QAction *action)
This is usually called synchronously after menu.exec() and trigger's parent is always the ListPopupMe...
Definition: umlwidget.cpp:707
Definition: basictypes.h:151
void slotMenuSelection(QAction *action)
Captures any popup menu signals for menus it created.
Definition: pinwidget.cpp:195
virtual bool loadFromXMI(QDomElement &qElement)
A virtual method to load the properties of this widget from a QDomElement into this widget...
Definition: umlwidget.cpp:1726
virtual bool loadFromXMI(QDomElement &qElement)
Loads the "floatingtext" XMI element.
Definition: floatingtextwidget.cpp:608
virtual void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
A virtual method to save the properties of this widget into a QDomElement i.e xml.
Definition: umlwidget.cpp:1707
int getMinY()
Returns the minimum height this widget should be set at on a sequence diagrams.
Definition: pinwidget.cpp:169
UMLWidget * findWidget(Uml::ID::Type id, const UMLWidgetList &widgets, const MessageWidgetList *messages)
Find the widget identified by the given ID in the given widget or message list.
Definition: widget_utils.cpp:41
bool loadFromXMI(QDomElement &qElement)
Loads the widget from the "pinwidget" XMI element.
Definition: pinwidget.cpp:235
static MenuType typeFromAction(QAction *action)
Convenience method to extract the ListPopupMenu type from an action.
Definition: listpopupmenu.cpp:1122
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Overrides the standard paint event.
Definition: pinwidget.cpp:75
void setText(const QString &t)
Set the main body of text to display.
Definition: floatingtextwidget.cpp:103
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.