I'm trying to build Firefox/Mac OS X-type tabs: Basically, icons along the top of the window with textual labels.

I used the ConfigDialog example as a starting point. I was unable to find a way to have the icons run across instead of up and down. I changed to a QTableWidget, and was able to get this working. However, I have not been able to figure out how to make the icon in a cell appear above the cell's text instead of to the left of it. I don't want to use two rows because I'm concerned I won't be able to maintain the illusion that only one cell is selected.

Is QTableWidget the right approach?