EdLaFave
10th January 2017, 20:08
I have a set of images that need to be rendered.
The first image is essentially a "background" image that shows a grid of some sort.
Every other image is meant to be rendered on top of the background image. They're sized to cover a non-fractional number of cells of the background image/grid. They're allowed to overlap each other. At run time the user will have the ability to shift these images up, down, left, or right in increments equal to the size of a cell in the background image.
What is the best way to meet these requirements in Qt?
QGridLayout seems inappropriate because the images couldn't span multiple cells or be rendered on top of each other. I'm looking into QGraphicsScene but it isn't immediately obvious if this is appropriate.
The first image is essentially a "background" image that shows a grid of some sort.
Every other image is meant to be rendered on top of the background image. They're sized to cover a non-fractional number of cells of the background image/grid. They're allowed to overlap each other. At run time the user will have the ability to shift these images up, down, left, or right in increments equal to the size of a cell in the background image.
What is the best way to meet these requirements in Qt?
QGridLayout seems inappropriate because the images couldn't span multiple cells or be rendered on top of each other. I'm looking into QGraphicsScene but it isn't immediately obvious if this is appropriate.