#include <portable-file-dialogs.h>
|
| 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 () |
|
bool | ready (int timeout=default_wait_timeout) const |
|
bool | kill () const |
|
|
enum | type { open
, save
, folder
} |
|
enum class | flag {
is_scanned = 0
, is_verbose
, has_zenity
, has_matedialog
,
has_qarma
, has_kdialog
, is_vista
, max_flag
} |
|
| 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 () |
|
| 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 |
|
| 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 std::string | buttons_to_name (choice _choice) |
|
static std::string | get_icon_name (icon _icon) |
|
static bool | available () |
|
static void | verbose (bool value) |
|
static void | rescan () |
|
std::shared_ptr< executor > | m_async |
|
◆ 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 |
◆ result()
std::vector< std::string > pfd::open_file::result |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: