Possibilite d'ajouter des champs de texte independants au schema

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@193 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2007-10-27 13:18:17 +00:00
parent 20a9a5158c
commit bece0588cb
16 changed files with 534 additions and 214 deletions

View File

@@ -11,6 +11,8 @@ ElementTextItem::ElementTextItem(QGraphicsItem *parent, QGraphicsScene *scene) :
DiagramTextItem(parent, scene),
follow_parent_rotations(false)
{
setFlags(QGraphicsItem::ItemIsSelectable);
setTextInteractionFlags(Qt::TextEditorInteraction);
}
/**
@@ -23,6 +25,8 @@ ElementTextItem::ElementTextItem(const QString &text, QGraphicsItem *parent, QGr
DiagramTextItem(text, parent, scene),
follow_parent_rotations(false)
{
setFlags(QGraphicsItem::ItemIsSelectable);
setTextInteractionFlags(Qt::TextEditorInteraction);
}
/// Destructeur