PDA

View Full Version : Flow Diagram



fruzzo
1st December 2007, 15:59
Hi...I'm building a dialog with inside a flow diagram representig various components of a system and its status...something link this:
http://www.gmsl.it/images/conceptdraw/DataFlowSample.jpg
I've used label widget to make the boxes and line widget to make the connections between boxes....The colors of the boxes must change according with the status of the particular component of the system.
Well, I done this but now I have a problem...I can't resize the whole diagram because I can't use layers. Using layers I lose the right aspect of the diagram.
How I can do this? There is a manner to view the whole diagram (all boxe + lines) like a unique thing so I can use layers? Other solutions to make this diagram?
Thanks

wysota
1st December 2007, 16:18
Definitely QGraphicsView.

spud
1st December 2007, 16:37
I concur, check out the Diagram Scene Example (http://doc.trolltech.com/4.3/graphicsview-diagramscene.html).

fruzzo
2nd December 2007, 11:26
Ok It may by perfect but actually I use Qt 3.3.5 and I must necessarily use this version...so I can't use this library :(

wysota
2nd December 2007, 11:31
Use QCanvas then.

And please update your profile so that we know you are using Qt3.

fruzzo
2nd December 2007, 18:45
Use QCanvas then.

And please update your profile so that we know you are using Qt3.

ok done...I'll try the solution with canvas. Thanks