QFileDialog::getExistingDirectory show hidden?



  • I'm using a QFileDialog::getExistingDirectory function call; I'd like to see hidden directories. Seems that there's no option for thnis static function to do that, and also no option to do so if I create my own QFileDialog (i.e. without the static function call).

    Trawling around, it seems that QT3 had a setShowHiddenFiles function that might have been useful, but I can't find how to do it using QT 4.8; does anyone know?



  • See if this helps. Off-course it is not static function. You have to have object for this to work.

    <FileDialogObj>.setFilter(QDir.Hidden)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.