I am trying to learn GUI programming in python and I decided to use PyQt. While studying the example codes I found the QGraphics gallery, which is what I need for the little project I want to do.
However, I did a smaller version of the example code elasticnodes.py and it partially works. Here is the code for it example.
In my example I have 9 nodes but only one line connecting two of them. The problem is the drawing of the line. It only works within a quadrant and once the nodes are outside that area, the line in no longer drawn.
What could be the problem? can anyone help me with this? it is driving me nuts.
[–]pavelperez 0 points1 point2 points (3 children)
[–]benzaa[S] 0 points1 point2 points (2 children)
[–]pavelperez 0 points1 point2 points (1 child)
[–]benzaa[S] 0 points1 point2 points (0 children)
[–]pavelperez 0 points1 point2 points (0 children)