Editing QGraphicsPathItems with the mouse on QGraphicsView?
I have this tool which allows me to “sculpt” QGraphicsPathItems with the mouse for my QGraphicsView. It works amazing, and you even get radius control. But it comes with a serious flaw. Whenever I move a path item to a different position, I can only sculpt the item from the original position. For example, If I move path A from point C to point B, I can only sculpt the path from point C (like it’s invisible). Any help is greatly appreciated, and here’s the code:
PyQt QGraphicsScene Set Size To Video Size
I’m trying to make the QGraphicsScene max size to be the video size so if I have text and drag it to anywhere that the video is not the text won’t appear and it won’t show scroll bars. The scene for some reason still uses all the view space, even though I set its rect to be the same as the video.