umbrello/umbrello
floatingdashlinewidget.h
Go to the documentation of this file.
37 explicit FloatingDashLineWidget(UMLScene * scene, Uml::ID::Type id = Uml::ID::None, CombinedFragmentWidget *parent = 0);
40 virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option = 0, QWidget *widget = 0);
qreal getDiffY() const
Returns the difference between the y-coordinate of the dash line and m_yMin.
Definition: floatingdashlinewidget.cpp:150
bool onLine(const QPointF &point)
Returns true if the given point is near the floatingdashline.
Definition: floatingdashlinewidget.cpp:86
bool loadFromXMI(QDomElement &qElement)
Loads the "floatingdashline" XMI element.
Definition: floatingdashlinewidget.cpp:173
void slotMenuSelection(QAction *action)
This is usually called synchronously after menu.exec() and trigger's parent is always the ListPopupMe...
Definition: floatingdashlinewidget.cpp:96
This class is used to draw dash lines for UML combined fragments.
Definition: floatingdashlinewidget.h:33
FloatingDashLineWidget(UMLScene *scene, Uml::ID::Type id=Uml::ID::None, CombinedFragmentWidget *parent=0)
Creates a floating dash line.
Definition: floatingdashlinewidget.cpp:34
This class is the graphical version of a UML combined fragment.
Definition: combinedfragmentwidget.h:36
void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Creates the "floatingdashline" XMI element.
Definition: floatingdashlinewidget.cpp:158
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option=0, QWidget *widget=0)
Overrides the standard paint event.
Definition: floatingdashlinewidget.cpp:57
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 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:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.