Click here to Skip to main content
15,919,479 members

Comments by Member 11238051 (Top 4 by date)

Member 11238051 29-Nov-14 10:48am View    
Using this I got the following error
error: invalid operands of types 'QGraphicsSceneMouseEvent*' and 'int' to binary 'operator%'
int offset = mouseEvent % gridSize;
Member 11238051 29-Nov-14 7:12am View    
I have updated my question with the code. Please help me to solve it out.
Member 11238051 29-Nov-14 6:49am View    
Actually I am unable to implement this thing. Can you explain e with the help of small running example
Member 11238051 29-Nov-14 5:07am View    
The problem is coming that how should I calculate the nearest grid position?