[Uml-devel] branches/work/soc-umbrello/umbrello/widgets

Ralf Habacker ralf.habacker at gmail.com
Thu Aug 9 08:15:56 UTC 2012


SVN commit 1309863 by habacker:

QRectF replaced by UMLSceneRect to reduce the diff to trunk.

 M  +1 -1      widget_utils.cpp  
 M  +1 -1      widget_utils.h  


--- branches/work/soc-umbrello/umbrello/widgets/widget_utils.cpp #1309862:1309863
@@ -126,7 +126,7 @@
      * @param triSize The size of the triange in the top-right corner.
      */
     void drawTriangledRect(QPainter *painter,
-                           const QRectF& rect, const QSizeF& triSize)
+                           const UMLSceneRect& rect, const UMLSceneSize& triSize)
     {
         // Draw outer boundary defined by polygon "poly".
         QPolygonF poly(5);
--- branches/work/soc-umbrello/umbrello/widgets/widget_utils.h #1309862:1309863
@@ -35,7 +35,7 @@
     UMLSceneRectItem* decoratePoint(const UMLScenePoint& p);
 
     void drawCrossInEllipse(QPainter *p, const QRectF& ellipse);
-    void drawTriangledRect(QPainter *painter, const QRectF& rect, const QSizeF& triSize);
+    void drawTriangledRect(QPainter *painter, const UMLSceneRect& rect, const UMLSceneSize& triSize);
     void drawArrowHead(QPainter *painter, const QPointF& arrowPos,
                        const QSizeF& arrowSize, Qt::ArrowType arrowType,
                        bool solid = false);




More information about the umbrello-devel mailing list