|  | 
| virtual bool | show ()=0 | 
| virtual void | setTitle (std::string_view title)=0 | 
| virtual void | setAcceptMode (AcceptMode mode)=0 | 
| virtual AcceptMode | getAcceptMode () const =0 | 
| virtual void | setFileMode (FileMode mode)=0 | 
| virtual FileMode | getFileMode () const =0 | 
| virtual void | setContentType (std::string_view contentType)=0 | 
| virtual std::string | getContentType () const =0 | 
| virtual void | setCurrentFile (const std::filesystem::path &filename)=0 | 
|  | sets the current directory of the file dialog to the parent directory of the given file name or, if it is referring to a directory, to the given path. The file will be selected when the dialog is shown. 
 | 
| std::filesystem::path | getSelectedFile () const | 
| virtual std::vector< std::filesystem::path > | getSelectedFiles () const =0 | 
| virtual void | setCurrentDirectory (const std::filesystem::path &path)=0 | 
|  | set the current directory of the file dialog 
 | 
| virtual void | setSelectedExtension (const FileExtension &ext)=0 | 
| virtual FileExtension | getSelectedFileExtension () const =0 | 
| virtual void | addExtension (const FileExtension &fileExt)=0 | 
| virtual void | addExtension (std::string_view ext, std::string_view description)=0 | 
| virtual void | addExtension (std::string_view extString)=0 | 
| virtual void | addExtensions (const std::vector< FileExtension > &extensions)=0 | 
◆ setCurrentDirectory()
  
  | 
        
          | virtual void inviwo::FileDialog::setCurrentDirectory | ( | const std::filesystem::path & | path | ) |  |  | pure virtual | 
 
set the current directory of the file dialog 
- Parameters
- 
  
    | path | given path, must not contain a file name |  
 
Implemented in inviwo::InviwoFileDialog.
 
 
◆ setCurrentFile()
  
  | 
        
          | virtual void inviwo::FileDialog::setCurrentFile | ( | const std::filesystem::path & | filename | ) |  |  | pure virtual | 
 
sets the current directory of the file dialog to the parent directory of the given file name or, if it is referring to a directory, to the given path. The file will be selected when the dialog is shown. 
- Parameters
- 
  
    | filename | path and name of the file (can be either a file name or directory name including the full path) |  
 
Implemented in inviwo::InviwoFileDialog.
 
 
The documentation for this class was generated from the following file: