|  | 
| using | ResultType = qintptr | 
|  | 
|  | FileAssociations (QMainWindow *win) | 
| void | registerFileType (const std::string &documentId, const std::string &fileTypeName, const std::string &fileExtension, int appIconIndex=0, std::vector< FileAssociationCommand > commands={}) | 
| bool | nativeEventFilter (const QByteArray &eventType, void *message, qintptr *result) override | 
◆ registerFileType()
      
        
          | 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
- Parameters
- 
  
    | 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 |  
 
- See also
- FileAssociationCommand 
 
 
The documentation for this class was generated from the following file: