#include <SaveFileDialog.hpp>
|
| | SaveFileDialog (const std::string &title, const std::string &initialPath=".", const bool forceOverwrite=true, const std::initializer_list< std::string > &filters={"*"}, const std::string &singleFilterDescription="All Files") |
| |
| | ~SaveFileDialog () noexcept=default |
| |
| std::string | Show () const |
| |
System Dialog to ask the user to select a path to save a file to
Definition at line 12 of file SaveFileDialog.hpp.
◆ SaveFileDialog()
| SaveFileDialog::SaveFileDialog |
( |
const std::string & |
title, |
|
|
const std::string & |
initialPath = ".", |
|
|
const bool |
forceOverwrite = true, |
|
|
const std::initializer_list< std::string > & |
filters = {"*"}, |
|
|
const std::string & |
singleFilterDescription = "All Files" |
|
) |
| |
|
explicit |
Constructor
- Parameters
-
| title | title of the dialog |
| initialPath | the default path of the dialog. |
| forceOverwrite | force overwrite and disable the confirmation dialog |
| filters | The filter list enumerates filter names and corresponded space-separated wildcard lists. It defaults to { "*" } |
| singleFilterDescription | The single filter description. It defaults to "All Files" |
◆ ~SaveFileDialog()
| SaveFileDialog::~SaveFileDialog |
( |
| ) |
|
|
defaultnoexcept |
◆ Show()
| std::string SaveFileDialog::Show |
( |
| ) |
const |
Spawn Save file dialog and get selected path
The documentation for this class was generated from the following file: