Enigma  3.2.0
A Simple, Reliable and Efficient Encryption Tool
SelectFolderDialog Class Reference

#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
 

Detailed Description

System Dialog to ask the user to select a folder from disk

Definition at line 13 of file SelectFolderDialog.hpp.

Constructor & Destructor Documentation

◆ SelectFolderDialog()

SelectFolderDialog::SelectFolderDialog ( const std::string &  title,
const std::string &  initial_path = ".",
const bool  force_path = true 
)

Constructor

Parameters
titletitle of the dialog
initial_paththe default path of the dialog.
force_pathto force the operating system to use the provided path. Some systems default to the most recently used path, if applicable.

◆ ~SelectFolderDialog()

SelectFolderDialog::~SelectFolderDialog ( )
defaultnoexcept

Member Function Documentation

◆ Show()

std::string SelectFolderDialog::Show ( ) const

Spawns Select Folder Dialog and returns selected folder path


The documentation for this class was generated from the following file: