Wire lines graphics, how to ?
-
Hello,
I want to learn how to connect graphical objects with lines.
e.g. drawing wires between electronic parts and defining nodes
on particularly parts.
Does anybody know an example or tutorial explaining how to draw this lines ?
Actually playing around with QRubberBand but Iwould like to see
more examples.
Thank youwally
-
QRubberBand is for visualizing selection regions, not drawing lines.
To draw graphical objects like pictures, lines, shapes etc. you can use QGraphicsView and its various item types. Take a look at the elastic Nodes Example to see if that's the sort of thing you want to do.
-
@Chris-Kawa said:
QRubberBand is for visualizing selection regions, not drawing lines.
Yes, now I know. The example you mentioned is interesting, thnak you.
Any libraries or other readymade solutions known ?
(maybe boost or others) -
Qt is more than enough for this task.
-
@Chris-Kawa said:
Qt is more than enough for this task.
but not a lot more than this " elastic Nodes Example" , or is there more ?
:)