[Qt-interest] little help with QFileSystemModel
Mandaya Prakash
mandaya.prakash at gmail.com
Wed Feb 15 20:05:20 CET 2012
Andre and Ravi
enabling disabling name filters does not help.
So even if scaning whole the file system model is costly do we have any api
for that or any other way you can think of which can help me.
Regards,
On Wed, Feb 15, 2012 at 3:44 AM, Atlant Schmidt
<aschmidt at dekaresearch.com>wrote:
> 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.
>
--
Best Regards,
*Ravi P Mandaya.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20120215/e63abc81/attachment.html
More information about the Qt-interest-old
mailing list