[Qt-interest] QSortFilterProxyModel disable sorting
Scott Aron Bloom
Scott.Bloom at onshorecs.com
Thu Oct 14 22:46:16 CEST 2010
Override the virtual function void QSortFilterProxyModel::sort( int
column, Qt::SortOrder order = Qt::AscendingOrder ) to do nothing....
-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Andras Toth
Sent: Thursday, October 14, 2010 1:12 PM
To: qt-interest at trolltech.com
Subject: [Qt-interest] QSortFilterProxyModel disable sorting
Hello, is there any way to disable sorting in QSortFilterProxyModel? (in
order
to use it just for filtering, but not sorting). According to the
documentation
there is a setSortingEnabled method for the view classes, but not for
the
models.
Thanks,
Andras
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list