[qet] [3376] Conductor : improve resize behavior.

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


Revision: 3376
Author:   blacksun
Date:     2014-10-16 15:31:08 +0200 (Thu, 16 Oct 2014)
Log Message:
-----------
Conductor : improve resize behavior. Text item is stacked behind the conductor, so they don't tack focus easily.

Modified Paths:
--------------
    trunk/sources/qetgraphicsitem/conductor.cpp

Modified: trunk/sources/qetgraphicsitem/conductor.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/conductor.cpp	2014-10-13 18:42:38 UTC (rev 3375)
+++ trunk/sources/qetgraphicsitem/conductor.cpp	2014-10-16 13:31:08 UTC (rev 3376)
@@ -90,6 +90,7 @@
 	
 	// ajout du champ de texte editable
 	text_item = new ConductorTextItem(properties_.text, this);
+	text_item -> setFlag(QGraphicsItem::ItemStacksBehindParent);
 	calculateTextItemPosition();
 	connect(
 		text_item,


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