Enigma
3.2.0
A Simple, Reliable and Efficient Encryption Tool
|
#include <SaveFileDialog.hpp>
Public Member Functions | |
SaveFileDialog (const std::string &title, const std::string &initial_path=".", const bool force_overwrite=true, const std::initializer_list< std::string > &filters={"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 13 of file SaveFileDialog.hpp.
SaveFileDialog::SaveFileDialog | ( | const std::string & | title, |
const std::string & | initial_path = "." , |
||
const bool | force_overwrite = true , |
||
const std::initializer_list< std::string > & | filters = {"All Files", "*"} |
||
) |
Constructor
title | title of the dialog |
initial_path | the default path of the dialog. |
force_overwrite | force overwrite and disable the confirmation dialog |
filters | The filter list enumerates filter names and corresponded space-separated wildcard lists. It defaults to { "All Files", "*" } |
|
defaultnoexcept |
std::string SaveFileDialog::Show | ( | ) | const |
Spawn Save file dialog and get selected path