You are not logged in.

1

Tuesday, June 12th 2012, 3:49pm

A QGraphicsView QGraphicsItem designer

Hi to all.

I work at Elettra Synchrotron Radiation Facility, Trieste, Italy.
In our organization we are planning to draw synoptic graphical applications in order to draw portions of the machine which elements inside a layout representing
power supplies, vacuum pumps, valves, undulators, and so on...

I was wondering if there is some existing application/toolkit able to provide an area QGraphicsScene where you can place QGraphicsItems and move them around
to form a synoptic view... When done, it should be possible to save the geometry and the kind of objects into a file that can be read back in order to repopulate the
scene later, after the "design" phase.

The idea is to provide an object factory where objects can be dragged and dropped into the scene, then moved and place them in a desired geometry.

The framework should provide the feature of subclassing/registering different QGraphicsItems with different shapes and being able to move them around, then
save the work.

Thanks for any advice.

Giacomo, Trieste, Italy

2

Tuesday, June 12th 2012, 4:35pm

I don't know any. surely using something purpose-built e.g. sketchup would be better?
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

3

Tuesday, June 12th 2012, 11:57pm

RE: A QGraphicsView QGraphicsItem designer

Maybe Diagram Scene Example from QtSDK would be useful.

4

Thursday, August 9th 2012, 9:36am

Thank you very much. Diagram Scene may be a good starting point!
Sorry for late thanks but I've just seen your answers.
Giacomo