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

#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
 

Detailed Description

System Dialog to ask the user to select a path to save a file to

Definition at line 13 of file SaveFileDialog.hpp.

Constructor & Destructor Documentation

◆ SaveFileDialog()

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

Parameters
titletitle of the dialog
initial_paththe default path of the dialog.
force_overwriteforce overwrite and disable the confirmation dialog
filtersThe filter list enumerates filter names and corresponded space-separated wildcard lists. It defaults to { "All Files", "*" }

◆ ~SaveFileDialog()

SaveFileDialog::~SaveFileDialog ( )
defaultnoexcept

Member Function Documentation

◆ 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: