[Interest] strange behavior of QTableView on MacOS, Lion

Simeon Mitev simeon.mitev at alegram.com
Wed Mar 28 08:39:00 CEST 2012


I do experience a strange behavior of QTableView on MacOS, Lion.

It is a simple QTableView backed up with QSqlTableModel. I can edit the 
data but QtableVIew behaves strange when I start editing the first cell 
(not the PK of course) and then hit TAB. The selected area moves one row 
up instead of moving to the next cell right. If I manually select the 
row being edited the value from the upper cell get copied into the cell 
I started with. To workaround this I need to manually select the second 
cell from the same row with the mouse when complete with the first cell. 
After that TAB behaves properly and move selected area one cell right 
within the same row.

Any ideas?

Thank you.

Simeon



More information about the Interest mailing list