NeKernel dev
Loading...
Searching...
No Matches
pfd::internal::file_dialog Class Reference

#include <Dialogs.h>

Inheritance diagram for pfd::internal::file_dialog:
pfd::internal::dialog pfd::settings pfd::internal::platform pfd::open_file pfd::save_file pfd::select_folder

Protected Types

enum  type { open , save , folder }
Protected Types inherited from pfd::settings
enum class  flag {
  is_scanned = 0 , is_verbose , has_zenity , has_matedialog ,
  has_qarma , has_kdialog , is_vista , max_flag
}

Protected Member Functions

 file_dialog (type in_type, std::string const &title, std::string const &default_path="", std::vector< std::string > const &filters={}, opt options=opt::none)
std::string string_result ()
std::vector< std::string > vector_result ()
Protected Member Functions inherited from pfd::internal::dialog
 dialog ()
std::vector< std::string > desktop_helper () const
std::string powershell_quote (std::string const &str) const
std::string osascript_quote (std::string const &str) const
std::string shell_quote (std::string const &str) const
Protected Member Functions inherited from pfd::settings
 settings (bool resync=false)
bool check_program (std::string const &program)
bool is_osascript () const
bool is_zenity () const
bool is_kdialog () const
bool const & flags (flag in_flag) const
bool & flags (flag in_flag)

Additional Inherited Members

Public Member Functions inherited from pfd::internal::dialog
bool ready (int timeout=default_wait_timeout) const
bool kill () const
Static Protected Member Functions inherited from pfd::internal::dialog
static std::string buttons_to_name (choice _choice)
static std::string get_icon_name (icon _icon)
Static Protected Member Functions inherited from pfd::settings
static bool available ()
static void verbose (bool value)
static void rescan ()
Protected Attributes inherited from pfd::internal::dialog
std::shared_ptr< executorm_async

Member Enumeration Documentation

◆ type

Enumerator
open 
save 
folder 

Constructor & Destructor Documentation

◆ file_dialog()

pfd::internal::file_dialog::file_dialog ( type in_type,
std::string const & title,
std::string const & default_path = "",
std::vector< std::string > const & filters = {},
opt options = opt::none )
inlineprotected

Member Function Documentation

◆ string_result()

std::string pfd::internal::file_dialog::string_result ( )
inlineprotected

◆ vector_result()

std::vector< std::string > pfd::internal::file_dialog::vector_result ( )
inlineprotected

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