Gestion des champs de textes editables dans l'editeur

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@99 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2007-08-18 04:42:39 +00:00
parent 900439c00e
commit 92a43deb78
9 changed files with 295 additions and 12 deletions

View File

@@ -384,7 +384,7 @@ bool CustomElement::parseInput(QDomElement &e, Diagram *s) {
ElementTextItem *eti = new ElementTextItem(e.attribute("text"), this, s);
eti -> setFont(QFont("Sans Serif", size));
eti -> setPos(pos_x, pos_y);
if (e.attribute("rotate") == "true") eti -> setFollowParentRotations(true);
if (e.attribute("rotate") == "false") eti -> setFollowParentRotations(true);
return(true);
}