Hi,
how can I restrict the Qt file dialog to only show the files in the given directory (/usr/app/images) and that navigating out of that directory is not possible? (I do not want the user to see any directory navigation possibilities)
Qt Code:
  1. const QString IMAGE_DIR="/usr/app/images";
  2. ...
  3. QString fileName = QFileDialog::getOpenFileName(
  4. this,
  5. trUtf8("Choose a Picture"),
  6. IMAGE_DIR,
  7. trUtf8("Cool Picture (*.png)")
  8. );
To copy to clipboard, switch view to plain text mode 

Thank you for a hint.

Spikey