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.
filter.png