Skip to content

Add possibility to import non-QFace types #83

Description

@jacky309

Sometimes it would be convenient to define QFace interfaces which use external types which are not described with QFace.
For example, if a C++ class called "MyClass" is defined in the namespace called "MyNamespace", it could be imported and used in a QFace file:

module mymodule 1.0

import interface MyNamespace.MyClass

interface MyInterface {
readonly MyNamespace.MyClass myPropertyOfNativeType
}

As far as the QFace Python object model is concerned, an imported interface could be provided as an "Interface" object (just like any "normal" interface), but with a new "imported" property set to true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions