Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QGraphicsRectItem Mouse press event Problem!!!

$
0
0
i have a sub class of QgraphicsRectitem name “CLASS 1” , and re implement the mousepress event on it; i also have a sub class of qgraphichscene name “CLASS 2”,and re implement the Mouse press event for it to , and in the CLASS 2 i have some object of CLASS 1, (some rectitem in the Scene) Now, the problem is when i click on the Rect in the scene !!! the Function of CLASS 2 , scene, is calling!!! but, i want to for example move or … the RECT!!!!1 what can i DO ????? so thank you!!

Viewing all articles
Browse latest Browse all 18427

Trending Articles