[Qt-interest] Calling QSortFilterProxyModel->setSortRole without sorting?
Rumpold Michael
Michael.Rumpold at andritz.com
Tue Aug 23 10:37:26 CEST 2011
Hi, I want to set a new SortRole, and a new column for sorting.
My problem is, that sorting is done in both functions.
code:
model->setSortRole( Qt::UserRole );
model->sort( newColumn, Qt::AscendingOrder );
Greetings from Vienna
Mike
#####################################################################################
This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.
Thank You.
#####################################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110823/aa0b96fb/attachment.html
More information about the Qt-interest-old
mailing list