diff options
author | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-08-13 18:51:37 (GMT) |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-08-13 19:20:29 (GMT) |
commit | 37fd523c7e784b83e2c308218ac312122bd8b414 (patch) | |
tree | 604b6eacb125da9f6a8ac3187b8bb41564cc5703 /src/gui/graphicsview/qgraph_p.h | |
parent | f95dfb70e5c963b5c2502b94c2c391994b0e17ee (diff) | |
download | Qt-37fd523c7e784b83e2c308218ac312122bd8b414.zip Qt-37fd523c7e784b83e2c308218ac312122bd8b414.tar.gz Qt-37fd523c7e784b83e2c308218ac312122bd8b414.tar.bz2 |
QGraphicsAnchorLayout: adding small debug messages
Useful for verifying whether Simplex is being triggered or not.
Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Diffstat (limited to 'src/gui/graphicsview/qgraph_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraph_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraph_p.h b/src/gui/graphicsview/qgraph_p.h index 3abbe3b..2666623 100644 --- a/src/gui/graphicsview/qgraph_p.h +++ b/src/gui/graphicsview/qgraph_p.h @@ -182,10 +182,11 @@ public: EdgeData *data = edgeData(v, v1); bool forward = data->origin == v; if (forward) { - edges += QString::fromAscii("%1->%2 [label=\"[%3,%4]\" dir=both color=\"#000000:#a0a0a0\"] \n") + edges += QString::fromAscii("%1->%2 [label=\"[%3,%4,%5]\" dir=both color=\"#000000:#a0a0a0\"] \n") .arg(v->toString()) .arg(v1->toString()) .arg(data->minSize) + .arg(data->prefSize) .arg(data->maxSize) ; } |