PDA

View Full Version : HELP !!! About QGraphicsItemGroup and it's children's event .



wshn13
21st June 2011, 07:46
Hi,everyone:
Now I come across a though problem . I make a QGraphicsItemGroup which has two children.Children is type of QGraphicsPixmapItem. I call the group A, children B, C.
when I press B I want it print "B" the same with C, but when I press , it just print "A" .It looks as if the B and C don't receive the press event . How does it work??? what shouId I do??? Thanks:p

wysota
21st June 2011, 09:52
Code, please.

wshn13
21st June 2011, 10:16
Can you speak Chinese ???

Rachol
21st June 2011, 10:21
Do you have some special chinese version of C++ and Qt APIs?

wysota
21st June 2011, 10:53
Can you speak Chinese ???

I can order food in Chinese by pointing fingers and I can order a small coffee (一个小咖啡) if that helps your problem :) I can also say I come from Poland but I guess you already know I come from Poland so there is no benefit in repeating myself in Chinese :] I could use another small coffee, though...

wshn13
21st June 2011, 11:27
Should I post my code here ? but it realy big

wysota
21st June 2011, 14:03
We don't want your whole code, only the part relevant to the problem.