关键属性
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.)

相关文章:

  • 2021-09-15
  • 2022-02-11
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2021-12-08
相关资源
相似解决方案