Thanks!
Think that something like this must work out:
connect( header, SIGNAL(clicked( const QModelIndex&) ), tableView, SLOT(scrollTo( const QModelIndex& ) ) );
connect( header, SIGNAL(clicked( const QModelIndex&) ), tableView, SLOT(scrollTo( const QModelIndex& ) ) );
To copy to clipboard, switch view to plain text mode
But I think it's necessary to replace QModelIndex& of SIGNAL(clicked) to the index of the element in the row I chosed before. That's the problem for me. Would you please tell me right way to do this operation?
Bookmarks