PDA

View Full Version : How to map the rows to sourceModel rows.



kaushal_gaurav
11th February 2009, 08:12
Hi,

How do i map rows from sortFilterProcyModel to the sourceModel Row.
I know how to map columns.

Please help..........

Regards,
GK

caduel
11th February 2009, 08:22
how about QAbstractProxyModel::mapToSource() ?

aamer4yu
11th February 2009, 09:40
I know how to map columns.
Then you can map rows too. You must be using QModelIndex, and QModelIndex contains both row and column...