Thread
:
Hidden Files and QtGui.QFileDialog
View Single Post
Nathraiben
2010-06-17 , 18:59
Posts: 267 | Thanked: 408 times | Joined on May 2010 @ Austria
#
1
Hello there!
I'm working on an app right now where I would like the user to be able to select files from a hidden folder, yet when I try to open the file dialog, I'm getting redirected back to /home/user. Took me a while to realise that it was actually the hidden folder that spawned this behaviour.
Searching the web I found hints on the original Qt library featuring a flag to be set on QFileDialog in order to activate hidden files - but I couldn't find anything like that for PyQt.
Does anybody know of a way to convince Python to show hidden files in file dialogs, or will I have to do it the hard way (writing my own popup with a list of all the files in that directory)?
Thanks in advance!
Quote & Reply
|
Nathraiben
View Public Profile
Send a private message to Nathraiben
Find all posts by Nathraiben