|
RADLib
RADical C++ application framework
|
Backend-neutral expandable directory browser model. More...
#include <RADUi.h>
Static Public Member Functions | |
| static std::filesystem::path | stablePath (const std::filesystem::path &path) |
| Returns a stable absolute path when possible. More... | |
| static bool | extensionAllowed (const std::filesystem::path &path, const DirectoryBrowserOptions &options) |
| Returns true when extension matches options.allowedExtensions, or the list is empty. More... | |
| static DirectoryBrowserEntryKind | classify (const std::filesystem::directory_entry &entry) |
| Classifies a filesystem entry for display and behavior. More... | |
| static std::string | iconForKind (DirectoryBrowserEntryKind kind) |
| Returns the toolkit-neutral icon key for kind. More... | |
| static std::vector< DirectoryBrowserEntry > | snapshot (const std::filesystem::path &root, const std::set< std::filesystem::path > &expandedDirectories, const DirectoryBrowserOptions &options={}) |
| Builds a flattened tree snapshot from root and expanded directory paths. More... | |
Backend-neutral expandable directory browser model.
|
static |
Classifies a filesystem entry for display and behavior.
|
static |
Returns true when extension matches options.allowedExtensions, or the list is empty.
|
static |
Returns the toolkit-neutral icon key for kind.
|
static |
Builds a flattened tree snapshot from root and expanded directory paths.
|
static |
Returns a stable absolute path when possible.