umbrello/umbrello
widget_utils.h
Go to the documentation of this file.
bool loadPixmapFromXMI(QDomElement &pixEle, QPixmap &pixmap)
Loads pixmap from xmi.
Definition: widget_utils.cpp:272
bool loadGradientFromXMI(QDomElement &gradientElement, QGradient *&gradient)
Loads gradient from xmi.
Definition: widget_utils.cpp:334
void savePixmapToXMI(QDomDocument &qDoc, QDomElement &qElement, const QPixmap &pixmap)
Saves pixmap informatin into dom element qElement.
Definition: widget_utils.cpp:303
void saveBrushToXMI(QDomDocument &qDoc, QDomElement &qElement, const QBrush &brush)
Saves the brush info as xmi into the dom element qElement.
Definition: widget_utils.cpp:509
QString pointToString(const QPointF &point)
Draws an arrow head with the given painter, with the arrow sharp point at headPos.
Definition: widget_utils.cpp:242
void drawCrossInEllipse(QPainter *p, const QRectF &r)
Calculates and draws a cross inside an ellipse.
Definition: widget_utils.cpp:87
bool hasSmallerY(const UMLWidget *widget1, const UMLWidget *widget2)
Returns true if the first widget's Y is smaller than second's.
Definition: widget_utils.cpp:547
bool loadBrushFromXMI(QDomElement &qElement, QBrush &brush)
Extracts the QBrush properties into brush from the XMI xml element qElement.
Definition: widget_utils.cpp:455
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
QGraphicsRectItem * decoratePoint(const QPointF &p, QGraphicsItem *parent)
Creates the decoration point.
Definition: widget_utils.cpp:69
bool hasSmallerX(const UMLWidget *widget1, const UMLWidget *widget2)
Returns true if the first widget's X is smaller than second's.
Definition: widget_utils.cpp:536
QPointF stringToPoint(const QString &str)
Converts a comma separated string to point.
Definition: widget_utils.cpp:250
void drawTriangledRect(QPainter *painter, const QRectF &rect, const QSizeF &triSize)
Draws a polygon which is almost rectanguar except for the top right corner.
Definition: widget_utils.cpp:128
void saveGradientToXMI(QDomDocument &qDoc, QDomElement &qElement, const QGradient *gradient)
Saves gradient information into dom element qElement.
Definition: widget_utils.cpp:405
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:01 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:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.