QfileSystemModel ： removes rows that gaps can exist within them
@ bool QAbstractItemModel::removeRows ( int row, int count, const QModelIndex & parent = QModelIndex() )@
can only removes rows in one piece, next to each other without any gaps.
but I want to removes rows that gaps can exist within them ,so how to implement it ?
By calling removeRows repeatedly.
If you need to do a lot of reorganization, then you might want to claim the model has changed completely instead using the modelReset related functionality.