[Qt-interest] little help with QFileSystemModel
Atlant Schmidt
aschmidt at dekaresearch.com
Wed Feb 15 12:44:20 CET 2012
Ravi:
Perhaps you're missing setNameFilterDisables ( bool enable )?
Atlant
________________________________
nameFilterDisables : bool
This property holds whether files that don't pass the name filter are hidden or disabled.
This property is true by default
Access functions:
bool
nameFilterDisables () const
void
setNameFilterDisables ( bool enable )
From: qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com [mailto:qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com] On Behalf Of Mandaya Prakash
Sent: Tuesday, February 14, 2012 19:14
To: qt-interest at trolltech.com
Subject: [Qt-interest] little help with QFileSystemModel
Hi there I am using QFileSystemModel in my treeview, I want to show only those directory which has *.mng extension.
I tried using Filter *.mng in QStringlist and then called setNameFilter on model but it is showing me all other directories which are not having this file too which I dont want.
I think i am missing some small thing but just can not figure it out.
please help
--
Best Regards,
Ravi P Mandaya.
Click here<https://www.mailcontrol.com/sr/ZxBuau5BJnrTndxI!oX7Uj80y4Ou3KxpVINiJOeLS7M8EFTVeDTEF6MUP8FQjOGf1QzgpU2ctei7aUicAedHBg==> to report this email as spam.
________________________________
This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.
Thank you.
Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20120215/244f4dd6/attachment.html
More information about the Qt-interest-old
mailing list