Public Members
| std::string | mode |
| std::string | title |
| std::string | filter |
| std::string | startDir |
| bool | showHidden { false } |
Detailed Description
Options for the file dialog that
VApp::pick_path() opens.
Desktop only: web and Android have no file paths to hand back, so
pick_path() reports a cancel there. For a file that should reach a
server, use VApp::pick_and_upload().
Member Variable Documentation
std::string mode
"file" (an existing file), "dir", or "save"
std::string title
Dialog title; empty uses the platform's default
std::string filter
Qt name filter, like "Images (*.png *.jpg)"
std::string startDir
Starting directory; empty uses the platform's default
bool showHidden { false }
Lists hidden files, like dotfiles