This structure contains global signals for file dialogs, that are called on valid selection of file or folder. More...
#include <MRFileDialog.h>
Public Types | |
using | SelectFileSignal = Signal<void( const std::filesystem::path& path )> |
using | SelectFilesSignal = Signal<void( const std::vector<std::filesystem::path>& )> |
using | SelectFolderSignal = SelectFileSignal |
using | SelectFoldersSignal = SelectFilesSignal |
Static Public Member Functions | |
static MRVIEWER_API FileDialogSignals & | instance () |
returns instance of this holder | |
Public Attributes | |
SelectFileSignal | onOpenFile |
called when one file is selected for opening (openFileDialog and openFileDialogAsync ) | |
SelectFilesSignal | onOpenFiles |
called when several files are selected for opening (openFilesDialog and openFilesDialogAsync ) | |
SelectFileSignal | onSaveFile |
called when file name is selected for saving (saveFileDialog and saveFileDialogAsync ) | |
SelectFolderSignal | onSelectFolder |
called when one folder is selected (we do not now differ reason)(openFolderDialog and openFolderDialogAsync ) | |
SelectFoldersSignal | onSelectFolders |
called when several folders are selected (we do not now differ reason)(openFoldersDialog ) | |
This structure contains global signals for file dialogs, that are called on valid selection of file or folder.
using MR::FileDialogSignals::SelectFileSignal = Signal<void( const std::filesystem::path& path )> |
using MR::FileDialogSignals::SelectFilesSignal = Signal<void( const std::vector<std::filesystem::path>& )> |
|
static |
returns instance of this holder
SelectFileSignal MR::FileDialogSignals::onOpenFile |
called when one file is selected for opening (openFileDialog
and openFileDialogAsync
)
SelectFilesSignal MR::FileDialogSignals::onOpenFiles |
called when several files are selected for opening (openFilesDialog
and openFilesDialogAsync
)
SelectFileSignal MR::FileDialogSignals::onSaveFile |
called when file name is selected for saving (saveFileDialog
and saveFileDialogAsync
)
SelectFolderSignal MR::FileDialogSignals::onSelectFolder |
called when one folder is selected (we do not now differ reason)(openFolderDialog
and openFolderDialogAsync
)
SelectFoldersSignal MR::FileDialogSignals::onSelectFolders |
called when several folders are selected (we do not now differ reason)(openFoldersDialog
)