Create this kind of tiled map with QGraphicsScene
i never used QGraphicsScene but today, i need to recreate this kind of tiled map
i wish to choice color of cell, and can click on each cell.
I do not know where to start. Can you advice me ?
I think i should QGraphicsItem use for cell, or maybe QGraphicsPolygonItem.
Since your using rectangles, I'd use QGraphicsRectangle and just rotate them. Should be plenty of examples for QGraphicsView
The setRotation(45) is not good for me
without setRotation(45) http://i.snag.gy/cUFzm.jpg
With setRotation(45) http://i.snag.gy/A2DNm.jpg
i setRotation on EACH rectangle