FileDialog
AppCUI::Dialogs::FileDialog (class)
-
class FileDialog
Modal open / save file dialogs.
extensionsFilterrestricts the files that are shown. If it is empty, “All files” is used. Format:<Name>:ext|<Name>:ext|...or<Name>:ext1,ext2,ext3|<Name>:ext|.... For example"Text Files:txt|Images:jpg,jpeg,png|Documents:pdf,doc,docx,xlsx,xls,ppt,pptx"shows the “Text Files” filter (only.txtfiles); if the user selects “Images”,.jpg,.jpegand.pngfiles are shown.Public Static Functions
-
static optional<std::filesystem::path> ShowSaveFileWindow(const ConstString &fileName, const ConstString &extensionsFilter, const std::filesystem::path &path)
-
static optional<std::filesystem::path> ShowOpenFileWindow(const ConstString &fileName, const ConstString &extensionsFilter, const std::filesystem::path &path)
-
static optional<std::filesystem::path> ShowSaveFileWindow(const ConstString &fileName, const ConstString &extensionsFilter, const std::filesystem::path &path)