PDA

View Full Version : Workflow Designer



arjoshi
30th November 2008, 17:18
Greetings to the community!

I have a beginner's question. I am currently a masters student and my research work is on next-generation workflow software. One of the basic tasks I have is to design a workflow editor. I am considering using QT but have some questions un-answered.

A workflow editor ( much like a UML editor) would have steps ( graphically represented as rectangles with text inside them) and arrows connecting the steps ( read rectangles) all of which would be on a canvas. I would like to know which entities or classes in QT I can use to achieve the graphical modelling of steps and arrows connecting them. Alternatively, if there are no such "pre-built" classes can I have any pointers telling me how I can depict the rectangles and arrows in code? Further, as the users move the steps, then the arrows connecting them should be "elastic'....meaning the start and end points of the arrows should stay connected to the steps(rectangles) while the length and directions of the arrows can move as the distance between the two steps which the arrow connects changes. I would appreciate as regards to how I can achieve such effects using QT ( and if this is possible). ?

ktk
30th November 2008, 18:31
[...] I would like to know which entities or classes in QT I can use to achieve the graphical modelling of steps and arrows connecting them[...] ?

See http://doc.trolltech.com/4.4/graphicsview.html for getting started.

aamer4yu
1st December 2008, 04:32
Refer the Diagram Scene example in Qt Demos-> GraphicsView.

Its like a small prototype of what you want... :)