[qet] [3751] Element improve visual of selected rect.

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 3751
Author:   blacksun
Date:     2015-02-22 09:20:48 +0100 (Sun, 22 Feb 2015)
Log Message:
-----------
Element improve visual of selected rect.

Modified Paths:
--------------
    branches/Qt5/sources/qetgraphicsitem/element.cpp

Modified: branches/Qt5/sources/qetgraphicsitem/element.cpp
===================================================================
--- branches/Qt5/sources/qetgraphicsitem/element.cpp	2015-02-21 21:36:25 UTC (rev 3750)
+++ branches/Qt5/sources/qetgraphicsitem/element.cpp	2015-02-22 08:20:48 UTC (rev 3751)
@@ -256,6 +256,7 @@
 	QPen t;
 	t.setColor(Qt::gray);
 	t.setStyle(Qt::DashDotLine);
+	t.setCosmetic(true);
 	painter -> setPen(t);
 	// Le dessin se fait a partir du rectangle delimitant
 	painter -> drawRoundRect(boundingRect().adjusted(1, 1, -1, -1), 10, 10);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/