Function TRAP::Utils::Dialogs::OpenMultipleFiles#
Function Documentation#
-
std::vector<std::string> TRAP::Utils::Dialogs::OpenMultipleFiles(const std::string &title, const std::string &defaultPathAndFile = "", const std::vector<std::pair<std::string, std::string>> &filterPatterns = {}, bool allFiles = true)#
Opens an open file dialog for multiple files. Alias for OpenFile();.
- Parameters:
title – Title for the dialog.
defaultPathAndFile – Sets a default path and file.
filterPatterns – File filters (separate multiple extensions for the same filter with a ‘;’. Example: {“Test File”, “*.Test;*.TS”}.
allFiles – Whether to add a filter for “All Files (*.*)” or not.
- Returns:
Physical path(s) of the dialog or empty vector.