I want to make a 2D level editor, where i can load images, crop them and then place them onto a tiled map. I want to mark tiles and give them additional properties like "with collision", later i want to export the whole map.
What Qt classes are best suited for the job to display this tiled map? I guess for drawing i would use a derived QGraphicsview/QGraphicsscene. But how should I display the tilemap? Crop the Graphicsview into (for example) 128x128 parts and represent each image as QPixmap?
This is what i got for now, the next part would be to create an empty tilemap in the middle of the editor...
The idea is to select the tiles on the left, and drag and drop them to the middle..the tile should then snap into the tilemap grid. But, as for now..i have no idea how to represent that tiled grid in my QGraphicsview.