32 #include "../api_gui.h"
33 #include "../gui_component.h"
40 class FileDialog_Impl;
62 std::string get_filename()
const;
66 std::vector<std::string> get_filenames()
const;
74 void set_multi_select(
bool multiselect);
78 void set_filename(
const std::string &filename);
84 void add_filter(
const std::string &filter_description,
const std::string &filter_extension,
bool is_default =
false);
91 void set_filter_index(
int filter_index);
95 void set_initial_directory(
const std::string &path);
99 void set_title(
const std::string &title);
109 std::shared_ptr<FileDialog_Impl> impl;
GUI base component class.
Definition: gui_component.h:80
OpenFileDialog component.
Definition: openfiledialog.h:43