Enigma 3.2.2
A Simple, Reliable and Efficient Encryption Tool
Loading...
Searching...
No Matches
SaveFileDialog Class Reference

#include <SaveFileDialog.hpp>

Public Member Functions

 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
 

Detailed Description

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

Definition at line 12 of file SaveFileDialog.hpp.

Constructor & Destructor Documentation

◆ 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
titletitle of the dialog
initialPaththe default path of the dialog.
forceOverwriteforce overwrite and disable the confirmation dialog
filtersThe filter list enumerates filter names and corresponded space-separated wildcard lists. It defaults to { "*" }
singleFilterDescriptionThe single filter description. 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: