Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, April 2007
QTableView sorting column ?


Message 1 in thread

I can set the sorting column with sortByColumn ( int column, Qt::SortOrder
order )

But how do I retrive the column used for sorting ???

am I missing something obvious ?

--
 [ signature omitted ] 

Message 2 in thread

eb schrieb:
> I can set the sorting column with sortByColumn ( int column, Qt::SortOrder
> order )
> 
> But how do I retrive the column used for sorting ???

QHeaderView::sortIndicatorSection()

Martin

-- 
 [ signature omitted ]