QAbstractTableModel and centered checkbox
-
Hi,
I have QAbstractTableModel with boolean columns (user checkable). I'm trying to align position to center. I found this article:
http://qt-project.org/faq/answer/how_can_i_align_the_checkboxes_in_a_view
Seems to work properly but, well... it doesn't look good (selection is in SelectRows mode):
!http://ubuntuone.com/7mEcgqWN3Ch57Hg8kq128F(screenshot)!
Seems that changing rect is not good solution. Any idea?Regards