danca226
10th September 2011, 16:32
Hi. Im new to Qt and Im trying to get a feel for it by implementing a simple level editor. The editor works by allowing you to place tiles in a grid. It should support three layers (back, main, front) of tiles. Before I get to far I wanted to investigate the "best" way of doing this.
This is what I came up with so far
Scrollarea with huge frame and label with pixmaps as tiles (didnt like this idea)
using the graphics scene/view framework (feels better to me but I have the following questions: Is it smart enough to only render whats visible in the view and since QGraphicsScene::drawItems have been deprecated what other options do I have to control the rendering?
Please let me know if you have any other suggestions on how to implement this.
Thanks!
This is what I came up with so far
Scrollarea with huge frame and label with pixmaps as tiles (didnt like this idea)
using the graphics scene/view framework (feels better to me but I have the following questions: Is it smart enough to only render whats visible in the view and since QGraphicsScene::drawItems have been deprecated what other options do I have to control the rendering?
Please let me know if you have any other suggestions on how to implement this.
Thanks!