Thanks. The last example worked for me however the checkbox appears slightly off center in the cell. Any ideas what causes that?

This is in Qt 4.3 on windows XP.