MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::FileDialogSignals Struct Reference

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 FileDialogSignalsinstance ()
 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)
 

Detailed Description

This structure contains global signals for file dialogs, that are called on valid selection of file or folder.


The documentation for this struct was generated from the following file: