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)?
Though... *sigh*
According to every little bit of information I was able to collect on the web, it seems like I can EITHER get the native dialog OR set the Hidden filter.
Which is a bit of a problem since the none-native dialog on the N900 is ugly, confusing and far too crammed. Guess I'll still have to do it the hard way.
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!