> The "DiagramScene" example included with Qt should help. It has nodes
> and arrows that are re-drawn when the nodes are moved. Check out
> DiagramItem::itemChange in diagramitem.cpp and the Arrow class itself.
>
> d3fault
>
There i could find a solution! QGraphicsIcon has a method called
it
The "DiagramScene" example included with Qt should help. It has nodes and
arrows that are re-drawn when the nodes are moved. Check out
DiagramItem::itemChange in diagramitem.cpp and the Arrow class itself.
d3fault
___
Interest mailing list
Interest@qt-pr
Am 16.08.2012 23:10, schrieb Philipp Menke:
[...]
I subclassed QGraphicItem for the various types of Nodes in such a
Network (resistors, inductors, capacitors) and for the cables. Having
two nodes connected with a cable looks good as long as i leave them on
the position they have been that time.
Hi
I want to write a Program to simulate electric networks. The (higher)
math of Multi-dimensional Newton and ODEs is no problem but the
WYSIWYG-like-network-editor:
I subclassed QGraphicItem for the various types of Nodes in such a
Network (resistors, inductors, capacitors) and for the cable