17#ifndef __gui_dialog_file_h__
18#define __gui_dialog_file_h__
35 std::string
get_folder (QWidget* parent,
const std::string& caption, std::string* folder =
nullptr);
36 std::string
get_file (QWidget* parent,
const std::string& caption,
const std::string& filter = std::string(), std::string* folder =
nullptr);
37 vector<std::string> get_files (QWidget* parent,
const std::string& caption,
const std::string& filter = std::string(), std::string* folder =
nullptr);
38 std::string
get_save_name (QWidget* parent,
const std::string& caption,
const std::string& suggested_name = std::string(),
const std::string& filter = std::string(), std::string* folder =
nullptr);
40 inline std::string
get_image (QWidget* parent,
const std::string& caption, std::string* folder =
nullptr) {
48 inline std::string
get_save_image_name (QWidget* parent,
const std::string& caption,
const std::string& suggested_name = std::string(), std::string* folder =
nullptr) {
void check_overwrite_files_func(const std::string &name)
vector< std::string > get_files(QWidget *parent, const std::string &caption, const std::string &filter=std::string(), std::string *folder=nullptr)
const std::string image_filter_string
std::string get_image(QWidget *parent, const std::string &caption, std::string *folder=nullptr)
std::string get_save_image_name(QWidget *parent, const std::string &caption, const std::string &suggested_name=std::string(), std::string *folder=nullptr)
vector< std::string > get_images(QWidget *parent, const std::string &caption, std::string *folder=nullptr)
std::string get_folder(QWidget *parent, const std::string &caption, std::string *folder=nullptr)
std::string get_file(QWidget *parent, const std::string &caption, const std::string &filter=std::string(), std::string *folder=nullptr)
std::string get_save_name(QWidget *parent, const std::string &caption, const std::string &suggested_name=std::string(), const std::string &filter=std::string(), std::string *folder=nullptr)