#include <FileDialog.h>
|
| static std::string | RequestOpenFile (const std::string &title, const std::string &defaultPathOrFile, const std::vector< std::string > &filters, const std::string &filterDescription, bool allowMultiple) |
| |
| static std::string | RequestSaveFile (const std::string &title, const std::string &defaultPathOrFile, const std::vector< std::string > &filters, const std::string &filterDescription) |
| |
| static std::string | RequestSelectFolder (const std::string &title, const std::string &defaultPath) |
| |
| static bool | DisplayAndGetResult (std::string &outPath) |
| |
Definition at line 35 of file FileDialog.h.
◆ DisplayAndGetResult()
| bool Elevate::FileDialog::DisplayAndGetResult |
( |
std::string & |
outPath | ) |
|
|
static |
Definition at line 70 of file FileDialog.cpp.
71 {
73 }
virtual bool DisplayAndGetResult(std::string &outPath)
◆ RequestOpenFile()
| std::string Elevate::FileDialog::RequestOpenFile |
( |
const std::string & |
title, |
|
|
const std::string & |
defaultPathOrFile, |
|
|
const std::vector< std::string > & |
filters, |
|
|
const std::string & |
filterDescription, |
|
|
bool |
allowMultiple |
|
) |
| |
|
static |
Definition at line 43 of file FileDialog.cpp.
44 {
45 if (ValidateImpl())
46 {
48 }
49 return "";
50 }
virtual void OpenFile(const std::string &title, const std::string &defaultPathOrFile, const std::vector< std::string > &filters, const std::string &filterDescription, bool allowMultiple)=0
static std::string Resolve(const std::string &virtualPath)
◆ RequestSaveFile()
| std::string Elevate::FileDialog::RequestSaveFile |
( |
const std::string & |
title, |
|
|
const std::string & |
defaultPathOrFile, |
|
|
const std::vector< std::string > & |
filters, |
|
|
const std::string & |
filterDescription |
|
) |
| |
|
static |
Definition at line 52 of file FileDialog.cpp.
53 {
54 if (ValidateImpl())
55 {
57 }
58 return "";
59 }
virtual void SaveFile(const std::string &title, const std::string &defaultPathOrFile, const std::vector< std::string > &filters, const std::string &filterDescription)=0
◆ RequestSelectFolder()
| std::string Elevate::FileDialog::RequestSelectFolder |
( |
const std::string & |
title, |
|
|
const std::string & |
defaultPath |
|
) |
| |
|
static |
Definition at line 61 of file FileDialog.cpp.
62 {
63 if (ValidateImpl())
64 {
66 }
67 return "";
68 }
virtual void SelectFolder(const std::string &title, const std::string &defaultPath)=0
The documentation for this class was generated from the following files: