Rajagopalan Srinivasan wrote:
> I am very new to qtada - so bear with me.
> 
> I am trying to select a directory. The following is my program. It does
> allow selection of files.
> 
You need to use Qt4.File_Dialogs.Get_Existing_Directory function ;-)

Unfortunately, it is not supported by the QtAda 2.1.0 and you must
download and install latest snapshot (at least 20090306). See:

http://www.qtada.com/en/download.html

PS. I have attached two examples, one use Get_Existing_Directory and
another explicitly creates QFileDialog.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.adb
Type: text/x-adasrc
Size: 600 bytes
Desc: not available
URL: 
<http://lists.qtada.com/pipermail/qtada-users_lists.qtada.com/attachments/20090306/1853b14d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main_full.adb
Type: text/x-adasrc
Size: 850 bytes
Desc: not available
URL: 
<http://lists.qtada.com/pipermail/qtada-users_lists.qtada.com/attachments/20090306/1853b14d/attachment-0001.bin>
_______________________________________________
qtada-users mailing list
[email protected]
http://lists.qtada.com/mailman/listinfo/qtada-users_lists.qtada.com

Reply via email to