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.
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.