Hi,
I am trying to implement a simple paint like program. I am having mainly two
problems:
1. I have an item class inherited from QGraphicsItem and I use
QGraphicsScene.addItem() to add it to the scene. However, I can only see the
last added item. Although all previous items (when I use
Hi,
On Tue, May 13, 2008 at 8:25 PM, Aysun Bascetincelik [EMAIL PROTECTED] wrote:
Hi,
I am trying to implement a simple paint like program. I am having mainly two
problems:
1. I have an item class inherited from QGraphicsItem and I use
QGraphicsScene.addItem() to add it to the scene.
On Dienstag 13 Mai 2008, Aysun Bascetincelik wrote:
Here is the code:
__
#!/usr/bin/env python
[snip]
I don't know what the policy for this list is, but if you had attached the
file (and the needed .ui) file, we could have tried your code out. As it is
now, the
Hi,
Sorry, I was not sure about attaching files. Here are the files.
Aysun
On Tue, May 13, 2008 at 2:34 PM, Hans Meine [EMAIL PROTECTED]
wrote:
On Dienstag 13 Mai 2008, Aysun Bascetincelik wrote:
Here is the code:
__
#!/usr/bin/env python
[snip]
I don't
On Dienstag 13 Mai 2008, Aysun Bascetincelik wrote:
Sorry, I was not sure about attaching files. Here are the files.
Your mistake is simply that you have made pointToDraw a class variable, not
an object/instance one (use self.pointToDraw, not MyPoint.pointToDraw). This
is not [Py]Qt related.
Hi,
Thanks for the help, I guess I forgot to check that part and did not realize
it was only python related. My first problem is solved but I still cannot
select any items on the scene. I added QGraphicsView::setInteractive(True)
but it did not change anything.
2.The other problem is when I try