mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user