Create this kind of tiled map with QGraphicsScene
-
Hello,
i never used QGraphicsScene but today, i need to recreate this kind of tiled map
http://i.snag.gy/CeF5M.jpgi 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.Thanks all
-
The setRotation(45) is not good for me
See :without setRotation(45) http://i.snag.gy/cUFzm.jpg
With setRotation(45) http://i.snag.gy/A2DNm.jpg
i setRotation on EACH rectangle