![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Types | |
| using | ResultType = qintptr |
Public Member Functions | |
| FileAssociations (QMainWindow *win) | |
| bool | nativeEventFilter (const QByteArray &eventType, void *message, qintptr *result) override |
| void | registerFileType (const std::string &documentId, const std::string &fileTypeName, const std::string &fileExtension, int appIconIndex=0, std::vector< FileAssociationCommand > commands={}) |
| void inviwo::FileAssociations::registerFileType | ( | const std::string & | documentId, |
| const std::string & | fileTypeName, | ||
| const std::string & | fileExtension, | ||
| int | appIconIndex = 0, | ||
| std::vector< FileAssociationCommand > | commands = {} ) |
Register a file type for opening with Inviwo
| documentId | Id of the document, e.g. "Inviwo.workspace" |
| fileTypeName | Name of the file type, e.g. "Inviwo Workspace" |
| fileExtension | File extension, including the dot (e.g. ".inv") |
| appIconIndex | Index of the app icon to use for the file in the windows explorer, typically the application icon |
| commands | Vector FileAssociationCommands |