![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
| virtual void | addExtension (const FileExtension &fileExt) override |
| virtual void | addExtension (std::string_view ext, std::string_view description) override |
| virtual void | addExtension (std::string_view extString) override |
| virtual void | addExtensions (const std::vector< FileExtension > &extensions) override |
| void | addSidebarPath (const PathType &path) |
| void | addSidebarPath (const QString &path) |
| void | addSidebarPath (const std::filesystem::path &path) |
| virtual int | exec () override |
| virtual inviwo::AcceptMode | getAcceptMode () const override |
| virtual std::string | getContentType () const override |
| virtual inviwo::FileMode | getFileMode () const override |
| virtual FileExtension | getSelectedFileExtension () const override |
| virtual std::vector< std::filesystem::path > | getSelectedFiles () const override |
| InviwoFileDialog (QWidget *parent=nullptr, std::string_view title="", std::string_view pathType="default", const std::filesystem::path &path={}) | |
| virtual void | setAcceptMode (inviwo::AcceptMode mode) override |
| virtual void | setContentType (std::string_view contentType) override |
| virtual void | setCurrentDirectory (const std::filesystem::path &path) override |
| set the current directory of the file dialog | |
| virtual void | setCurrentFile (const std::filesystem::path &filename) override |
| 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. | |
| virtual void | setFileMode (inviwo::FileMode mode) override |
| virtual void | setSelectedExtension (const FileExtension &ext) override |
| virtual void | setTitle (std::string_view title) override |
| virtual bool | show () override |
| Public Member Functions inherited from inviwo::FileDialog | |
| std::filesystem::path | getSelectedFile () const |
Protected Types | |
| using | FileExtMap = std::unordered_map<std::string, FileExtension> |
Protected Slots | |
| void | filterSelectionChanged (const QString &filter) |
Protected Member Functions | |
| FileExtension | getMatchingFileExtension (const QString &extStr) |
Protected Attributes | |
| QString | currentPath_ |
| QStringList | extensions_ |
| FileExtMap | extmap_ |
| QString | pathType_ |
| QString | selectedExtension_ |
| FileExtension | selectedFilter_ |
| QList< QUrl > | sidebarURLs_ |
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
set the current directory of the file dialog
| path | given path, must not contain a file name |
Implements inviwo::FileDialog.
|
overridevirtual |
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.
| filename | path and name of the file (can be either a file name or directory name including the full path) |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.
|
overridevirtual |
Implements inviwo::FileDialog.