[Qt-interest] restricting navigation in filedialog
Scott Aron Bloom
Scott.Bloom at sabgroup.com
Wed Apr 15 06:58:38 CEST 2009
Show the code you are using for the creation of the dialog as well as
the connection... and what OS since if you are on windows, the statics
use the native dialogs by default which don't do the call backs...
You may need to set it to use the non-native dialogs
Scott
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of sathya tej
Sent: Tuesday, April 14, 2009 9:32 PM
To: qt-interest at trolltech.com
Subject: [Qt-interest] restricting navigation in filedialog
hello all,
I need to restrict the user to view only the contents of a sd card. He
should not be able to view directories outside the sd card.
I have tried using the signal,
void QFileDialog::directoryEntered ( const QString & );
using which i could determine if its allowed path or not.
But when i connect this signal to a slot it isnt entering the slot.
I need some guidance on this matter.
Please suggest me a better alternative to tackle this problem.
Thank You,
Sathya.
--
whatever happens happens for GOOD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090414/7bce41d2/attachment.html
More information about the Qt-interest-old
mailing list