kartikzheng
17th November 2014, 01:23
I use QDirModel in QTreeView, now I want to filter drive like DVD or CD drive ,and only save the local system drive. I know maybe rewrite the QDirModel, but I cant . can you help me? best have the example code, very thanks.
10748
wysota
17th November 2014, 06:49
You can use or subclass QSortFilterProxyModel to filter out entries from the base model.
kartikzheng
18th November 2014, 02:43
You can use or subclass QSortFilterProxyModel to filter out entries from the base model.
thanks, I did it.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.