Modification permettant de definir qu'un element peut avoir un conducteur entre ses propres bornes

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@13 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2006-11-04 13:57:40 +00:00
parent f0a0eb6661
commit 58152e33eb
2 changed files with 4 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ ElementPerso::ElementPerso(QString &nom_fichier, QGraphicsItem *qgi, Schema *s,
priv_nom = racine.attribute("nom");
setSize(w, h);
setHotspot(QPoint(hot_x, hot_y));
setConnexionsInternesAcceptees(racine.attribute("ci") == "true");
// la definition est supposee avoir des enfants
if (racine.firstChild().isNull()) {
if (etat != NULL) *etat = 6;