关键属性
enum QFileDialog::FileMode
QFileDialog::Directory 2 The name of a directory. Both files and directories are displayed.
**只显示文件夹
enum QFileDialog::Option
QFileDialog::ShowDirsOnly 0x00000001 Only show directories in the file dialog. By default both files and directories are shown. (Valid only in the Directory file mode.)