NeKernel dev
Loading...
Searching...
No Matches
pfd::open_file Class Reference

#include <Dialogs.h>

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

Public Member Functions

 open_file (std::string const &title, std::string const &default_path="", std::vector< std::string > const &filters={"All Files", "*"}, opt options=opt::none)
 open_file (std::string const &title, std::string const &default_path, std::vector< std::string > const &filters, bool allow_multiselect)
std::vector< std::string > result ()
Public Member Functions inherited from pfd::internal::dialog
bool ready (int timeout=default_wait_timeout) const
bool kill () const

Additional Inherited Members

Protected Types inherited from pfd::internal::file_dialog
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 inherited from 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)
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)
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

Constructor & Destructor Documentation

◆ open_file() [1/2]

pfd::open_file::open_file ( std::string const & title,
std::string const & default_path = "",
std::vector< std::string > const & filters = {"All Files", "*"},
opt options = opt::none )
inline

◆ open_file() [2/2]

pfd::open_file::open_file ( std::string const & title,
std::string const & default_path,
std::vector< std::string > const & filters,
bool allow_multiselect )
inline

Member Function Documentation

◆ result()

std::vector< std::string > pfd::open_file::result ( )
inline

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