Enigma
3.2.0
A Simple, Reliable and Efficient Encryption Tool
|
#include <SelectFolderDialog.hpp>
Public Member Functions | |
SelectFolderDialog (const std::string &title, const std::string &initial_path=".", const bool force_path=true) | |
~SelectFolderDialog () noexcept=default | |
std::string | Show () const |
System Dialog to ask the user to select a folder from disk
Definition at line 13 of file SelectFolderDialog.hpp.
SelectFolderDialog::SelectFolderDialog | ( | const std::string & | title, |
const std::string & | initial_path = "." , |
||
const bool | force_path = true |
||
) |
Constructor
title | title of the dialog |
initial_path | the default path of the dialog. |
force_path | to force the operating system to use the provided path. Some systems default to the most recently used path, if applicable. |
|
defaultnoexcept |
std::string SelectFolderDialog::Show | ( | ) | const |
Spawns Select Folder Dialog and returns selected folder path