[Qt-interest] Disable sorting by some columns in QTableView
Udovichenko Artem
artem.udovichenko at gmail.com
Fri Aug 7 14:04:24 CEST 2009
To disable sorting by some columns I need to disable sorting and handle
clicking on section of QHeaderView.
I am right?
I don't understand how QSortFilterProxyModel can to help me.
Alexandre Beraud пишет:
> Hi,
>
> This link might help:
> http://doc.trolltech.com/4.5/qsortfilterproxymodel.html
>
> Regards,
>
> Alex
>
>
> Удовиченко Артем a écrit :
>> Hello!
>> I have a table(QTableView) of patients with columns: Name, Age and
>> Diagnosis.
>> I need to sort this table by columns Name and Age but not Diagnosis.
>> How can I do this?
>>
>> _______________________________________________
>> 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