QJSEngine¶

PyQt5.QtQml.QJSEngine

Inherits from QObject.

Inherited by QQmlEngine.

Description¶

TODO

Classes¶

Extensions

Enums¶

Extension

TODO

Member

Value

Description

AllExtensions

TODO

TODO

ConsoleExtension

TODO

TODO

GarbageCollectionExtension

TODO

TODO

TranslationExtension

TODO

TODO

Methods¶

__init__()

TODO


__init__(QObject)

TODO


collectGarbage()

TODO


evaluate(str, fileName: str = '', lineNumber: int = 1) → QJSValue

TODO


globalObject() → QJSValue

TODO


importModule(str) → QJSValue

TODO


installExtensions(Union[Extensions, Extension], object: Union[QJSValue, SpecialValue, bool, int, float, str] = QJSValue())

TODO


installTranslatorFunctions(object: Union[QJSValue, SpecialValue, bool, int, float, str] = QJSValue())

TODO


isInterrupted() → bool

TODO


newArray(length: int = 0) → QJSValue

TODO


newErrorObject(ErrorType, message: str = '') → QJSValue

TODO


newObject() → QJSValue

TODO


newQMetaObject(QMetaObject) → QJSValue

TODO


newQObject(QObject) → QJSValue

TODO


setInterrupted(bool)

TODO


throwError(str)

TODO


throwError(ErrorType, message: str = '')

TODO