Quote Originally Posted by marcel View Post
Ihat is wrong displaying the hexagons in a gview? You could still minimize memory usage by storing hexagon types as pixmaps and just use QGraphicsPixmapItem's with a clipping mask applied(a hexagon) to define its bounds.
Nothing is wrong with using a gview. But as I learn Qt I find it often has easier ways to do common tasks. So I just wanted to make sure that I wasn't doing things the hard way.

I actually have hex map drawing code that I wrote for Microsoft Foundation Classes many years ago, it should be easy enough to adapt.

I was bemused, however. The original program in MFC took me the better part of a week to get the user interface working. In PyQt4 with the Qt Designer, it took less than 15 minutes.