开发者

In QT::QDIR need to display treeview directory structure with filtering specific folders which should not be displayed

Using QT::QDIR, i m trying to display the set of directories in Treeview as it is displayed in Windows explorer when u select the folders icon.

I succeeded in displaying the folders in treeview. But there are certain folders need not to be displayed or needs t开发者_JAVA百科o be hidden.

Using list of folders options in QDIR is there any way to specify the list of restriction folders.

Thanks Mathan


you can use the method : QDir::setNameFilters
ther is an example in the Qt documentation

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜