|
virtual bool | show ()=0 |
|
virtual void | setTitle (const std::string &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 (const std::string &contentType)=0 |
|
virtual std::string | getContentType () const =0 |
|
virtual void | setCurrentFile (const std::string &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. More...
|
|
std::string | getSelectedFile () const |
|
virtual std::vector< std::string > | getSelectedFiles () const =0 |
|
virtual void | setCurrentDirectory (const std::string &path)=0 |
| set the current directory of the file dialog More...
|
|
virtual void | setSelectedExtension (const FileExtension &ext)=0 |
|
virtual FileExtension | getSelectedFileExtension () const =0 |
|
virtual void | addExtension (const FileExtension &fileExt)=0 |
|
virtual void | addExtension (const std::string &ext, const std::string &description)=0 |
|
virtual void | addExtension (const std::string &extString)=0 |
|
virtual void | addExtensions (const std::vector< FileExtension > &extensions)=0 |
|
◆ setCurrentDirectory()
virtual void inviwo::FileDialog::setCurrentDirectory |
( |
const std::string & |
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::string & |
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 files:
- filedialog.h
- filedialog.cpp