Conductor : improve resize behavior. Text item is stacked behind the conductor, so they don't tack focus easily.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3376 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-10-16 13:31:08 +00:00
parent 4e431ae04b
commit 6b97daeee9

View File

@@ -90,6 +90,7 @@ Conductor::Conductor(Terminal *p1, Terminal* p2, Diagram *parent_diagram) :
// ajout du champ de texte editable
text_item = new ConductorTextItem(properties_.text, this);
text_item -> setFlag(QGraphicsItem::ItemStacksBehindParent);
calculateTextItemPosition();
connect(
text_item,