qtqml

package
v5.12.106 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2018 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCachedQmlUnit

func DeleteCachedQmlUnit(this *CachedQmlUnit)

func DeleteQGoListModel

func DeleteQGoListModel(this *QGoListModel)

func DeleteQJSEngine

func DeleteQJSEngine(this *QJSEngine)

func DeleteQJSValue

func DeleteQJSValue(this *QJSValue)

func DeleteQJSValueIterator

func DeleteQJSValueIterator(this *QJSValueIterator)

func DeleteQQmlAbstractUrlInterceptor

func DeleteQQmlAbstractUrlInterceptor(this *QQmlAbstractUrlInterceptor)

func DeleteQQmlApplicationEngine

func DeleteQQmlApplicationEngine(this *QQmlApplicationEngine)

func DeleteQQmlComponent

func DeleteQQmlComponent(this *QQmlComponent)

func DeleteQQmlContext

func DeleteQQmlContext(this *QQmlContext)

func DeleteQQmlDebuggingEnabler

func DeleteQQmlDebuggingEnabler(this *QQmlDebuggingEnabler)

func DeleteQQmlEngine

func DeleteQQmlEngine(this *QQmlEngine)

func DeleteQQmlError

func DeleteQQmlError(this *QQmlError)

func DeleteQQmlExpression

func DeleteQQmlExpression(this *QQmlExpression)

func DeleteQQmlExtensionInterface

func DeleteQQmlExtensionInterface(this *QQmlExtensionInterface)

func DeleteQQmlExtensionPlugin

func DeleteQQmlExtensionPlugin(this *QQmlExtensionPlugin)

func DeleteQQmlFile

func DeleteQQmlFile(this *QQmlFile)

func DeleteQQmlFileSelector

func DeleteQQmlFileSelector(this *QQmlFileSelector)

func DeleteQQmlImageProviderBase

func DeleteQQmlImageProviderBase(this *QQmlImageProviderBase)

func DeleteQQmlIncubationController

func DeleteQQmlIncubationController(this *QQmlIncubationController)

func DeleteQQmlIncubator

func DeleteQQmlIncubator(this *QQmlIncubator)

func DeleteQQmlInfo

func DeleteQQmlInfo(this *QQmlInfo)

func DeleteQQmlListReference

func DeleteQQmlListReference(this *QQmlListReference)

func DeleteQQmlNetworkAccessManagerFactory

func DeleteQQmlNetworkAccessManagerFactory(this *QQmlNetworkAccessManagerFactory)

func DeleteQQmlParserStatus

func DeleteQQmlParserStatus(this *QQmlParserStatus)

func DeleteQQmlProperty

func DeleteQQmlProperty(this *QQmlProperty)

func DeleteQQmlPropertyMap

func DeleteQQmlPropertyMap(this *QQmlPropertyMap)

func DeleteQQmlPropertyValueSource

func DeleteQQmlPropertyValueSource(this *QQmlPropertyValueSource)

func DeleteQQmlScriptString

func DeleteQQmlScriptString(this *QQmlScriptString)

func DeleteQQmlTypesExtensionInterface

func DeleteQQmlTypesExtensionInterface(this *QQmlTypesExtensionInterface)

func DeleteRegisterAutoParent

func DeleteRegisterAutoParent(this *RegisterAutoParent)

func DeleteRegisterCompositeSingletonType

func DeleteRegisterCompositeSingletonType(this *RegisterCompositeSingletonType)

func DeleteRegisterCompositeType

func DeleteRegisterCompositeType(this *RegisterCompositeType)

func DeleteRegisterInterface

func DeleteRegisterInterface(this *RegisterInterface)

func DeleteRegisterQmlUnitCacheHook

func DeleteRegisterQmlUnitCacheHook(this *RegisterQmlUnitCacheHook)

func DeleteRegisterSingletonType

func DeleteRegisterSingletonType(this *RegisterSingletonType)

func DeleteRegisterType

func DeleteRegisterType(this *RegisterType)

func KeepMe

func KeepMe()

func Operator_or89

func Operator_or89(f1 int, f2 int) *qtcore.QIncompatibleFlag

func Operator_or90 added in v5.12.106

func Operator_or90(f1 int, f2 int) *qtcore.QIncompatibleFlag

func QHash50 added in v5.12.106

func QHash50(key QQmlProperty_ITF) uint

func QJSEngine_ExtensionItemName

func QJSEngine_ExtensionItemName(val int) string

func QJSValue_ErrorTypeItemName added in v5.12.106

func QJSValue_ErrorTypeItemName(val int) string

func QJSValue_SpecialValueItemName

func QJSValue_SpecialValueItemName(val int) string

func QQmlAbstractUrlInterceptor_DataTypeItemName

func QQmlAbstractUrlInterceptor_DataTypeItemName(val int) string

func QQmlComponent_CompilationModeItemName

func QQmlComponent_CompilationModeItemName(val int) string

func QQmlComponent_QmlAttachedProperties

func QQmlComponent_QmlAttachedProperties(arg0 qtcore.QObject_ITF) unsafe.Pointer

func QQmlComponent_StatusItemName

func QQmlComponent_StatusItemName(val int) string

func QQmlDebuggingEnabler_ConnectToLocalDebugger

func QQmlDebuggingEnabler_ConnectToLocalDebugger(socketFileName string, mode int) bool

func QQmlDebuggingEnabler_DebuggerServices

func QQmlDebuggingEnabler_DebuggerServices() *qtcore.QStringList

func QQmlDebuggingEnabler_InspectorServices

func QQmlDebuggingEnabler_InspectorServices() *qtcore.QStringList

func QQmlDebuggingEnabler_NativeDebuggerServices

func QQmlDebuggingEnabler_NativeDebuggerServices() *qtcore.QStringList

func QQmlDebuggingEnabler_ProfilerServices

func QQmlDebuggingEnabler_ProfilerServices() *qtcore.QStringList

func QQmlDebuggingEnabler_SetServices

func QQmlDebuggingEnabler_SetServices(services qtcore.QStringList_ITF)

func QQmlDebuggingEnabler_StartModeItemName

func QQmlDebuggingEnabler_StartModeItemName(val int) string

func QQmlDebuggingEnabler_StartTcpDebugServer

func QQmlDebuggingEnabler_StartTcpDebugServer(port int, mode int, hostName string) bool

func QQmlEngine_ObjectOwnership

func QQmlEngine_ObjectOwnership(arg0 qtcore.QObject_ITF) int

func QQmlEngine_ObjectOwnershipItemName

func QQmlEngine_ObjectOwnershipItemName(val int) string

func QQmlEngine_SetContextForObject

func QQmlEngine_SetContextForObject(arg0 qtcore.QObject_ITF, arg1 QQmlContext_ITF)

func QQmlEngine_SetObjectOwnership

func QQmlEngine_SetObjectOwnership(arg0 qtcore.QObject_ITF, arg1 int)

func QQmlFile_IsLocalFile

func QQmlFile_IsLocalFile(url string) bool

func QQmlFile_IsLocalFile1

func QQmlFile_IsLocalFile1(url qtcore.QUrl_ITF) bool

func QQmlFile_IsSynchronous

func QQmlFile_IsSynchronous(url string) bool

func QQmlFile_IsSynchronous1

func QQmlFile_IsSynchronous1(url qtcore.QUrl_ITF) bool

func QQmlFile_StatusItemName

func QQmlFile_StatusItemName(val int) string

func QQmlFile_UrlToLocalFileOrQrc

func QQmlFile_UrlToLocalFileOrQrc(arg0 string) string

func QQmlFile_UrlToLocalFileOrQrc1

func QQmlFile_UrlToLocalFileOrQrc1(arg0 qtcore.QUrl_ITF) string

func QQmlImageProviderBase_FlagItemName

func QQmlImageProviderBase_FlagItemName(val int) string

func QQmlImageProviderBase_ImageTypeItemName

func QQmlImageProviderBase_ImageTypeItemName(val int) string

func QQmlIncubator_IncubationModeItemName

func QQmlIncubator_IncubationModeItemName(val int) string

func QQmlIncubator_StatusItemName

func QQmlIncubator_StatusItemName(val int) string

func QQmlProperty_PropertyTypeCategoryItemName

func QQmlProperty_PropertyTypeCategoryItemName(val int) string

func QQmlProperty_Read1

func QQmlProperty_Read1(arg0 qtcore.QObject_ITF, arg1 string) *qtcore.QVariant

func QQmlProperty_Read2

func QQmlProperty_Read2(arg0 qtcore.QObject_ITF, arg1 string, arg2 QQmlContext_ITF) *qtcore.QVariant

func QQmlProperty_Read3

func QQmlProperty_Read3(arg0 qtcore.QObject_ITF, arg1 string, arg2 QQmlEngine_ITF) *qtcore.QVariant

func QQmlProperty_TypeItemName

func QQmlProperty_TypeItemName(val int) string

func QQmlProperty_Write1

func QQmlProperty_Write1(arg0 qtcore.QObject_ITF, arg1 string, arg2 qtcore.QVariant_ITF) bool

func QQmlProperty_Write2

func QQmlProperty_Write2(arg0 qtcore.QObject_ITF, arg1 string, arg2 qtcore.QVariant_ITF, arg3 QQmlContext_ITF) bool

func QQmlProperty_Write3

func QQmlProperty_Write3(arg0 qtcore.QObject_ITF, arg1 string, arg2 qtcore.QVariant_ITF, arg3 QQmlEngine_ITF) bool

func QmlAttachedPropertiesObject

func QmlAttachedPropertiesObject(arg0 unsafe.Pointer, arg1 qtcore.QObject_ITF, arg2 qtcore.QMetaObject_ITF, create bool) *qtcore.QObject

func QmlAttachedPropertiesObjectById

func QmlAttachedPropertiesObjectById(arg0 int, arg1 qtcore.QObject_ITF, create bool) *qtcore.QObject

func QmlClearTypeRegistrations

func QmlClearTypeRegistrations()

func QmlExecuteDeferred

func QmlExecuteDeferred(arg0 qtcore.QObject_ITF)

func QmlProtectModule

func QmlProtectModule(uri string, majVersion int) bool

func QmlRegisterBaseTypes

func QmlRegisterBaseTypes(uri string, versionMajor int, versionMinor int)

func QmlRegisterModule

func QmlRegisterModule(uri string, versionMajor int, versionMinor int)

func QmlRegisterSingletonType

func QmlRegisterSingletonType(url qtcore.QUrl_ITF, uri string, versionMajor int, versionMinor int, qmlName string) int

func QmlRegisterSingletonType1

func QmlRegisterSingletonType1(uri string, versionMajor int, versionMinor int, typeName string, callback unsafe.Pointer) int

func QmlRegisterType

func QmlRegisterType(url qtcore.QUrl_ITF, uri string, versionMajor int, versionMinor int, qmlName string) int

func QmlRegisterTypeNotAvailable

func QmlRegisterTypeNotAvailable(uri string, versionMajor int, versionMinor int, qmlName string, message string) int

func QmlRegisterUncreatableMetaObject

func QmlRegisterUncreatableMetaObject(staticMetaObject qtcore.QMetaObject_ITF, uri string, versionMajor int, versionMinor int, qmlName string, reason string) int

func QmlTypeId added in v5.12.106

func QmlTypeId(uri string, versionMajor int, versionMinor int, qmlName string) int

func Qmlregister

func Qmlregister(arg0 int, arg1 unsafe.Pointer) int

func RegisterModel

func RegisterModel(name string, newfn func(*qtcore.QAbstractListModel) QGoListModel_ITF_RO2)

Types

type CachedQmlUnit

type CachedQmlUnit struct {
	*qtrt.CObject
}

func NewCachedQmlUnitFromPointer

func NewCachedQmlUnitFromPointer(cthis unsafe.Pointer) *CachedQmlUnit

func (*CachedQmlUnit) CachedQmlUnit_PTR

func (ptr *CachedQmlUnit) CachedQmlUnit_PTR() *CachedQmlUnit

func (*CachedQmlUnit) GetCthis

func (this *CachedQmlUnit) GetCthis() unsafe.Pointer

func (*CachedQmlUnit) NewFromPointer

func (*CachedQmlUnit) NewFromPointer(cthis unsafe.Pointer) *CachedQmlUnit

func (*CachedQmlUnit) SetCthis

func (this *CachedQmlUnit) SetCthis(cthis unsafe.Pointer)

type CachedQmlUnit_ITF

type CachedQmlUnit_ITF interface {
	CachedQmlUnit_PTR() *CachedQmlUnit
}

type QGoListModel

type QGoListModel struct {
	*qtcore.QAbstractItemModel
}

func NewQGoListModel

func NewQGoListModel(parent qtcore.QObject_ITF) *QGoListModel

func NewQGoListModelFromPointer

func NewQGoListModelFromPointer(cthis unsafe.Pointer) *QGoListModel

func NewQGoListModel__

func NewQGoListModel__() *QGoListModel

func (*QGoListModel) DropMimeData

func (this *QGoListModel) DropMimeData(data qtcore.QMimeData_ITF, action int, row int, column int, parent qtcore.QModelIndex_ITF) bool

Handles the data supplied by a drag and drop operation that ended with the given action.

Returns true if the data and action were handled by the model; otherwise returns false.

The specified row, column and parent indicate the location of an item in the model where the operation ended. It is the responsibility of the model to complete the action at the correct location.

For instance, a drop action on an item in a QTreeView can result in new items either being inserted as children of the item specified by row, column, and parent, or as siblings of the item.

When row and column are -1 it means that the dropped data should be considered as dropped directly on parent. Usually this will mean appending the data as child items of parent. If row and column are greater than or equal zero, it means that the drop occurred just before the specified row and column in the specified parent.

The mimeTypes() member is called to get the list of acceptable MIME types. This default implementation assumes the default implementation of mimeTypes(), which returns a single default MIME type. If you reimplement mimeTypes() in your custom model to return multiple MIME types, you must reimplement this function to make use of them.

See also supportedDropActions(), canDropMimeData(), and Using drag and drop with item views.

func (*QGoListModel) Flags

func (this *QGoListModel) Flags(index qtcore.QModelIndex_ITF) int

Returns the item flags for the given index.

The base class implementation returns a combination of flags that enables the item (ItemIsEnabled) and allows it to be selected (ItemIsSelectable).

See also Qt::ItemFlags.

func (*QGoListModel) GetCthis

func (this *QGoListModel) GetCthis() unsafe.Pointer

func (*QGoListModel) Index

func (this *QGoListModel) Index(row int, column int, parent qtcore.QModelIndex_ITF) *qtcore.QModelIndex

Returns the index of the item in the model specified by the given row, column and parent index.

When reimplementing this function in a subclass, call createIndex() to generate model indexes that other components can use to refer to items in your model.

See also createIndex().

func (*QGoListModel) Index__

func (this *QGoListModel) Index__(row int) *qtcore.QModelIndex

Returns the index of the item in the model specified by the given row, column and parent index.

When reimplementing this function in a subclass, call createIndex() to generate model indexes that other components can use to refer to items in your model.

See also createIndex().

func (*QGoListModel) Index__1

func (this *QGoListModel) Index__1(row int, column int) *qtcore.QModelIndex

Returns the index of the item in the model specified by the given row, column and parent index.

When reimplementing this function in a subclass, call createIndex() to generate model indexes that other components can use to refer to items in your model.

See also createIndex().

func (*QGoListModel) MetaObject

func (this *QGoListModel) MetaObject() *qtcore.QMetaObject

func (*QGoListModel) NewFromPointer

func (*QGoListModel) NewFromPointer(cthis unsafe.Pointer) *QGoListModel

func (*QGoListModel) QGoListModel_PTR

func (ptr *QGoListModel) QGoListModel_PTR() *QGoListModel

func (*QGoListModel) SetCthis

func (this *QGoListModel) SetCthis(cthis unsafe.Pointer)

func (*QGoListModel) Sibling

func (this *QGoListModel) Sibling(row int, column int, idx qtcore.QModelIndex_ITF) *qtcore.QModelIndex

Returns the sibling at row and column for the item at index, or an invalid QModelIndex if there is no sibling at that location.

sibling() is just a convenience function that finds the item's parent, and uses it to retrieve the index of the child item in the specified row and column.

This method can optionally be overridden for implementation-specific optimization.

See also index(), QModelIndex::row(), and QModelIndex::column().

type QGoListModel_ITF

type QGoListModel_ITF interface {
	qtcore.QAbstractItemModel_ITF
	QGoListModel_PTR() *QGoListModel
}

type QGoListModel_ITF_RO2

type QGoListModel_ITF_RO2 interface {
	RowCount() int
	Data(*qtcore.QModelIndex, int) *qtcore.QVariant
	RoleNames() map[int]string
}

type QGoListModel_ITF_RW2

type QGoListModel_ITF_RW2 interface {
	QGoListModel_ITF_RO2
	SetData()
}

type QJSEngine

type QJSEngine struct {
	*qtcore.QObject
}

func NewQJSEngine

func NewQJSEngine() *QJSEngine

func NewQJSEngine1

func NewQJSEngine1(parent qtcore.QObject_ITF) *QJSEngine

func NewQJSEngineFromPointer

func NewQJSEngineFromPointer(cthis unsafe.Pointer) *QJSEngine

func QjsEngine

func QjsEngine(arg0 qtcore.QObject_ITF) *QJSEngine

func (*QJSEngine) CollectGarbage

func (this *QJSEngine) CollectGarbage()

Runs the garbage collector.

The garbage collector will attempt to reclaim memory by locating and disposing of objects that are no longer reachable in the script environment.

Normally you don't need to call this function; the garbage collector will automatically be invoked when the QJSEngine decides that it's wise to do so (i.e. when a certain number of new objects have been created). However, you can call this function to explicitly request that garbage collection should be performed as soon as possible.

func (*QJSEngine) Evaluate

func (this *QJSEngine) Evaluate(program string, fileName string, lineNumber int) *QJSValue

Evaluates program, using lineNumber as the base line number, and returns the result of the evaluation.

The script code will be evaluated in the context of the global object.

The evaluation of program can cause an exception in the engine; in this case the return value will be the exception that was thrown (typically an Error object; see QJSValue::isError()).

lineNumber is used to specify a starting line number for program; line number information reported by the engine that pertains to this evaluation will be based on this argument. For example, if program consists of two lines of code, and the statement on the second line causes a script exception, the exception line number would be lineNumber plus one. When no starting line number is specified, line numbers will be 1-based.

fileName is used for error reporting. For example, in error objects the file name is accessible through the "fileName" property if it is provided with this function.

Note: If an exception was thrown and the exception value is not an Error instance (i.e., QJSValue::isError() returns false), the exception value will still be returned, but there is currently no API for detecting that an exception did occur in this case.

func (*QJSEngine) Evaluatep

func (this *QJSEngine) Evaluatep(program string) *QJSValue

Evaluates program, using lineNumber as the base line number, and returns the result of the evaluation.

The script code will be evaluated in the context of the global object.

The evaluation of program can cause an exception in the engine; in this case the return value will be the exception that was thrown (typically an Error object; see QJSValue::isError()).

lineNumber is used to specify a starting line number for program; line number information reported by the engine that pertains to this evaluation will be based on this argument. For example, if program consists of two lines of code, and the statement on the second line causes a script exception, the exception line number would be lineNumber plus one. When no starting line number is specified, line numbers will be 1-based.

fileName is used for error reporting. For example, in error objects the file name is accessible through the "fileName" property if it is provided with this function.

Note: If an exception was thrown and the exception value is not an Error instance (i.e., QJSValue::isError() returns false), the exception value will still be returned, but there is currently no API for detecting that an exception did occur in this case.

func (*QJSEngine) Evaluatep1

func (this *QJSEngine) Evaluatep1(program string, fileName string) *QJSValue

Evaluates program, using lineNumber as the base line number, and returns the result of the evaluation.

The script code will be evaluated in the context of the global object.

The evaluation of program can cause an exception in the engine; in this case the return value will be the exception that was thrown (typically an Error object; see QJSValue::isError()).

lineNumber is used to specify a starting line number for program; line number information reported by the engine that pertains to this evaluation will be based on this argument. For example, if program consists of two lines of code, and the statement on the second line causes a script exception, the exception line number would be lineNumber plus one. When no starting line number is specified, line numbers will be 1-based.

fileName is used for error reporting. For example, in error objects the file name is accessible through the "fileName" property if it is provided with this function.

Note: If an exception was thrown and the exception value is not an Error instance (i.e., QJSValue::isError() returns false), the exception value will still be returned, but there is currently no API for detecting that an exception did occur in this case.

func (*QJSEngine) ExtensionItemName

func (this *QJSEngine) ExtensionItemName(val int) string

func (*QJSEngine) GetCthis

func (this *QJSEngine) GetCthis() unsafe.Pointer

func (*QJSEngine) GlobalObject

func (this *QJSEngine) GlobalObject() *QJSValue

Returns this engine's Global Object.

By default, the Global Object contains the built-in objects that are part of ECMA-262, such as Math, Date and String. Additionally, you can set properties of the Global Object to make your own extensions available to all script code. Non-local variables in script code will be created as properties of the Global Object, as well as local variables in global code.

func (*QJSEngine) Handle

func (this *QJSEngine) Handle() unsafe.Pointer

func (*QJSEngine) ImportModule added in v5.12.106

func (this *QJSEngine) ImportModule(fileName string) *QJSValue

Imports the module located at fileName and returns a module namespace object that contains all exported variables, constants and functions as properties.

If this is the first time the module is imported in the engine, the file is loaded from the specified location in either the local file system or the Qt resource system and evaluated as an ECMAScript module. The file is expected to be encoded in UTF-8 text.

Subsequent imports of the same module will return the previously imported instance. Modules are singletons and remain around until the engine is destroyed.

The specified fileName will internally be normalized using QFileInfo::canonicalFilePath(). That means that multiple imports of the same file on disk using different relative paths will load the file only once.

Note: If an exception is thrown during the loading of the module, the return value will be the exception (typically an Error object; see QJSValue::isError()).

This function was introduced in Qt 5.12.

func (*QJSEngine) InstallExtensions

func (this *QJSEngine) InstallExtensions(extensions int, object QJSValue_ITF)

Installs JavaScript extensions to add functionality that is not available in a standard ECMAScript implementation.

The extensions are installed on the given object, or on the Global Object if no object is specified.

Several extensions can be installed at once by OR-ing the enum values:

installExtensions(QJSEngine::TranslationExtension | QJSEngine::ConsoleExtension);

This function was introduced in Qt 5.6.

See also Extension.

func (*QJSEngine) InstallExtensionsp

func (this *QJSEngine) InstallExtensionsp(extensions int)

Installs JavaScript extensions to add functionality that is not available in a standard ECMAScript implementation.

The extensions are installed on the given object, or on the Global Object if no object is specified.

Several extensions can be installed at once by OR-ing the enum values:

installExtensions(QJSEngine::TranslationExtension | QJSEngine::ConsoleExtension);

This function was introduced in Qt 5.6.

See also Extension.

func (*QJSEngine) InstallTranslatorFunctions

func (this *QJSEngine) InstallTranslatorFunctions(object QJSValue_ITF)

func (*QJSEngine) InstallTranslatorFunctionsp

func (this *QJSEngine) InstallTranslatorFunctionsp()

func (*QJSEngine) MetaObject

func (this *QJSEngine) MetaObject() *qtcore.QMetaObject

func (*QJSEngine) NewArray

func (this *QJSEngine) NewArray(length uint) *QJSValue

Creates a JavaScript object of class Array with the given length.

See also newObject().

func (*QJSEngine) NewArrayp

func (this *QJSEngine) NewArrayp() *QJSValue

Creates a JavaScript object of class Array with the given length.

See also newObject().

func (*QJSEngine) NewErrorObject added in v5.12.106

func (this *QJSEngine) NewErrorObject(errorType int, message string) *QJSValue

Creates a JavaScript object of class Error.

The prototype of the created object will be errorType.

This function was introduced in Qt 5.12.

See also newObject(), throwError(), and QJSValue::isError().

func (*QJSEngine) NewErrorObjectp added in v5.12.106

func (this *QJSEngine) NewErrorObjectp(errorType int) *QJSValue

Creates a JavaScript object of class Error.

The prototype of the created object will be errorType.

This function was introduced in Qt 5.12.

See also newObject(), throwError(), and QJSValue::isError().

func (*QJSEngine) NewForInherit

func (*QJSEngine) NewForInherit() *QJSEngine

Constructs a QJSEngine object.

The globalObject() is initialized to have properties as described in ECMA-262, Section 15.1.

func (*QJSEngine) NewForInherit1

func (*QJSEngine) NewForInherit1(parent qtcore.QObject_ITF) *QJSEngine

Constructs a QJSEngine object.

The globalObject() is initialized to have properties as described in ECMA-262, Section 15.1.

func (*QJSEngine) NewFromPointer

func (*QJSEngine) NewFromPointer(cthis unsafe.Pointer) *QJSEngine

func (*QJSEngine) NewObject

func (this *QJSEngine) NewObject() *QJSValue

Creates a JavaScript object of class Object.

The prototype of the created object will be the Object prototype object.

See also newArray() and QJSValue::setProperty().

func (*QJSEngine) NewQObject

func (this *QJSEngine) NewQObject(object qtcore.QObject_ITF) *QJSValue

Creates a JavaScript object that wraps the given QObject object, using JavaScriptOwnership.

Signals and slots, properties and children of object are available as properties of the created QJSValue.

If object is a null pointer, this function returns a null value.

If a default prototype has been registered for the object's class (or its superclass, recursively), the prototype of the new script object will be set to be that default prototype.

If the given object is deleted outside of the engine's control, any attempt to access the deleted QObject's members through the JavaScript wrapper object (either by script code or C++) will result in a script exception.

See also QJSValue::toQObject().

func (*QJSEngine) QJSEngine_PTR

func (ptr *QJSEngine) QJSEngine_PTR() *QJSEngine

func (*QJSEngine) SetCthis

func (this *QJSEngine) SetCthis(cthis unsafe.Pointer)

func (*QJSEngine) ThrowError added in v5.12.106

func (this *QJSEngine) ThrowError(message string)

Throws a run-time error (exception) with the given message.

This method is the C++ counterpart of a throw() expression in JavaScript. It enables C++ code to report run-time errors to QJSEngine. Therefore it should only be called from C++ code that was invoked by a JavaScript function through QJSEngine.

When returning from C++, the engine will interrupt the normal flow of execution and call the the next pre-registered exception handler with an error object that contains the given message. The error object will point to the location of the top-most context on the JavaScript caller stack; specifically, it will have properties lineNumber, fileName and stack. These properties are described in Script Exceptions.

In the following example a C++ method in FileAccess.cpp throws an error in qmlFile.qml at the position where readFileAsText() is called:

// qmlFile.qml
function someFunction() {
  ...
  var text = FileAccess.readFileAsText("/path/to/file.txt");
}

// FileAccess.cpp
// Assuming that FileAccess is a QObject-derived class that has been
// registered as a singleton type and provides an invokable method
// readFileAsText()

QJSValue FileAccess::readFileAsText(const QString & filePath) {
  QFile file(filePath);

  if (!file.open(QIODevice::ReadOnly)) {
    jsEngine->throwError(file.errorString());
    return QString();
  }

  ...
  return content;
}

It is also possible to catch the thrown error in JavaScript:

// qmlFile.qml
function someFunction() {
  ...
  var text;
  try {
    text = FileAccess.readFileAsText("/path/to/file.txt");
  } catch (error) {
    console.warn("In " + error.fileName + ":" + "error.lineNumber" +
                 ": " + error.message);
  }
}

If you need a more specific run-time error to describe an exception, you can use the throwError(QJSValue::ErrorType errorType, const QString &message) overload.

This function was introduced in Qt 5.12.

See also Script Exceptions.

func (*QJSEngine) ThrowError1 added in v5.12.106

func (this *QJSEngine) ThrowError1(errorType int, message string)

Throws a run-time error (exception) with the given message.

This method is the C++ counterpart of a throw() expression in JavaScript. It enables C++ code to report run-time errors to QJSEngine. Therefore it should only be called from C++ code that was invoked by a JavaScript function through QJSEngine.

When returning from C++, the engine will interrupt the normal flow of execution and call the the next pre-registered exception handler with an error object that contains the given message. The error object will point to the location of the top-most context on the JavaScript caller stack; specifically, it will have properties lineNumber, fileName and stack. These properties are described in Script Exceptions.

In the following example a C++ method in FileAccess.cpp throws an error in qmlFile.qml at the position where readFileAsText() is called:

// qmlFile.qml
function someFunction() {
  ...
  var text = FileAccess.readFileAsText("/path/to/file.txt");
}

// FileAccess.cpp
// Assuming that FileAccess is a QObject-derived class that has been
// registered as a singleton type and provides an invokable method
// readFileAsText()

QJSValue FileAccess::readFileAsText(const QString & filePath) {
  QFile file(filePath);

  if (!file.open(QIODevice::ReadOnly)) {
    jsEngine->throwError(file.errorString());
    return QString();
  }

  ...
  return content;
}

It is also possible to catch the thrown error in JavaScript:

// qmlFile.qml
function someFunction() {
  ...
  var text;
  try {
    text = FileAccess.readFileAsText("/path/to/file.txt");
  } catch (error) {
    console.warn("In " + error.fileName + ":" + "error.lineNumber" +
                 ": " + error.message);
  }
}

If you need a more specific run-time error to describe an exception, you can use the throwError(QJSValue::ErrorType errorType, const QString &message) overload.

This function was introduced in Qt 5.12.

See also Script Exceptions.

func (*QJSEngine) ThrowError1p added in v5.12.106

func (this *QJSEngine) ThrowError1p(errorType int)

Throws a run-time error (exception) with the given message.

This method is the C++ counterpart of a throw() expression in JavaScript. It enables C++ code to report run-time errors to QJSEngine. Therefore it should only be called from C++ code that was invoked by a JavaScript function through QJSEngine.

When returning from C++, the engine will interrupt the normal flow of execution and call the the next pre-registered exception handler with an error object that contains the given message. The error object will point to the location of the top-most context on the JavaScript caller stack; specifically, it will have properties lineNumber, fileName and stack. These properties are described in Script Exceptions.

In the following example a C++ method in FileAccess.cpp throws an error in qmlFile.qml at the position where readFileAsText() is called:

// qmlFile.qml
function someFunction() {
  ...
  var text = FileAccess.readFileAsText("/path/to/file.txt");
}

// FileAccess.cpp
// Assuming that FileAccess is a QObject-derived class that has been
// registered as a singleton type and provides an invokable method
// readFileAsText()

QJSValue FileAccess::readFileAsText(const QString & filePath) {
  QFile file(filePath);

  if (!file.open(QIODevice::ReadOnly)) {
    jsEngine->throwError(file.errorString());
    return QString();
  }

  ...
  return content;
}

It is also possible to catch the thrown error in JavaScript:

// qmlFile.qml
function someFunction() {
  ...
  var text;
  try {
    text = FileAccess.readFileAsText("/path/to/file.txt");
  } catch (error) {
    console.warn("In " + error.fileName + ":" + "error.lineNumber" +
                 ": " + error.message);
  }
}

If you need a more specific run-time error to describe an exception, you can use the throwError(QJSValue::ErrorType errorType, const QString &message) overload.

This function was introduced in Qt 5.12.

See also Script Exceptions.

type QJSEngine_ITF

type QJSEngine_ITF interface {
	qtcore.QObject_ITF
	QJSEngine_PTR() *QJSEngine
}

type QJSEngine__Extension

type QJSEngine__Extension = int
const QJSEngine__AllExtensions QJSEngine__Extension = -1
const QJSEngine__ConsoleExtension QJSEngine__Extension = 2
const QJSEngine__GarbageCollectionExtension QJSEngine__Extension = 4
const QJSEngine__TranslationExtension QJSEngine__Extension = 1

type QJSValue

type QJSValue struct {
	*qtrt.CObject
}

func NewQJSValue

func NewQJSValue(value int) *QJSValue

func NewQJSValue1

func NewQJSValue1(value bool) *QJSValue

func NewQJSValue2

func NewQJSValue2(value int) *QJSValue

func NewQJSValue3

func NewQJSValue3(value uint) *QJSValue

func NewQJSValue4

func NewQJSValue4(value float64) *QJSValue

func NewQJSValue5

func NewQJSValue5(value string) *QJSValue

func NewQJSValue6

func NewQJSValue6(value qtcore.QLatin1String_ITF) *QJSValue

func NewQJSValue7

func NewQJSValue7(str string) *QJSValue

func NewQJSValueFromPointer

func NewQJSValueFromPointer(cthis unsafe.Pointer) *QJSValue

func NewQJSValuep

func NewQJSValuep() *QJSValue

func (*QJSValue) DeleteProperty

func (this *QJSValue) DeleteProperty(name string) bool

Attempts to delete this object's property of the given name. Returns true if the property was deleted, otherwise returns false.

The behavior of this function is consistent with the JavaScript delete operator. In particular:

Non-configurable properties cannot be deleted. This function will return true even if this object doesn't have a property of the given name (i.e., non-existent properties are "trivially deletable"). If this object doesn't have an own property of the given name, but an object in the prototype() chain does, the prototype object's property is not deleted, and this function returns true.

See also setProperty() and hasOwnProperty().

func (*QJSValue) Engine

func (this *QJSValue) Engine() *QJSEngine

func (*QJSValue) Equals

func (this *QJSValue) Equals(other QJSValue_ITF) bool

Returns true if this QJSValue is equal to other, otherwise returns false. The comparison follows the behavior described in ECMA-262 section 11.9.3, "The Abstract Equality Comparison Algorithm".

This function can return true even if the type of this QJSValue is different from the type of the other value; i.e. the comparison is not strict. For example, comparing the number 9 to the string "9" returns true; comparing an undefined value to a null value returns true; comparing a Number object whose primitive value is 6 to a String object whose primitive value is "6" returns true; and comparing the number 1 to the boolean value true returns true. If you want to perform a comparison without such implicit value conversion, use strictlyEquals().

Note that if this QJSValue or the other value are objects, calling this function has side effects on the script engine, since the engine will call the object's valueOf() function (and possibly toString()) in an attempt to convert the object to a primitive value (possibly resulting in an uncaught script exception).

See also strictlyEquals().

func (*QJSValue) ErrorType added in v5.12.106

func (this *QJSValue) ErrorType() int

Returns the error type this QJSValue represents if it is an Error object. Otherwise, returns NoError."

This function was introduced in Qt 5.12.

See also isError() and QJSEngine - Script Exceptions.

func (*QJSValue) ErrorTypeItemName added in v5.12.106

func (this *QJSValue) ErrorTypeItemName(val int) string

func (*QJSValue) GetCthis

func (this *QJSValue) GetCthis() unsafe.Pointer

func (*QJSValue) HasOwnProperty

func (this *QJSValue) HasOwnProperty(name string) bool

Returns true if this object has an own (not prototype-inherited) property of the given name, otherwise returns false.

See also property() and hasProperty().

func (*QJSValue) HasProperty

func (this *QJSValue) HasProperty(name string) bool

Returns true if this object has a property of the given name, otherwise returns false.

See also property() and hasOwnProperty().

func (*QJSValue) IsArray

func (this *QJSValue) IsArray() bool

Returns true if this QJSValue is an object of the Array class; otherwise returns false.

See also QJSEngine::newArray().

func (*QJSValue) IsBool

func (this *QJSValue) IsBool() bool

Returns true if this QJSValue is of the primitive type Boolean; otherwise returns false.

See also toBool().

func (*QJSValue) IsCallable

func (this *QJSValue) IsCallable() bool

Returns true if this QJSValue can be called a function, otherwise returns false.

See also call().

func (*QJSValue) IsDate

func (this *QJSValue) IsDate() bool

Returns true if this QJSValue is an object of the Date class; otherwise returns false.

func (*QJSValue) IsError

func (this *QJSValue) IsError() bool

Returns true if this QJSValue is an object of the Error class; otherwise returns false.

See also errorType() and QJSEngine - Script Exceptions.

func (*QJSValue) IsNull

func (this *QJSValue) IsNull() bool

Returns true if this QJSValue is of the primitive type Null; otherwise returns false.

func (*QJSValue) IsNumber

func (this *QJSValue) IsNumber() bool

Returns true if this QJSValue is of the primitive type Number; otherwise returns false.

See also toNumber().

func (*QJSValue) IsObject

func (this *QJSValue) IsObject() bool

Returns true if this QJSValue is of the Object type; otherwise returns false.

Note that function values, variant values, and QObject values are objects, so this function returns true for such values.

See also QJSEngine::newObject().

func (*QJSValue) IsQMetaObject

func (this *QJSValue) IsQMetaObject() bool

Returns true if this QJSValue is a QMetaObject; otherwise returns false.

This function was introduced in Qt 5.8.

See also toQMetaObject() and QJSEngine::newQMetaObject().

func (*QJSValue) IsQObject

func (this *QJSValue) IsQObject() bool

Returns true if this QJSValue is a QObject; otherwise returns false.

Note: This function returns true even if the QObject that this QJSValue wraps has been deleted.

See also toQObject() and QJSEngine::newQObject().

func (*QJSValue) IsRegExp

func (this *QJSValue) IsRegExp() bool

Returns true if this QJSValue is an object of the RegExp class; otherwise returns false.

func (*QJSValue) IsString

func (this *QJSValue) IsString() bool

Returns true if this QJSValue is of the primitive type String; otherwise returns false.

See also toString().

func (*QJSValue) IsUndefined

func (this *QJSValue) IsUndefined() bool

Returns true if this QJSValue is of the primitive type Undefined; otherwise returns false.

func (*QJSValue) IsVariant

func (this *QJSValue) IsVariant() bool

Returns true if this QJSValue is a variant value; otherwise returns false.

See also toVariant().

func (*QJSValue) NewForInherit

func (*QJSValue) NewForInherit(value int) *QJSValue

Constructs a new QJSValue with a special value.

func (*QJSValue) NewForInherit1

func (*QJSValue) NewForInherit1(value bool) *QJSValue

Constructs a new QJSValue with a special value.

func (*QJSValue) NewForInherit2

func (*QJSValue) NewForInherit2(value int) *QJSValue

Constructs a new QJSValue with a special value.

func (*QJSValue) NewForInherit3

func (*QJSValue) NewForInherit3(value uint) *QJSValue

Constructs a new QJSValue with a special value.

func (*QJSValue) NewForInherit4

func (*QJSValue) NewForInherit4(value float64) *QJSValue

Constructs a new QJSValue with a special value.

func (*QJSValue) NewForInherit5

func (*QJSValue) NewForInherit5(value string) *QJSValue

Constructs a new QJSValue with a special value.

func (*QJSValue) NewForInherit6

func (*QJSValue) NewForInherit6(value qtcore.QLatin1String_ITF) *QJSValue

Constructs a new QJSValue with a special value.

func (*QJSValue) NewForInherit7

func (*QJSValue) NewForInherit7(str string) *QJSValue

Constructs a new QJSValue with a special value.

func (*QJSValue) NewForInheritp

func (*QJSValue) NewForInheritp() *QJSValue

Constructs a new QJSValue with a special value.

func (*QJSValue) NewFromPointer

func (*QJSValue) NewFromPointer(cthis unsafe.Pointer) *QJSValue

func (*QJSValue) Operator_equal

func (this *QJSValue) Operator_equal(other unsafe.Pointer) *QJSValue

func (*QJSValue) Operator_equal1

func (this *QJSValue) Operator_equal1(other QJSValue_ITF) *QJSValue

func (*QJSValue) Property

func (this *QJSValue) Property(name string) *QJSValue

Returns the value of this QJSValue's property with the given name. If no such property exists, an undefined QJSValue is returned.

If the property is implemented using a getter function (i.e. has the PropertyGetter flag set), calling property() has side-effects on the script engine, since the getter function will be called (possibly resulting in an uncaught script exception). If an exception occurred, property() returns the value that was thrown (typically an Error object).

To access array elements, use the setProperty(quint32 arrayIndex, const QJSValue &value) overload instead.

See also setProperty(), hasProperty(), and QJSValueIterator.

func (*QJSValue) Property1

func (this *QJSValue) Property1(arrayIndex uint) *QJSValue

Returns the value of this QJSValue's property with the given name. If no such property exists, an undefined QJSValue is returned.

If the property is implemented using a getter function (i.e. has the PropertyGetter flag set), calling property() has side-effects on the script engine, since the getter function will be called (possibly resulting in an uncaught script exception). If an exception occurred, property() returns the value that was thrown (typically an Error object).

To access array elements, use the setProperty(quint32 arrayIndex, const QJSValue &value) overload instead.

See also setProperty(), hasProperty(), and QJSValueIterator.

func (*QJSValue) Prototype

func (this *QJSValue) Prototype() *QJSValue

If this QJSValue is an object, returns the internal prototype (__proto__ property) of this object; otherwise returns an undefined QJSValue.

See also setPrototype() and isObject().

func (*QJSValue) QJSValue_PTR

func (ptr *QJSValue) QJSValue_PTR() *QJSValue

func (*QJSValue) SetCthis

func (this *QJSValue) SetCthis(cthis unsafe.Pointer)

func (*QJSValue) SetProperty

func (this *QJSValue) SetProperty(name string, value QJSValue_ITF)

Sets the value of this QJSValue's property with the given name to the given value.

If this QJSValue is not an object, this function does nothing.

If this QJSValue does not already have a property with name name, a new property is created.

To modify array elements, use the setProperty(quint32 arrayIndex, const QJSValue &value) overload instead.

See also property() and deleteProperty().

func (*QJSValue) SetProperty1

func (this *QJSValue) SetProperty1(arrayIndex uint, value QJSValue_ITF)

Sets the value of this QJSValue's property with the given name to the given value.

If this QJSValue is not an object, this function does nothing.

If this QJSValue does not already have a property with name name, a new property is created.

To modify array elements, use the setProperty(quint32 arrayIndex, const QJSValue &value) overload instead.

See also property() and deleteProperty().

func (*QJSValue) SetPrototype

func (this *QJSValue) SetPrototype(prototype QJSValue_ITF)

If this QJSValue is an object, sets the internal prototype (__proto__ property) of this object to be prototype; if the QJSValue is null, it sets the prototype to null; otherwise does nothing.

The internal prototype should not be confused with the public property with name "prototype"; the public prototype is usually only set on functions that act as constructors.

See also prototype() and isObject().

func (*QJSValue) SpecialValueItemName

func (this *QJSValue) SpecialValueItemName(val int) string

func (*QJSValue) StrictlyEquals

func (this *QJSValue) StrictlyEquals(other QJSValue_ITF) bool

Returns true if this QJSValue is equal to other using strict comparison (no conversion), otherwise returns false. The comparison follows the behavior described in ECMA-262 section 11.9.6, "The Strict Equality Comparison Algorithm".

If the type of this QJSValue is different from the type of the other value, this function returns false. If the types are equal, the result depends on the type, as shown in the following table:

TypeResult

Undefinedtrue Nulltrue Booleantrue if both values are true, false otherwise Numberfalse if either value is NaN (Not-a-Number); true if values are equal, false otherwise Stringtrue if both values are exactly the same sequence of characters, false otherwise Objecttrue if both values refer to the same object, false otherwise

See also equals().

func (*QJSValue) ToBool

func (this *QJSValue) ToBool() bool

Returns the boolean value of this QJSValue, using the conversion rules described in ECMA-262 section 9.2, "ToBoolean".

Note that if this QJSValue is an object, calling this function has side effects on the script engine, since the engine will call the object's valueOf() function (and possibly toString()) in an attempt to convert the object to a primitive value (possibly resulting in an uncaught script exception).

See also isBool().

func (*QJSValue) ToDateTime

func (this *QJSValue) ToDateTime() *qtcore.QDateTime

Returns a QDateTime representation of this value, in local time. If this QJSValue is not a date, or the value of the date is NaN (Not-a-Number), an invalid QDateTime is returned.

See also isDate().

func (*QJSValue) ToInt

func (this *QJSValue) ToInt() int

Returns the signed 32-bit integer value of this QJSValue, using the conversion rules described in ECMA-262 section 9.5, "ToInt32".

Note that if this QJSValue is an object, calling this function has side effects on the script engine, since the engine will call the object's valueOf() function (and possibly toString()) in an attempt to convert the object to a primitive value (possibly resulting in an uncaught script exception).

See also toNumber() and toUInt().

func (*QJSValue) ToNumber

func (this *QJSValue) ToNumber() float64

Returns the number value of this QJSValue, as defined in ECMA-262 section 9.3, "ToNumber".

Note that if this QJSValue is an object, calling this function has side effects on the script engine, since the engine will call the object's valueOf() function (and possibly toString()) in an attempt to convert the object to a primitive value (possibly resulting in an uncaught script exception).

See also isNumber(), toInt(), and toUInt().

func (*QJSValue) ToQMetaObject

func (this *QJSValue) ToQMetaObject() *qtcore.QMetaObject

* If this QJSValue is a QMetaObject, returns the QMetaObject pointer * that the QJSValue represents; otherwise, returns 0. * *

This function was introduced in Qt 5.8.

See also isQMetaObject().

func (*QJSValue) ToQObject

func (this *QJSValue) ToQObject() *qtcore.QObject

If this QJSValue is a QObject, returns the QObject pointer that the QJSValue represents; otherwise, returns 0.

If the QObject that this QJSValue wraps has been deleted, this function returns 0 (i.e. it is possible for toQObject() to return 0 even when isQObject() returns true).

See also isQObject().

func (*QJSValue) ToString

func (this *QJSValue) ToString() string

Returns the string value of this QJSValue, as defined in ECMA-262 section 9.8, "ToString".

Note that if this QJSValue is an object, calling this function has side effects on the script engine, since the engine will call the object's toString() function (and possibly valueOf()) in an attempt to convert the object to a primitive value (possibly resulting in an uncaught script exception).

See also isString().

func (*QJSValue) ToUInt

func (this *QJSValue) ToUInt() uint

Returns the unsigned 32-bit integer value of this QJSValue, using the conversion rules described in ECMA-262 section 9.6, "ToUint32".

Note that if this QJSValue is an object, calling this function has side effects on the script engine, since the engine will call the object's valueOf() function (and possibly toString()) in an attempt to convert the object to a primitive value (possibly resulting in an uncaught script exception).

See also toNumber() and toInt().

func (*QJSValue) ToVariant

func (this *QJSValue) ToVariant() *qtcore.QVariant

Returns the QVariant value of this QJSValue, if it can be converted to a QVariant; otherwise returns an invalid QVariant. The conversion is performed according to the following table:

Input TypeResult

UndefinedAn invalid QVariant. NullA QVariant containing a null pointer (QMetaType::Nullptr). BooleanA QVariant containing the value of the boolean. NumberA QVariant containing the value of the number. StringA QVariant containing the value of the string. QVariant ObjectThe result is the QVariant value of the object (no conversion). QObject ObjectA QVariant containing a pointer to the QObject. Date ObjectA QVariant containing the date value (toDateTime()). RegExp ObjectA QVariant containing the regular expression value. Array ObjectThe array is converted to a QVariantList. Each element is converted to a QVariant, recursively; cyclic references are not followed. ObjectThe object is converted to a QVariantMap. Each property is converted to a QVariant, recursively; cyclic references are not followed.

See also isVariant().

type QJSValueIterator

type QJSValueIterator struct {
	*qtrt.CObject
}

func NewQJSValueIterator

func NewQJSValueIterator(value QJSValue_ITF) *QJSValueIterator

func NewQJSValueIteratorFromPointer

func NewQJSValueIteratorFromPointer(cthis unsafe.Pointer) *QJSValueIterator

func (*QJSValueIterator) GetCthis

func (this *QJSValueIterator) GetCthis() unsafe.Pointer

func (*QJSValueIterator) HasNext

func (this *QJSValueIterator) HasNext() bool

Returns true if there is at least one item ahead of the iterator (i.e. the iterator is not at the back of the property sequence); otherwise returns false.

See also next().

func (*QJSValueIterator) Name

func (this *QJSValueIterator) Name() string

Returns the name of the last property that was jumped over using next().

See also value().

func (*QJSValueIterator) NewForInherit

func (*QJSValueIterator) NewForInherit(value QJSValue_ITF) *QJSValueIterator

Constructs an iterator for traversing object. The iterator is set to be at the front of the sequence of properties (before the first property).

func (*QJSValueIterator) NewFromPointer

func (*QJSValueIterator) NewFromPointer(cthis unsafe.Pointer) *QJSValueIterator

func (*QJSValueIterator) Next

func (this *QJSValueIterator) Next() bool

Advances the iterator by one position. Returns true if there was at least one item ahead of the iterator (i.e. the iterator was not already at the back of the property sequence); otherwise returns false.

See also hasNext() and name().

func (*QJSValueIterator) Operator_equal

func (this *QJSValueIterator) Operator_equal(value QJSValue_ITF) *QJSValueIterator

func (*QJSValueIterator) QJSValueIterator_PTR

func (ptr *QJSValueIterator) QJSValueIterator_PTR() *QJSValueIterator

func (*QJSValueIterator) SetCthis

func (this *QJSValueIterator) SetCthis(cthis unsafe.Pointer)

func (*QJSValueIterator) Value

func (this *QJSValueIterator) Value() *QJSValue

Returns the value of the last property that was jumped over using next().

See also name().

type QJSValueIterator_ITF

type QJSValueIterator_ITF interface {
	QJSValueIterator_PTR() *QJSValueIterator
}

type QJSValueList

type QJSValueList struct {
	*qtrt.CObject
}

body block begin

func (*QJSValueList) Append0

func (this *QJSValueList) Append0()

void append(const T &)

func (*QJSValueList) Append1

func (this *QJSValueList) Append1()

void append(const QList<T> &)

func (*QJSValueList) At0

func (this *QJSValueList) At0() *QJSValue

const T & at(int)

func (*QJSValueList) Back0

func (this *QJSValueList) Back0() *QJSValue

T & back()

func (*QJSValueList) Back1

func (this *QJSValueList) Back1() *QJSValue

const T & back()

func (*QJSValueList) Begin0

func (this *QJSValueList) Begin0()

QList::iterator begin()

func (*QJSValueList) Begin1

func (this *QJSValueList) Begin1()

QList::const_iterator begin()

func (*QJSValueList) Cbegin0

func (this *QJSValueList) Cbegin0()

QList::const_iterator cbegin()

func (*QJSValueList) Cend0

func (this *QJSValueList) Cend0()

QList::const_iterator cend()

func (*QJSValueList) Clear0

func (this *QJSValueList) Clear0()

void clear()

func (*QJSValueList) ConstBegin0

func (this *QJSValueList) ConstBegin0()

QList::const_iterator constBegin()

func (*QJSValueList) ConstEnd0

func (this *QJSValueList) ConstEnd0()

QList::const_iterator constEnd()

func (*QJSValueList) ConstFirst0

func (this *QJSValueList) ConstFirst0() *QJSValue

const T & constFirst()

func (*QJSValueList) ConstLast0

func (this *QJSValueList) ConstLast0() *QJSValue

const T & constLast()

func (*QJSValueList) Contains0

func (this *QJSValueList) Contains0() bool

bool contains(const T &)

func (*QJSValueList) Contains_impl0

func (this *QJSValueList) Contains_impl0() bool

bool contains_impl(const T &, QListData::NotArrayCompatibleLayout)

func (*QJSValueList) Contains_impl1

func (this *QJSValueList) Contains_impl1() bool

bool contains_impl(const T &, QListData::ArrayCompatibleLayout)

func (*QJSValueList) Count0

func (this *QJSValueList) Count0() int

int count(const T &)

func (*QJSValueList) Count1

func (this *QJSValueList) Count1() int

int count()

func (*QJSValueList) Count_impl0

func (this *QJSValueList) Count_impl0() int

int count_impl(const T &, QListData::NotArrayCompatibleLayout)

func (*QJSValueList) Count_impl1

func (this *QJSValueList) Count_impl1() int

int count_impl(const T &, QListData::ArrayCompatibleLayout)

func (*QJSValueList) Crbegin0

func (this *QJSValueList) Crbegin0()

QList::const_reverse_iterator crbegin()

func (*QJSValueList) Crend0

func (this *QJSValueList) Crend0()

QList::const_reverse_iterator crend()

func (*QJSValueList) Dealloc0

func (this *QJSValueList) Dealloc0()

void dealloc(QListData::Data *)

func (*QJSValueList) Detach0

func (this *QJSValueList) Detach0()

void detach()

func (*QJSValueList) DetachShared0

func (this *QJSValueList) DetachShared0()

void detachShared()

func (*QJSValueList) Detach_helper0

func (this *QJSValueList) Detach_helper0()

void detach_helper(int)

func (*QJSValueList) Detach_helper1

func (this *QJSValueList) Detach_helper1()

void detach_helper()

func (*QJSValueList) Detach_helper_grow0

func (this *QJSValueList) Detach_helper_grow0()

QList::Node * detach_helper_grow(int, int)

func (*QJSValueList) Empty0

func (this *QJSValueList) Empty0() bool

bool empty()

func (*QJSValueList) End0

func (this *QJSValueList) End0()

QList::iterator end()

func (*QJSValueList) End1

func (this *QJSValueList) End1()

QList::const_iterator end()

func (*QJSValueList) EndsWith0

func (this *QJSValueList) EndsWith0() bool

bool endsWith(const T &)

func (*QJSValueList) Erase0

func (this *QJSValueList) Erase0()

QList::iterator erase(QList::iterator)

func (*QJSValueList) Erase1

func (this *QJSValueList) Erase1()

QList::iterator erase(QList::iterator, QList::iterator)

func (*QJSValueList) First0

func (this *QJSValueList) First0() *QJSValue

T & first()

func (*QJSValueList) First1

func (this *QJSValueList) First1() *QJSValue

const T & first()

func (*QJSValueList) FromSet0

func (this *QJSValueList) FromSet0() *QJSValueList

QList<T> fromSet(const QSet<T> &)

func (*QJSValueList) FromStdList0

func (this *QJSValueList) FromStdList0() *QJSValueList

QList<T> fromStdList(const std::list<T> &)

func (*QJSValueList) FromVector0

func (this *QJSValueList) FromVector0() *QJSValueList

QList<T> fromVector(const QVector<T> &)

func (*QJSValueList) Front0

func (this *QJSValueList) Front0() *QJSValue

T & front()

func (*QJSValueList) Front1

func (this *QJSValueList) Front1() *QJSValue

const T & front()

func (*QJSValueList) IndexOf0

func (this *QJSValueList) IndexOf0() int

int indexOf(const T &, int)

func (*QJSValueList) Insert0

func (this *QJSValueList) Insert0()

void insert(int, const T &)

func (*QJSValueList) Insert1

func (this *QJSValueList) Insert1()

QList::iterator insert(QList::iterator, const T &)

func (*QJSValueList) IsDetached0

func (this *QJSValueList) IsDetached0() bool

bool isDetached()

func (*QJSValueList) IsEmpty0

func (this *QJSValueList) IsEmpty0() bool

bool isEmpty()

func (*QJSValueList) IsSharedWith0

func (this *QJSValueList) IsSharedWith0() bool

bool isSharedWith(const QList<T> &)

func (*QJSValueList) IsValidIterator0

func (this *QJSValueList) IsValidIterator0() bool

bool isValidIterator(const QList::iterator &)

func (*QJSValueList) Last0

func (this *QJSValueList) Last0() *QJSValue

T & last()

func (*QJSValueList) Last1

func (this *QJSValueList) Last1() *QJSValue

const T & last()

func (*QJSValueList) LastIndexOf0

func (this *QJSValueList) LastIndexOf0() int

int lastIndexOf(const T &, int)

func (*QJSValueList) Length0

func (this *QJSValueList) Length0() int

int length()

func (*QJSValueList) Mid0

func (this *QJSValueList) Mid0() *QJSValueList

QList<T> mid(int, int)

func (*QJSValueList) Move0

func (this *QJSValueList) Move0()

void move(int, int)

func (*QJSValueList) Node_construct0

func (this *QJSValueList) Node_construct0()

void node_construct(QList::Node *, const T &)

func (*QJSValueList) Node_copy0

func (this *QJSValueList) Node_copy0()

void node_copy(QList::Node *, QList::Node *, QList::Node *)

func (*QJSValueList) Node_destruct0

func (this *QJSValueList) Node_destruct0()

void node_destruct(QList::Node *)

func (*QJSValueList) Node_destruct1

func (this *QJSValueList) Node_destruct1()

void node_destruct(QList::Node *, QList::Node *)

func (*QJSValueList) Op_eq_impl0

func (this *QJSValueList) Op_eq_impl0() bool

bool op_eq_impl(const QList<T> &, QListData::NotArrayCompatibleLayout)

func (*QJSValueList) Op_eq_impl1

func (this *QJSValueList) Op_eq_impl1() bool

bool op_eq_impl(const QList<T> &, QListData::ArrayCompatibleLayout)

func (*QJSValueList) Operator_add0

func (this *QJSValueList) Operator_add0() *QJSValueList

QList<T> operator+(const QList<T> &)

func (*QJSValueList) Operator_add_equal0

func (this *QJSValueList) Operator_add_equal0() *QJSValueList

QList<T> & operator+=(const QList<T> &)

func (*QJSValueList) Operator_add_equal1

func (this *QJSValueList) Operator_add_equal1() *QJSValueList

QList<T> & operator+=(const T &)

func (*QJSValueList) Operator_equal0

func (this *QJSValueList) Operator_equal0() *QJSValueList

QList<T> & operator=(const QList<T> &)

func (*QJSValueList) Operator_equal1

func (this *QJSValueList) Operator_equal1() *QJSValueList

QList<T> & operator=(QList<T> &&)

func (*QJSValueList) Operator_equal_equal0

func (this *QJSValueList) Operator_equal_equal0() bool

bool operator==(const QList<T> &)

func (*QJSValueList) Operator_get_index0

func (this *QJSValueList) Operator_get_index0() *QJSValue

const T & operator[](int)

func (*QJSValueList) Operator_get_index1

func (this *QJSValueList) Operator_get_index1() *QJSValue

T & operator[](int)

func (*QJSValueList) Operator_left_shift0

func (this *QJSValueList) Operator_left_shift0() *QJSValueList

QList<T> & operator<<(const T &)

func (*QJSValueList) Operator_left_shift1

func (this *QJSValueList) Operator_left_shift1() *QJSValueList

QList<T> & operator<<(const QList<T> &)

func (*QJSValueList) Operator_not_equal0

func (this *QJSValueList) Operator_not_equal0() bool

bool operator!=(const QList<T> &)

func (*QJSValueList) Pop_back0

func (this *QJSValueList) Pop_back0()

void pop_back()

func (*QJSValueList) Pop_front0

func (this *QJSValueList) Pop_front0()

void pop_front()

func (*QJSValueList) Prepend0

func (this *QJSValueList) Prepend0()

void prepend(const T &)

func (*QJSValueList) Push_back0

func (this *QJSValueList) Push_back0()

void push_back(const T &)

func (*QJSValueList) Push_front0

func (this *QJSValueList) Push_front0()

void push_front(const T &)

func (*QJSValueList) Rbegin0

func (this *QJSValueList) Rbegin0()

QList::reverse_iterator rbegin()

func (*QJSValueList) Rbegin1

func (this *QJSValueList) Rbegin1()

QList::const_reverse_iterator rbegin()

func (*QJSValueList) RemoveAll0

func (this *QJSValueList) RemoveAll0() int

int removeAll(const T &)

func (*QJSValueList) RemoveAt0

func (this *QJSValueList) RemoveAt0()

void removeAt(int)

func (*QJSValueList) RemoveFirst0

func (this *QJSValueList) RemoveFirst0()

void removeFirst()

func (*QJSValueList) RemoveLast0

func (this *QJSValueList) RemoveLast0()

void removeLast()

func (*QJSValueList) RemoveOne0

func (this *QJSValueList) RemoveOne0() bool

bool removeOne(const T &)

func (*QJSValueList) Rend0

func (this *QJSValueList) Rend0()

QList::reverse_iterator rend()

func (*QJSValueList) Rend1

func (this *QJSValueList) Rend1()

QList::const_reverse_iterator rend()

func (*QJSValueList) Replace0

func (this *QJSValueList) Replace0()

void replace(int, const T &)

func (*QJSValueList) Reserve0

func (this *QJSValueList) Reserve0()

void reserve(int)

func (*QJSValueList) SetSharable0

func (this *QJSValueList) SetSharable0()

void setSharable(bool)

func (*QJSValueList) Size0

func (this *QJSValueList) Size0() int

int size()

func (*QJSValueList) StartsWith0

func (this *QJSValueList) StartsWith0() bool

bool startsWith(const T &)

func (*QJSValueList) Swap0

func (this *QJSValueList) Swap0()

void swap(QList<T> &)

func (*QJSValueList) Swap1

func (this *QJSValueList) Swap1()

void swap(int, int)

func (*QJSValueList) TakeAt0

func (this *QJSValueList) TakeAt0() *QJSValue

T takeAt(int)

func (*QJSValueList) TakeFirst0

func (this *QJSValueList) TakeFirst0() *QJSValue

T takeFirst()

func (*QJSValueList) TakeLast0

func (this *QJSValueList) TakeLast0() *QJSValue

T takeLast()

func (*QJSValueList) ToSet0

func (this *QJSValueList) ToSet0()

QSet<T> toSet()

func (*QJSValueList) ToStdList0

func (this *QJSValueList) ToStdList0()

std::list<T> toStdList()

func (*QJSValueList) ToVector0

func (this *QJSValueList) ToVector0()

QVector<T> toVector()

func (*QJSValueList) Value0

func (this *QJSValueList) Value0() *QJSValue

T value(int)

func (*QJSValueList) Value1

func (this *QJSValueList) Value1() *QJSValue

T value(int, const T &)

type QJSValueListx

type QJSValueListx struct {
	*qtrt.CObject
}

///

func NewQJSValueListxFromPointer

func NewQJSValueListxFromPointer(cthis unsafe.Pointer) *QJSValueListx

func (*QJSValueListx) At

func (this *QJSValueListx) At(i int) *QJSValue

func (*QJSValueListx) ConvertFromSlice

func (*QJSValueListx) ConvertFromSlice(lst []*QJSValue) *QJSValueListx

func (*QJSValueListx) ConvertToSlice

func (this *QJSValueListx) ConvertToSlice() (lst []*QJSValue)

func (*QJSValueListx) Count

func (this *QJSValueListx) Count() int

func (*QJSValueListx) GetCthis

func (this *QJSValueListx) GetCthis() unsafe.Pointer

func (*QJSValueListx) NewFromPointer

func (*QJSValueListx) NewFromPointer(cthis unsafe.Pointer) *QJSValueListx

func (*QJSValueListx) SetCthis

func (this *QJSValueListx) SetCthis(cthis unsafe.Pointer)

type QJSValue_ITF

type QJSValue_ITF interface {
	QJSValue_PTR() *QJSValue
}

type QJSValue__ErrorType added in v5.12.106

type QJSValue__ErrorType = int

Use this enum for JavaScript language-specific types of Error objects.

They may be useful when emulating language features in C++ requires the use of specialized exception types. In addition, they may help to more clearly communicate certain typical conditions, instead of throwing a generic JavaScript exception. For example, code that deals with networking and resource locators may find it useful to propagate errors related to malformed locators using the URIError type.

This enum was introduced or modified in Qt 5.12.

const QJSValue__EvalError QJSValue__ErrorType = 2
const QJSValue__GenericError QJSValue__ErrorType = 1

A generic Error object, but not of a specific sub-type.

const QJSValue__NoError QJSValue__ErrorType = 0
const QJSValue__RangeError QJSValue__ErrorType = 3

A value did not match the expected set or range.

const QJSValue__ReferenceError QJSValue__ErrorType = 4

A non-existing variable referenced.

const QJSValue__SyntaxError QJSValue__ErrorType = 5

An invalid token or sequence of tokens was encountered that does not conform with the syntax of the language.

const QJSValue__TypeError QJSValue__ErrorType = 6

An operand or argument is incompatible with the type expected.

const QJSValue__URIError QJSValue__ErrorType = 7

A URI handling function was used incorrectly or the URI provided is malformed.

type QJSValue__SpecialValue

type QJSValue__SpecialValue = int

This enum is used to specify a single-valued type.

const QJSValue__NullValue QJSValue__SpecialValue = 0

A null value.

const QJSValue__UndefinedValue QJSValue__SpecialValue = 1

An undefined value.

type QQmlAbstractUrlInterceptor

type QQmlAbstractUrlInterceptor struct {
	*qtrt.CObject
}

func NewQQmlAbstractUrlInterceptor

func NewQQmlAbstractUrlInterceptor() *QQmlAbstractUrlInterceptor

func NewQQmlAbstractUrlInterceptorFromPointer

func NewQQmlAbstractUrlInterceptorFromPointer(cthis unsafe.Pointer) *QQmlAbstractUrlInterceptor

func (*QQmlAbstractUrlInterceptor) DataTypeItemName

func (this *QQmlAbstractUrlInterceptor) DataTypeItemName(val int) string

func (*QQmlAbstractUrlInterceptor) GetCthis

func (this *QQmlAbstractUrlInterceptor) GetCthis() unsafe.Pointer

func (*QQmlAbstractUrlInterceptor) Intercept

func (this *QQmlAbstractUrlInterceptor) Intercept(path qtcore.QUrl_ITF, type_ int) *qtcore.QUrl

A pure virtual function where you can intercept the url. The returned value is taken as the new value for the url. The type of url being intercepted is given by the type variable.

Your implementation of this function must be thread-safe, as it can be called from multiple threads at the same time.

func (*QQmlAbstractUrlInterceptor) NewForInherit

Constructor for QQmlAbstractUrlInterceptor.

func (*QQmlAbstractUrlInterceptor) NewFromPointer

func (*QQmlAbstractUrlInterceptor) QQmlAbstractUrlInterceptor_PTR

func (ptr *QQmlAbstractUrlInterceptor) QQmlAbstractUrlInterceptor_PTR() *QQmlAbstractUrlInterceptor

func (*QQmlAbstractUrlInterceptor) SetCthis

func (this *QQmlAbstractUrlInterceptor) SetCthis(cthis unsafe.Pointer)

type QQmlAbstractUrlInterceptor_ITF

type QQmlAbstractUrlInterceptor_ITF interface {
	QQmlAbstractUrlInterceptor_PTR() *QQmlAbstractUrlInterceptor
}

type QQmlAbstractUrlInterceptor__DataType

type QQmlAbstractUrlInterceptor__DataType = int

Specifies where URL interception is taking place.

Because QML loads qmldir files for locating types, there are two URLs involved in loading a QML type. The URL of the (possibly implicit) qmldir used for locating the type and the URL of the file which defines the type. Intercepting both leads to either complex URL replacement or double URL replacements for the same file.

const QQmlAbstractUrlInterceptor__JavaScriptFile QQmlAbstractUrlInterceptor__DataType = 1

The URL being intercepted is an import for a Javascript file.

const QQmlAbstractUrlInterceptor__QmlFile QQmlAbstractUrlInterceptor__DataType = 0

The URL being intercepted is for a Qml file. Intercepting this, but not the Qmldir file, leaves the base dir of a QML file untouched and acts like replacing the file with another file.

const QQmlAbstractUrlInterceptor__QmldirFile QQmlAbstractUrlInterceptor__DataType = 2

The URL being intercepted is for a Qmldir file. Intercepting this, but not the QmlFile, allows for swapping out entire sub trees.

const QQmlAbstractUrlInterceptor__UrlString QQmlAbstractUrlInterceptor__DataType = 4096

type QQmlApplicationEngine

type QQmlApplicationEngine struct {
	*QQmlEngine
}

func NewQQmlApplicationEngine

func NewQQmlApplicationEngine(parent qtcore.QObject_ITF) *QQmlApplicationEngine

func NewQQmlApplicationEngine1

func NewQQmlApplicationEngine1(url qtcore.QUrl_ITF, parent qtcore.QObject_ITF) *QQmlApplicationEngine

func NewQQmlApplicationEngine1p

func NewQQmlApplicationEngine1p(url qtcore.QUrl_ITF) *QQmlApplicationEngine

func NewQQmlApplicationEngine2

func NewQQmlApplicationEngine2(filePath string, parent qtcore.QObject_ITF) *QQmlApplicationEngine

func NewQQmlApplicationEngine2p

func NewQQmlApplicationEngine2p(filePath string) *QQmlApplicationEngine

func NewQQmlApplicationEngineFromPointer

func NewQQmlApplicationEngineFromPointer(cthis unsafe.Pointer) *QQmlApplicationEngine

func NewQQmlApplicationEnginep

func NewQQmlApplicationEnginep() *QQmlApplicationEngine

func (*QQmlApplicationEngine) GetCthis

func (this *QQmlApplicationEngine) GetCthis() unsafe.Pointer

func (*QQmlApplicationEngine) Load

func (this *QQmlApplicationEngine) Load(url qtcore.QUrl_ITF)

Loads the root QML file located at url. The object tree defined by the file is created immediately for local file urls. Remote urls are loaded asynchronously, listen to the objectCreated signal to determine when the object tree is ready.

If an error occurs, error messages are printed with qWarning.

func (*QQmlApplicationEngine) Load1

func (this *QQmlApplicationEngine) Load1(filePath string)

Loads the root QML file located at url. The object tree defined by the file is created immediately for local file urls. Remote urls are loaded asynchronously, listen to the objectCreated signal to determine when the object tree is ready.

If an error occurs, error messages are printed with qWarning.

func (*QQmlApplicationEngine) LoadData

func (this *QQmlApplicationEngine) LoadData(data qtcore.QByteArray_ITF, url qtcore.QUrl_ITF)

Loads the QML given in data. The object tree defined by data is instantiated immediately.

If a url is specified it is used as the base url of the component. This affects relative paths within the data and error messages.

If an error occurs, error messages are printed with qWarning.

func (*QQmlApplicationEngine) LoadDatap

func (this *QQmlApplicationEngine) LoadDatap(data qtcore.QByteArray_ITF)

Loads the QML given in data. The object tree defined by data is instantiated immediately.

If a url is specified it is used as the base url of the component. This affects relative paths within the data and error messages.

If an error occurs, error messages are printed with qWarning.

func (*QQmlApplicationEngine) MetaObject

func (this *QQmlApplicationEngine) MetaObject() *qtcore.QMetaObject

func (*QQmlApplicationEngine) NewForInherit

Create a new QQmlApplicationEngine with the given parent. You will have to call load() later in order to load a QML file.

func (*QQmlApplicationEngine) NewForInherit1

Create a new QQmlApplicationEngine with the given parent. You will have to call load() later in order to load a QML file.

func (*QQmlApplicationEngine) NewForInherit1p

Create a new QQmlApplicationEngine with the given parent. You will have to call load() later in order to load a QML file.

func (*QQmlApplicationEngine) NewForInherit2

func (*QQmlApplicationEngine) NewForInherit2(filePath string, parent qtcore.QObject_ITF) *QQmlApplicationEngine

Create a new QQmlApplicationEngine with the given parent. You will have to call load() later in order to load a QML file.

func (*QQmlApplicationEngine) NewForInherit2p

func (*QQmlApplicationEngine) NewForInherit2p(filePath string) *QQmlApplicationEngine

Create a new QQmlApplicationEngine with the given parent. You will have to call load() later in order to load a QML file.

func (*QQmlApplicationEngine) NewForInheritp

func (*QQmlApplicationEngine) NewForInheritp() *QQmlApplicationEngine

Create a new QQmlApplicationEngine with the given parent. You will have to call load() later in order to load a QML file.

func (*QQmlApplicationEngine) NewFromPointer

func (*QQmlApplicationEngine) ObjectCreated

func (this *QQmlApplicationEngine) ObjectCreated(object qtcore.QObject_ITF, url qtcore.QUrl_ITF)

This signal is emitted when an object finishes loading. If loading was successful, object contains a pointer to the loaded object, otherwise the pointer is NULL.

The url to the component the object came from is also provided.

Note: If the path to the component was provided as a QString containing a relative path, the url will contain a fully resolved path to the file.

func (*QQmlApplicationEngine) QQmlApplicationEngine_PTR

func (ptr *QQmlApplicationEngine) QQmlApplicationEngine_PTR() *QQmlApplicationEngine

func (*QQmlApplicationEngine) RootObjects

func (this *QQmlApplicationEngine) RootObjects() *qtcore.QObjectList

Returns a list of all the root objects instantiated by the QQmlApplicationEngine. This will only contain objects loaded via load() or a convenience constructor.

Note: In Qt versions prior to 5.9, this function is marked as non-const.

func (*QQmlApplicationEngine) RootObjects1

func (this *QQmlApplicationEngine) RootObjects1() *qtcore.QObjectList

Returns a list of all the root objects instantiated by the QQmlApplicationEngine. This will only contain objects loaded via load() or a convenience constructor.

Note: In Qt versions prior to 5.9, this function is marked as non-const.

func (*QQmlApplicationEngine) SetCthis

func (this *QQmlApplicationEngine) SetCthis(cthis unsafe.Pointer)

type QQmlApplicationEngine_ITF

type QQmlApplicationEngine_ITF interface {
	QQmlEngine_ITF
	QQmlApplicationEngine_PTR() *QQmlApplicationEngine
}

type QQmlComponent

type QQmlComponent struct {
	*qtcore.QObject
}

func NewQQmlComponent

func NewQQmlComponent(parent qtcore.QObject_ITF) *QQmlComponent

func NewQQmlComponent1

func NewQQmlComponent1(arg0 QQmlEngine_ITF, parent qtcore.QObject_ITF) *QQmlComponent

func NewQQmlComponent1p

func NewQQmlComponent1p(arg0 QQmlEngine_ITF) *QQmlComponent

func NewQQmlComponent2

func NewQQmlComponent2(arg0 QQmlEngine_ITF, fileName string, parent qtcore.QObject_ITF) *QQmlComponent

func NewQQmlComponent2p

func NewQQmlComponent2p(arg0 QQmlEngine_ITF, fileName string) *QQmlComponent

func NewQQmlComponent3

func NewQQmlComponent3(arg0 QQmlEngine_ITF, fileName string, mode int, parent qtcore.QObject_ITF) *QQmlComponent

func NewQQmlComponent3p

func NewQQmlComponent3p(arg0 QQmlEngine_ITF, fileName string, mode int) *QQmlComponent

func NewQQmlComponent4

func NewQQmlComponent4(arg0 QQmlEngine_ITF, url qtcore.QUrl_ITF, parent qtcore.QObject_ITF) *QQmlComponent

func NewQQmlComponent4p

func NewQQmlComponent4p(arg0 QQmlEngine_ITF, url qtcore.QUrl_ITF) *QQmlComponent

func NewQQmlComponent5

func NewQQmlComponent5(arg0 QQmlEngine_ITF, url qtcore.QUrl_ITF, mode int, parent qtcore.QObject_ITF) *QQmlComponent

func NewQQmlComponent5p

func NewQQmlComponent5p(arg0 QQmlEngine_ITF, url qtcore.QUrl_ITF, mode int) *QQmlComponent

func NewQQmlComponentFromPointer

func NewQQmlComponentFromPointer(cthis unsafe.Pointer) *QQmlComponent

func NewQQmlComponentp

func NewQQmlComponentp() *QQmlComponent

func (*QQmlComponent) BeginCreate

func (this *QQmlComponent) BeginCreate(arg0 QQmlContext_ITF) *qtcore.QObject

This method provides advanced control over component instance creation. In general, programmers should use QQmlComponent::create() to create object instances.

Create an object instance from this component. Returns 0 if creation failed. publicContext specifies the context within which to create the object instance.

When QQmlComponent constructs an instance, it occurs in three steps:

func (*QQmlComponent) CompilationModeItemName

func (this *QQmlComponent) CompilationModeItemName(val int) string

func (*QQmlComponent) CompleteCreate

func (this *QQmlComponent) CompleteCreate()

This method provides advanced control over component instance creation. In general, programmers should use QQmlComponent::create() to create a component.

This function completes the component creation begun with QQmlComponent::beginCreate() and must be called afterwards.

See also beginCreate().

func (*QQmlComponent) Create

func (this *QQmlComponent) Create(context QQmlContext_ITF) *qtcore.QObject

Create an object instance from this component. Returns 0 if creation failed. context specifies the context within which to create the object instance.

If context is 0 (the default), it will create the instance in the engine' s root context.

The ownership of the returned object instance is transferred to the caller.

If the object being created from this component is a visual item, it must have a visual parent, which can be set by calling QQuickItem::setParentItem(). See Concepts - Visual Parent in Qt Quick for more details.

See also QQmlEngine::ObjectOwnership.

func (*QQmlComponent) Create1

func (this *QQmlComponent) Create1(arg0 QQmlIncubator_ITF, context QQmlContext_ITF, forContext QQmlContext_ITF)

Create an object instance from this component. Returns 0 if creation failed. context specifies the context within which to create the object instance.

If context is 0 (the default), it will create the instance in the engine' s root context.

The ownership of the returned object instance is transferred to the caller.

If the object being created from this component is a visual item, it must have a visual parent, which can be set by calling QQuickItem::setParentItem(). See Concepts - Visual Parent in Qt Quick for more details.

See also QQmlEngine::ObjectOwnership.

func (*QQmlComponent) Create1p

func (this *QQmlComponent) Create1p(arg0 QQmlIncubator_ITF)

Create an object instance from this component. Returns 0 if creation failed. context specifies the context within which to create the object instance.

If context is 0 (the default), it will create the instance in the engine' s root context.

The ownership of the returned object instance is transferred to the caller.

If the object being created from this component is a visual item, it must have a visual parent, which can be set by calling QQuickItem::setParentItem(). See Concepts - Visual Parent in Qt Quick for more details.

See also QQmlEngine::ObjectOwnership.

func (*QQmlComponent) Create1p1

func (this *QQmlComponent) Create1p1(arg0 QQmlIncubator_ITF, context QQmlContext_ITF)

Create an object instance from this component. Returns 0 if creation failed. context specifies the context within which to create the object instance.

If context is 0 (the default), it will create the instance in the engine' s root context.

The ownership of the returned object instance is transferred to the caller.

If the object being created from this component is a visual item, it must have a visual parent, which can be set by calling QQuickItem::setParentItem(). See Concepts - Visual Parent in Qt Quick for more details.

See also QQmlEngine::ObjectOwnership.

func (*QQmlComponent) Createp

func (this *QQmlComponent) Createp() *qtcore.QObject

Create an object instance from this component. Returns 0 if creation failed. context specifies the context within which to create the object instance.

If context is 0 (the default), it will create the instance in the engine' s root context.

The ownership of the returned object instance is transferred to the caller.

If the object being created from this component is a visual item, it must have a visual parent, which can be set by calling QQuickItem::setParentItem(). See Concepts - Visual Parent in Qt Quick for more details.

See also QQmlEngine::ObjectOwnership.

func (*QQmlComponent) CreationContext

func (this *QQmlComponent) CreationContext() *QQmlContext

Returns the QQmlContext the component was created in. This is only valid for components created directly from QML.

func (*QQmlComponent) Engine added in v5.12.106

func (this *QQmlComponent) Engine() *QQmlEngine

Returns the QQmlEngine of this component.

This function was introduced in Qt 5.12.

func (*QQmlComponent) ErrorString

func (this *QQmlComponent) ErrorString() string

func (*QQmlComponent) GetCthis

func (this *QQmlComponent) GetCthis() unsafe.Pointer

func (*QQmlComponent) IsError

func (this *QQmlComponent) IsError() bool

Returns true if status() == QQmlComponent::Error.

func (*QQmlComponent) IsLoading

func (this *QQmlComponent) IsLoading() bool

Returns true if status() == QQmlComponent::Loading.

func (*QQmlComponent) IsNull

func (this *QQmlComponent) IsNull() bool

Returns true if status() == QQmlComponent::Null.

func (*QQmlComponent) IsReady

func (this *QQmlComponent) IsReady() bool

Returns true if status() == QQmlComponent::Ready.

func (*QQmlComponent) LoadUrl

func (this *QQmlComponent) LoadUrl(url qtcore.QUrl_ITF)

Load the QQmlComponent from the provided url.

Ensure that the URL provided is full and correct, in particular, use QUrl::fromLocalFile() when loading a file from the local filesystem.

Relative paths will be resolved against QQmlEngine::baseUrl(), which is the current working directory unless specified.

func (*QQmlComponent) LoadUrl1

func (this *QQmlComponent) LoadUrl1(url qtcore.QUrl_ITF, mode int)

Load the QQmlComponent from the provided url.

Ensure that the URL provided is full and correct, in particular, use QUrl::fromLocalFile() when loading a file from the local filesystem.

Relative paths will be resolved against QQmlEngine::baseUrl(), which is the current working directory unless specified.

func (*QQmlComponent) MetaObject

func (this *QQmlComponent) MetaObject() *qtcore.QMetaObject

func (*QQmlComponent) NewForInherit

func (*QQmlComponent) NewForInherit(parent qtcore.QObject_ITF) *QQmlComponent

Create a QQmlComponent with no data and give it the specified engine and parent. Set the data with setData().

func (*QQmlComponent) NewForInherit1

func (*QQmlComponent) NewForInherit1(arg0 QQmlEngine_ITF, parent qtcore.QObject_ITF) *QQmlComponent

Create a QQmlComponent with no data and give it the specified engine and parent. Set the data with setData().

func (*QQmlComponent) NewForInherit1p

func (*QQmlComponent) NewForInherit1p(arg0 QQmlEngine_ITF) *QQmlComponent

Create a QQmlComponent with no data and give it the specified engine and parent. Set the data with setData().

func (*QQmlComponent) NewForInherit2

func (*QQmlComponent) NewForInherit2(arg0 QQmlEngine_ITF, fileName string, parent qtcore.QObject_ITF) *QQmlComponent

Create a QQmlComponent with no data and give it the specified engine and parent. Set the data with setData().

func (*QQmlComponent) NewForInherit2p

func (*QQmlComponent) NewForInherit2p(arg0 QQmlEngine_ITF, fileName string) *QQmlComponent

Create a QQmlComponent with no data and give it the specified engine and parent. Set the data with setData().

func (*QQmlComponent) NewForInherit3

func (*QQmlComponent) NewForInherit3(arg0 QQmlEngine_ITF, fileName string, mode int, parent qtcore.QObject_ITF) *QQmlComponent

Create a QQmlComponent with no data and give it the specified engine and parent. Set the data with setData().

func (*QQmlComponent) NewForInherit3p

func (*QQmlComponent) NewForInherit3p(arg0 QQmlEngine_ITF, fileName string, mode int) *QQmlComponent

Create a QQmlComponent with no data and give it the specified engine and parent. Set the data with setData().

func (*QQmlComponent) NewForInherit4

func (*QQmlComponent) NewForInherit4(arg0 QQmlEngine_ITF, url qtcore.QUrl_ITF, parent qtcore.QObject_ITF) *QQmlComponent

Create a QQmlComponent with no data and give it the specified engine and parent. Set the data with setData().

func (*QQmlComponent) NewForInherit4p

func (*QQmlComponent) NewForInherit4p(arg0 QQmlEngine_ITF, url qtcore.QUrl_ITF) *QQmlComponent

Create a QQmlComponent with no data and give it the specified engine and parent. Set the data with setData().

func (*QQmlComponent) NewForInherit5

func (*QQmlComponent) NewForInherit5(arg0 QQmlEngine_ITF, url qtcore.QUrl_ITF, mode int, parent qtcore.QObject_ITF) *QQmlComponent

Create a QQmlComponent with no data and give it the specified engine and parent. Set the data with setData().

func (*QQmlComponent) NewForInherit5p

func (*QQmlComponent) NewForInherit5p(arg0 QQmlEngine_ITF, url qtcore.QUrl_ITF, mode int) *QQmlComponent

Create a QQmlComponent with no data and give it the specified engine and parent. Set the data with setData().

func (*QQmlComponent) NewForInheritp

func (*QQmlComponent) NewForInheritp() *QQmlComponent

Create a QQmlComponent with no data and give it the specified engine and parent. Set the data with setData().

func (*QQmlComponent) NewFromPointer

func (*QQmlComponent) NewFromPointer(cthis unsafe.Pointer) *QQmlComponent

func (*QQmlComponent) Progress

func (this *QQmlComponent) Progress() float64

func (*QQmlComponent) ProgressChanged

func (this *QQmlComponent) ProgressChanged(arg0 float64)

Emitted whenever the component's loading progress changes. progress will be the current progress between 0.0 (nothing loaded) and 1.0 (finished).

Note: Notifier signal for property progress.

func (*QQmlComponent) QQmlComponent_PTR

func (ptr *QQmlComponent) QQmlComponent_PTR() *QQmlComponent

func (*QQmlComponent) QmlAttachedProperties

func (this *QQmlComponent) QmlAttachedProperties(arg0 qtcore.QObject_ITF) unsafe.Pointer

func (*QQmlComponent) SetCthis

func (this *QQmlComponent) SetCthis(cthis unsafe.Pointer)

func (*QQmlComponent) SetData

func (this *QQmlComponent) SetData(arg0 qtcore.QByteArray_ITF, baseUrl qtcore.QUrl_ITF)

Sets the QQmlComponent to use the given QML data. If url is provided, it is used to set the component name and to provide a base path for items resolved by this component.

func (*QQmlComponent) Status

func (this *QQmlComponent) Status() int

func (*QQmlComponent) StatusChanged

func (this *QQmlComponent) StatusChanged(arg0 int)

Emitted whenever the component's status changes. status will be the new status.

Note: Notifier signal for property status.

func (*QQmlComponent) StatusItemName

func (this *QQmlComponent) StatusItemName(val int) string

func (*QQmlComponent) Url

func (this *QQmlComponent) Url() *qtcore.QUrl

type QQmlComponent_ITF

type QQmlComponent_ITF interface {
	qtcore.QObject_ITF
	QQmlComponent_PTR() *QQmlComponent
}

type QQmlComponent__CompilationMode

type QQmlComponent__CompilationMode = int

Specifies whether the QQmlComponent should load the component immediately, or asynchonously.

const QQmlComponent__Asynchronous QQmlComponent__CompilationMode = 1

Load/compile the component in a background thread.

const QQmlComponent__PreferSynchronous QQmlComponent__CompilationMode = 0

Prefer loading/compiling the component immediately, blocking the thread. This is not always possible; for example, remote URLs will always load asynchronously.

type QQmlComponent__Status

type QQmlComponent__Status = int

Specifies the loading status of the QQmlComponent.

const QQmlComponent__Error QQmlComponent__Status = 3

An error has occurred. Call errors() to retrieve a list of errors.

const QQmlComponent__Loading QQmlComponent__Status = 2

This QQmlComponent is loading network data.

const QQmlComponent__Null QQmlComponent__Status = 0

This QQmlComponent has no data. Call loadUrl() or setData() to add QML content.

const QQmlComponent__Ready QQmlComponent__Status = 1

This QQmlComponent is ready and create() may be called.

type QQmlContext

type QQmlContext struct {
	*qtcore.QObject
}

func NewQQmlContext

func NewQQmlContext(parent QQmlEngine_ITF, objParent qtcore.QObject_ITF) *QQmlContext

func NewQQmlContext1

func NewQQmlContext1(parent QQmlContext_ITF, objParent qtcore.QObject_ITF) *QQmlContext

func NewQQmlContext1p

func NewQQmlContext1p(parent QQmlContext_ITF) *QQmlContext

func NewQQmlContextFromPointer

func NewQQmlContextFromPointer(cthis unsafe.Pointer) *QQmlContext

func NewQQmlContextp

func NewQQmlContextp(parent QQmlEngine_ITF) *QQmlContext

func QQmlEngine_ContextForObject

func QQmlEngine_ContextForObject(arg0 qtcore.QObject_ITF) *QQmlContext

func QmlContext

func QmlContext(arg0 qtcore.QObject_ITF) *QQmlContext

func (*QQmlContext) BaseUrl

func (this *QQmlContext) BaseUrl() *qtcore.QUrl

Returns the base url of the component, or the containing component if none is set.

See also setBaseUrl().

func (*QQmlContext) ContextObject

func (this *QQmlContext) ContextObject() *qtcore.QObject

Return the context object, or 0 if there is no context object.

See also setContextObject().

func (*QQmlContext) ContextProperty

func (this *QQmlContext) ContextProperty(arg0 string) *qtcore.QVariant

Returns the value of the name property for this context as a QVariant.

See also setContextProperty().

func (*QQmlContext) Engine

func (this *QQmlContext) Engine() *QQmlEngine

Return the context's QQmlEngine, or 0 if the context has no QQmlEngine or the QQmlEngine was destroyed.

func (*QQmlContext) GetCthis

func (this *QQmlContext) GetCthis() unsafe.Pointer

func (*QQmlContext) IsValid

func (this *QQmlContext) IsValid() bool

Returns whether the context is valid.

To be valid, a context must have a engine, and it's contextObject(), if any, must not have been deleted.

func (*QQmlContext) MetaObject

func (this *QQmlContext) MetaObject() *qtcore.QMetaObject

func (*QQmlContext) NameForObject

func (this *QQmlContext) NameForObject(arg0 qtcore.QObject_ITF) string

Returns the name of object in this context, or an empty string if object is not named in the context. Objects are named by setContextProperty(), or by ids in the case of QML created contexts.

If the object has multiple names, the first is returned.

func (*QQmlContext) NewForInherit

func (*QQmlContext) NewForInherit(parent QQmlEngine_ITF, objParent qtcore.QObject_ITF) *QQmlContext

Create a new QQmlContext as a child of engine's root context, and the QObject parent.

func (*QQmlContext) NewForInherit1

func (*QQmlContext) NewForInherit1(parent QQmlContext_ITF, objParent qtcore.QObject_ITF) *QQmlContext

Create a new QQmlContext as a child of engine's root context, and the QObject parent.

func (*QQmlContext) NewForInherit1p

func (*QQmlContext) NewForInherit1p(parent QQmlContext_ITF) *QQmlContext

Create a new QQmlContext as a child of engine's root context, and the QObject parent.

func (*QQmlContext) NewForInheritp

func (*QQmlContext) NewForInheritp(parent QQmlEngine_ITF) *QQmlContext

Create a new QQmlContext as a child of engine's root context, and the QObject parent.

func (*QQmlContext) NewFromPointer

func (*QQmlContext) NewFromPointer(cthis unsafe.Pointer) *QQmlContext

func (*QQmlContext) ParentContext

func (this *QQmlContext) ParentContext() *QQmlContext

Return the context's parent QQmlContext, or 0 if this context has no parent or if the parent has been destroyed.

func (*QQmlContext) QQmlContext_PTR

func (ptr *QQmlContext) QQmlContext_PTR() *QQmlContext

func (*QQmlContext) ResolvedUrl

func (this *QQmlContext) ResolvedUrl(arg0 qtcore.QUrl_ITF) *qtcore.QUrl

Resolves the URL src relative to the URL of the containing component.

See also QQmlEngine::baseUrl() and setBaseUrl().

func (*QQmlContext) SetBaseUrl

func (this *QQmlContext) SetBaseUrl(arg0 qtcore.QUrl_ITF)

Explicitly sets the url resolvedUrl() will use for relative references to baseUrl.

Calling this function will override the url of the containing component used by default.

See also baseUrl() and resolvedUrl().

func (*QQmlContext) SetContextObject

func (this *QQmlContext) SetContextObject(arg0 qtcore.QObject_ITF)

Set the context object.

See also contextObject().

func (*QQmlContext) SetContextProperty

func (this *QQmlContext) SetContextProperty(arg0 string, arg1 qtcore.QObject_ITF)

Set the value of the name property on this context.

QQmlContext does not take ownership of value.

See also contextProperty().

func (*QQmlContext) SetContextProperty1

func (this *QQmlContext) SetContextProperty1(arg0 string, arg1 qtcore.QVariant_ITF)

Set the value of the name property on this context.

QQmlContext does not take ownership of value.

See also contextProperty().

func (*QQmlContext) SetCthis

func (this *QQmlContext) SetCthis(cthis unsafe.Pointer)

type QQmlContext_ITF

type QQmlContext_ITF interface {
	qtcore.QObject_ITF
	QQmlContext_PTR() *QQmlContext
}

type QQmlDebuggingEnabler

type QQmlDebuggingEnabler struct {
	*qtrt.CObject
}

func NewQQmlDebuggingEnabler

func NewQQmlDebuggingEnabler(printWarning bool) *QQmlDebuggingEnabler

func NewQQmlDebuggingEnablerFromPointer

func NewQQmlDebuggingEnablerFromPointer(cthis unsafe.Pointer) *QQmlDebuggingEnabler

func NewQQmlDebuggingEnablerp

func NewQQmlDebuggingEnablerp() *QQmlDebuggingEnabler

func (*QQmlDebuggingEnabler) ConnectToLocalDebugger

func (this *QQmlDebuggingEnabler) ConnectToLocalDebugger(socketFileName string, mode int) bool

func (*QQmlDebuggingEnabler) ConnectToLocalDebuggerp

func (this *QQmlDebuggingEnabler) ConnectToLocalDebuggerp(socketFileName string) bool

func (*QQmlDebuggingEnabler) DebuggerServices

func (this *QQmlDebuggingEnabler) DebuggerServices() *qtcore.QStringList

func (*QQmlDebuggingEnabler) GetCthis

func (this *QQmlDebuggingEnabler) GetCthis() unsafe.Pointer

func (*QQmlDebuggingEnabler) InspectorServices

func (this *QQmlDebuggingEnabler) InspectorServices() *qtcore.QStringList

func (*QQmlDebuggingEnabler) NativeDebuggerServices

func (this *QQmlDebuggingEnabler) NativeDebuggerServices() *qtcore.QStringList

func (*QQmlDebuggingEnabler) NewForInherit

func (*QQmlDebuggingEnabler) NewForInherit(printWarning bool) *QQmlDebuggingEnabler

func (*QQmlDebuggingEnabler) NewForInheritp

func (*QQmlDebuggingEnabler) NewForInheritp() *QQmlDebuggingEnabler

func (*QQmlDebuggingEnabler) NewFromPointer

func (*QQmlDebuggingEnabler) NewFromPointer(cthis unsafe.Pointer) *QQmlDebuggingEnabler

func (*QQmlDebuggingEnabler) ProfilerServices

func (this *QQmlDebuggingEnabler) ProfilerServices() *qtcore.QStringList

func (*QQmlDebuggingEnabler) QQmlDebuggingEnabler_PTR

func (ptr *QQmlDebuggingEnabler) QQmlDebuggingEnabler_PTR() *QQmlDebuggingEnabler

func (*QQmlDebuggingEnabler) SetCthis

func (this *QQmlDebuggingEnabler) SetCthis(cthis unsafe.Pointer)

func (*QQmlDebuggingEnabler) SetServices

func (this *QQmlDebuggingEnabler) SetServices(services qtcore.QStringList_ITF)

func (*QQmlDebuggingEnabler) StartModeItemName

func (this *QQmlDebuggingEnabler) StartModeItemName(val int) string

func (*QQmlDebuggingEnabler) StartTcpDebugServer

func (this *QQmlDebuggingEnabler) StartTcpDebugServer(port int, mode int, hostName string) bool

func (*QQmlDebuggingEnabler) StartTcpDebugServerp

func (this *QQmlDebuggingEnabler) StartTcpDebugServerp(port int) bool

func (*QQmlDebuggingEnabler) StartTcpDebugServerp1

func (this *QQmlDebuggingEnabler) StartTcpDebugServerp1(port int, mode int) bool

type QQmlDebuggingEnabler_ITF

type QQmlDebuggingEnabler_ITF interface {
	QQmlDebuggingEnabler_PTR() *QQmlDebuggingEnabler
}

type QQmlDebuggingEnabler__StartMode

type QQmlDebuggingEnabler__StartMode = int
const QQmlDebuggingEnabler__DoNotWaitForClient QQmlDebuggingEnabler__StartMode = 0
const QQmlDebuggingEnabler__WaitForClient QQmlDebuggingEnabler__StartMode = 1

type QQmlEngine

type QQmlEngine struct {
	*QJSEngine
}

func NewQQmlEngine

func NewQQmlEngine(p qtcore.QObject_ITF) *QQmlEngine

func NewQQmlEngineFromPointer

func NewQQmlEngineFromPointer(cthis unsafe.Pointer) *QQmlEngine

func NewQQmlEnginep

func NewQQmlEnginep() *QQmlEngine

func QmlEngine

func QmlEngine(arg0 qtcore.QObject_ITF) *QQmlEngine

func (*QQmlEngine) AddImageProvider

func (this *QQmlEngine) AddImageProvider(id string, arg1 unsafe.Pointer)

Sets the provider to use for images requested via the image: url scheme, with host providerId. The QQmlEngine takes ownership of provider.

Image providers enable support for pixmap and threaded image requests. See the QQuickImageProvider documentation for details on implementing and using image providers.

All required image providers should be added to the engine before any QML sources files are loaded.

See also removeImageProvider(), QQuickImageProvider, and QQmlImageProviderBase.

func (*QQmlEngine) AddImportPath

func (this *QQmlEngine) AddImportPath(dir string)

Adds path as a directory where the engine searches for installed modules in a URL-based directory structure.

The path may be a local filesystem directory, a Qt Resource path (:/imports), a Qt Resource url (qrc:/imports) or a URL.

The path will be converted into canonical form before it is added to the import path list.

The newly added path will be first in the importPathList().

See also setImportPathList() and QML Modules.

func (*QQmlEngine) AddNamedBundle

func (this *QQmlEngine) AddNamedBundle(name string, fileName string) bool

func (*QQmlEngine) AddPluginPath

func (this *QQmlEngine) AddPluginPath(dir string)

Adds path as a directory where the engine searches for native plugins for imported modules (referenced in the qmldir file).

By default, the list contains only ., i.e. the engine searches in the directory of the qmldir file itself.

The newly added path will be first in the pluginPathList().

See also setPluginPathList().

func (*QQmlEngine) BaseUrl

func (this *QQmlEngine) BaseUrl() *qtcore.QUrl

Return the base URL for this engine. The base URL is only used to resolve components when a relative URL is passed to the QQmlComponent constructor.

If a base URL has not been explicitly set, this method returns the application's current working directory.

See also setBaseUrl().

func (*QQmlEngine) ClearComponentCache

func (this *QQmlEngine) ClearComponentCache()

Clears the engine's internal component cache.

This function causes the property metadata of all components previously loaded by the engine to be destroyed. All previously loaded components and the property bindings for all extant objects created from those components will cease to function.

This function returns the engine to a state where it does not contain any loaded component data. This may be useful in order to reload a smaller subset of the previous component set, or to load a new version of a previously loaded component.

Once the component cache has been cleared, components must be loaded before any new objects can be created.

See also trimComponentCache().

func (*QQmlEngine) ContextForObject

func (this *QQmlEngine) ContextForObject(arg0 qtcore.QObject_ITF) *QQmlContext

Returns the QQmlContext for the object, or 0 if no context has been set.

When the QQmlEngine instantiates a QObject, the context is set automatically.

See also setContextForObject(), qmlContext(), and qmlEngine().

func (*QQmlEngine) Event

func (this *QQmlEngine) Event(arg0 qtcore.QEvent_ITF) bool

Reimplemented from QObject::event().

func (*QQmlEngine) Exit

func (this *QQmlEngine) Exit(retCode int)

This signal is emitted when the QML loaded by the engine would like to exit from the event loop with the specified return code retCode.

This function was introduced in Qt 5.8.

See also quit().

func (*QQmlEngine) GetCthis

func (this *QQmlEngine) GetCthis() unsafe.Pointer

func (*QQmlEngine) ImageProvider

func (this *QQmlEngine) ImageProvider(id string) unsafe.Pointer

Returns the image provider set for providerId.

Returns the provider if it was found; otherwise returns 0.

See also QQuickImageProvider.

func (*QQmlEngine) ImportPathList

func (this *QQmlEngine) ImportPathList() *qtcore.QStringList

Returns the list of directories where the engine searches for installed modules in a URL-based directory structure.

For example, if /opt/MyApp/lib/imports is in the path, then QML that imports com.mycompany.Feature will cause the QQmlEngine to look in /opt/MyApp/lib/imports/com/mycompany/Feature/ for the components provided by that module. A qmldir file is required for defining the type version mapping and possibly QML extensions plugins.

By default, the list contains the directory of the application executable, paths specified in the QML2_IMPORT_PATH environment variable, and the builtin Qml2ImportsPath from QLibraryInfo.

See also addImportPath() and setImportPathList().

func (*QQmlEngine) IncubationController

func (this *QQmlEngine) IncubationController() *QQmlIncubationController

Returns the currently set incubation controller, or 0 if no controller has been set.

See also setIncubationController().

func (*QQmlEngine) InheritEvent

func (this *QQmlEngine) InheritEvent(f func(arg0 *qtcore.QEvent) bool)

bool event(QEvent *)

func (*QQmlEngine) MetaObject

func (this *QQmlEngine) MetaObject() *qtcore.QMetaObject

func (*QQmlEngine) NetworkAccessManager

func (this *QQmlEngine) NetworkAccessManager() *qtnetwork.QNetworkAccessManager

Returns a common QNetworkAccessManager which can be used by any QML type instantiated by this engine.

If a QQmlNetworkAccessManagerFactory has been set and a QNetworkAccessManager has not yet been created, the QQmlNetworkAccessManagerFactory will be used to create the QNetworkAccessManager; otherwise the returned QNetworkAccessManager will have no proxy or cache set.

See also setNetworkAccessManagerFactory().

func (*QQmlEngine) NetworkAccessManagerFactory

func (this *QQmlEngine) NetworkAccessManagerFactory() *QQmlNetworkAccessManagerFactory

Returns the current QQmlNetworkAccessManagerFactory.

See also setNetworkAccessManagerFactory().

func (*QQmlEngine) NewForInherit

func (*QQmlEngine) NewForInherit(p qtcore.QObject_ITF) *QQmlEngine

Create a new QQmlEngine with the given parent.

func (*QQmlEngine) NewForInheritp

func (*QQmlEngine) NewForInheritp() *QQmlEngine

Create a new QQmlEngine with the given parent.

func (*QQmlEngine) NewFromPointer

func (*QQmlEngine) NewFromPointer(cthis unsafe.Pointer) *QQmlEngine

func (*QQmlEngine) ObjectOwnership

func (this *QQmlEngine) ObjectOwnership(arg0 qtcore.QObject_ITF) int

Returns the ownership of object.

See also setObjectOwnership().

func (*QQmlEngine) ObjectOwnershipItemName

func (this *QQmlEngine) ObjectOwnershipItemName(val int) string

func (*QQmlEngine) OfflineStorageDatabaseFilePath

func (this *QQmlEngine) OfflineStorageDatabaseFilePath(databaseName string) string

Returns the file path where a Local Storage database with the identifier databaseName is (or would be) located.

This function was introduced in Qt 5.9.

See also LocalStorage.openDatabaseSync().

func (*QQmlEngine) OfflineStoragePath

func (this *QQmlEngine) OfflineStoragePath() string

func (*QQmlEngine) OutputWarningsToStandardError

func (this *QQmlEngine) OutputWarningsToStandardError() bool

Returns true if warning messages will be output to stderr in addition to being emitted by the warnings() signal, otherwise false.

The default value is true.

See also setOutputWarningsToStandardError().

func (*QQmlEngine) PluginPathList

func (this *QQmlEngine) PluginPathList() *qtcore.QStringList

Returns the list of directories where the engine searches for native plugins for imported modules (referenced in the qmldir file).

By default, the list contains only ., i.e. the engine searches in the directory of the qmldir file itself.

See also addPluginPath() and setPluginPathList().

func (*QQmlEngine) QQmlEngine_PTR

func (ptr *QQmlEngine) QQmlEngine_PTR() *QQmlEngine

func (*QQmlEngine) Quit

func (this *QQmlEngine) Quit()

This signal is emitted when the QML loaded by the engine would like to quit.

See also exit().

func (*QQmlEngine) RemoveImageProvider

func (this *QQmlEngine) RemoveImageProvider(id string)

Removes the image provider for providerId.

See also addImageProvider() and QQuickImageProvider.

func (*QQmlEngine) Retranslate added in v5.10.106

func (this *QQmlEngine) Retranslate()

Refreshes all binding expressions that use strings marked for translation.

Call this function after you have installed a new translator with QCoreApplication::installTranslator, to ensure that your user-interface shows up-to-date translations.

Note: Due to a limitation in the implementation, this function refreshes all the engine's bindings, not only those that use strings marked for translation. This may be optimized in a future release.

This function was introduced in Qt 5.10.

func (*QQmlEngine) RootContext

func (this *QQmlEngine) RootContext() *QQmlContext

Returns the engine's root context.

The root context is automatically created by the QQmlEngine. Data that should be available to all QML component instances instantiated by the engine should be put in the root context.

Additional data that should only be available to a subset of component instances should be added to sub-contexts parented to the root context.

func (*QQmlEngine) SetBaseUrl

func (this *QQmlEngine) SetBaseUrl(arg0 qtcore.QUrl_ITF)

Set the base URL for this engine to url.

See also baseUrl().

func (*QQmlEngine) SetContextForObject

func (this *QQmlEngine) SetContextForObject(arg0 qtcore.QObject_ITF, arg1 QQmlContext_ITF)

Sets the QQmlContext for the object to context. If the object already has a context, a warning is output, but the context is not changed.

When the QQmlEngine instantiates a QObject, the context is set automatically.

See also contextForObject().

func (*QQmlEngine) SetCthis

func (this *QQmlEngine) SetCthis(cthis unsafe.Pointer)

func (*QQmlEngine) SetImportPathList

func (this *QQmlEngine) SetImportPathList(paths qtcore.QStringList_ITF)

Sets paths as the list of directories where the engine searches for installed modules in a URL-based directory structure.

By default, the list contains the directory of the application executable, paths specified in the QML2_IMPORT_PATH environment variable, and the builtin Qml2ImportsPath from QLibraryInfo.

See also importPathList() and addImportPath().

func (*QQmlEngine) SetIncubationController

func (this *QQmlEngine) SetIncubationController(arg0 QQmlIncubationController_ITF)

Sets the engine's incubation controller. The engine can only have one active controller and it does not take ownership of it.

See also incubationController().

func (*QQmlEngine) SetNetworkAccessManagerFactory

func (this *QQmlEngine) SetNetworkAccessManagerFactory(arg0 QQmlNetworkAccessManagerFactory_ITF)

Sets the factory to use for creating QNetworkAccessManager(s).

QNetworkAccessManager is used for all network access by QML. By implementing a factory it is possible to create custom QNetworkAccessManager with specialized caching, proxy and cookie support.

The factory must be set before executing the engine.

Note: QQmlEngine does not take ownership of the factory.

See also networkAccessManagerFactory().

func (*QQmlEngine) SetObjectOwnership

func (this *QQmlEngine) SetObjectOwnership(arg0 qtcore.QObject_ITF, arg1 int)

Sets the ownership of object.

See also objectOwnership().

func (*QQmlEngine) SetOfflineStoragePath

func (this *QQmlEngine) SetOfflineStoragePath(dir string)

func (*QQmlEngine) SetOutputWarningsToStandardError

func (this *QQmlEngine) SetOutputWarningsToStandardError(arg0 bool)

Set whether warning messages will be output to stderr to enabled.

If enabled is true, any warning messages generated by QML will be output to stderr and emitted by the warnings() signal. If enabled is false, only the warnings() signal will be emitted. This allows applications to handle warning output themselves.

The default value is true.

See also outputWarningsToStandardError().

func (*QQmlEngine) SetPluginPathList

func (this *QQmlEngine) SetPluginPathList(paths qtcore.QStringList_ITF)

Sets the list of directories where the engine searches for native plugins for imported modules (referenced in the qmldir file) to paths.

By default, the list contains only ., i.e. the engine searches in the directory of the qmldir file itself.

See also pluginPathList() and addPluginPath().

func (*QQmlEngine) SetUrlInterceptor

func (this *QQmlEngine) SetUrlInterceptor(urlInterceptor QQmlAbstractUrlInterceptor_ITF)

func (*QQmlEngine) TrimComponentCache

func (this *QQmlEngine) TrimComponentCache()

Trims the engine's internal component cache.

This function causes the property metadata of any loaded components which are not currently in use to be destroyed.

A component is considered to be in use if there are any extant instances of the component itself, any instances of other components that use the component, or any objects instantiated by any of those components.

See also clearComponentCache().

func (*QQmlEngine) UrlInterceptor

func (this *QQmlEngine) UrlInterceptor() *QQmlAbstractUrlInterceptor

type QQmlEngine_ITF

type QQmlEngine_ITF interface {
	QJSEngine_ITF
	QQmlEngine_PTR() *QQmlEngine
}

type QQmlEngine__ObjectOwnership

type QQmlEngine__ObjectOwnership = int

ObjectOwnership controls whether or not QML automatically destroys the QObject when the corresponding JavaScript object is garbage collected by the engine. The two ownership options are:

Generally an application doesn't need to set an object's ownership explicitly. QML uses a heuristic to set the default ownership. By default, an object that is created by QML has JavaScriptOwnership. The exception to this are the root objects created by calling QQmlComponent::create() or QQmlComponent::beginCreate(), which have CppOwnership by default. The ownership of these root-level objects is considered to have been transferred to the C++ caller.

Objects not-created by QML have CppOwnership by default. The exception to this are objects returned from C++ method calls; their ownership will be set to JavaScriptOwnership. This applies only to explicit invocations of Q_INVOKABLE methods or slots, but not to property getter invocations.

Calling setObjectOwnership() overrides the default ownership heuristic used by QML.

const QQmlEngine__CppOwnership QQmlEngine__ObjectOwnership = 0

The object is owned by C++ code and QML will never delete it. The JavaScript destroy() method cannot be used on these objects. This option is similar to QScriptEngine::QtOwnership.

const QQmlEngine__JavaScriptOwnership QQmlEngine__ObjectOwnership = 1

The object is owned by JavaScript. When the object is returned to QML as the return value of a method call, QML will track it and delete it if there are no remaining JavaScript references to it and it has no QObject::parent(). An object tracked by one QQmlEngine will be deleted during that QQmlEngine's destructor. Thus, JavaScript references between objects with JavaScriptOwnership from two different engines will not be valid if one of these engines is deleted. This option is similar to QScriptEngine::ScriptOwnership.

type QQmlError

type QQmlError struct {
	*qtrt.CObject
}

func NewQQmlError

func NewQQmlError() *QQmlError

func NewQQmlErrorFromPointer

func NewQQmlErrorFromPointer(cthis unsafe.Pointer) *QQmlError

func (*QQmlError) Column

func (this *QQmlError) Column() int

Returns the error column number.

See also setColumn().

func (*QQmlError) Description

func (this *QQmlError) Description() string

Returns the error description.

See also setDescription().

func (*QQmlError) GetCthis

func (this *QQmlError) GetCthis() unsafe.Pointer

func (*QQmlError) IsValid

func (this *QQmlError) IsValid() bool

Returns true if this error is valid, otherwise false.

func (*QQmlError) Line

func (this *QQmlError) Line() int

Returns the error line number.

See also setLine().

func (*QQmlError) MessageType

func (this *QQmlError) MessageType() int

Returns the message type.

This function was introduced in Qt 5.9.

See also setMessageType().

func (*QQmlError) NewForInherit

func (*QQmlError) NewForInherit() *QQmlError

Creates an empty error object.

func (*QQmlError) NewFromPointer

func (*QQmlError) NewFromPointer(cthis unsafe.Pointer) *QQmlError

func (*QQmlError) Object

func (this *QQmlError) Object() *qtcore.QObject

Returns the nearest object where this error occurred. Exceptions in bound property expressions set this to the object to which the property belongs. It will be 0 for all other exceptions.

See also setObject().

func (*QQmlError) Operator_equal

func (this *QQmlError) Operator_equal(arg0 QQmlError_ITF) *QQmlError

func (*QQmlError) QQmlError_PTR

func (ptr *QQmlError) QQmlError_PTR() *QQmlError

func (*QQmlError) SetColumn

func (this *QQmlError) SetColumn(arg0 int)

Sets the error column number.

See also column().

func (*QQmlError) SetCthis

func (this *QQmlError) SetCthis(cthis unsafe.Pointer)

func (*QQmlError) SetDescription

func (this *QQmlError) SetDescription(arg0 string)

Sets the error description.

See also description().

func (*QQmlError) SetLine

func (this *QQmlError) SetLine(arg0 int)

Sets the error line number.

See also line().

func (*QQmlError) SetMessageType

func (this *QQmlError) SetMessageType(messageType int)

Sets the messageType for this message. The message type determines which QDebug handlers are responsible for receiving the message.

This function was introduced in Qt 5.9.

See also messageType().

func (*QQmlError) SetObject

func (this *QQmlError) SetObject(arg0 qtcore.QObject_ITF)

Sets the nearest object where this error occurred.

See also object().

func (*QQmlError) SetUrl

func (this *QQmlError) SetUrl(arg0 qtcore.QUrl_ITF)

Sets the url for the file that caused this error.

See also url().

func (*QQmlError) ToString

func (this *QQmlError) ToString() string

Returns the error as a human readable string.

func (*QQmlError) Url

func (this *QQmlError) Url() *qtcore.QUrl

Returns the url for the file that caused this error.

See also setUrl().

type QQmlError_ITF

type QQmlError_ITF interface {
	QQmlError_PTR() *QQmlError
}

type QQmlExpression

type QQmlExpression struct {
	*qtcore.QObject
}

func NewQQmlExpression

func NewQQmlExpression() *QQmlExpression

func NewQQmlExpression1

func NewQQmlExpression1(arg0 QQmlContext_ITF, arg1 qtcore.QObject_ITF, arg2 string, arg3 qtcore.QObject_ITF) *QQmlExpression

func NewQQmlExpression1p

func NewQQmlExpression1p(arg0 QQmlContext_ITF, arg1 qtcore.QObject_ITF, arg2 string) *QQmlExpression

func NewQQmlExpression2p

func NewQQmlExpression2p(arg0 QQmlScriptString_ITF) *QQmlExpression

func NewQQmlExpression2p1

func NewQQmlExpression2p1(arg0 QQmlScriptString_ITF, arg1 QQmlContext_ITF) *QQmlExpression

func NewQQmlExpressionFromPointer

func NewQQmlExpressionFromPointer(cthis unsafe.Pointer) *QQmlExpression

func (*QQmlExpression) ClearError

func (this *QQmlExpression) ClearError()

Clear any expression errors. Calls to hasError() following this will return false.

See also hasError() and error().

func (*QQmlExpression) ColumnNumber

func (this *QQmlExpression) ColumnNumber() int

Returns the source file column number for this expression. The source location must have been previously set by calling setSourceLocation().

func (*QQmlExpression) Context

func (this *QQmlExpression) Context() *QQmlContext

Returns the QQmlContext this expression is associated with, or 0 if there is no association or the QQmlContext has been destroyed.

func (*QQmlExpression) Engine

func (this *QQmlExpression) Engine() *QQmlEngine

Returns the QQmlEngine this expression is associated with, or 0 if there is no association or the QQmlEngine has been destroyed.

func (*QQmlExpression) Error

func (this *QQmlExpression) Error() *QQmlError

Return any error from the last call to evaluate(). If there was no error, this returns an invalid QQmlError instance.

See also hasError() and clearError().

func (*QQmlExpression) Evaluate

func (this *QQmlExpression) Evaluate(valueIsUndefined *bool) *qtcore.QVariant

Evaulates the expression, returning the result of the evaluation, or an invalid QVariant if the expression is invalid or has an error.

valueIsUndefined is set to true if the expression resulted in an undefined value.

See also hasError() and error().

func (*QQmlExpression) Evaluatep

func (this *QQmlExpression) Evaluatep() *qtcore.QVariant

Evaulates the expression, returning the result of the evaluation, or an invalid QVariant if the expression is invalid or has an error.

valueIsUndefined is set to true if the expression resulted in an undefined value.

See also hasError() and error().

func (*QQmlExpression) Expression

func (this *QQmlExpression) Expression() string

Returns the expression string.

See also setExpression().

func (*QQmlExpression) GetCthis

func (this *QQmlExpression) GetCthis() unsafe.Pointer

func (*QQmlExpression) HasError

func (this *QQmlExpression) HasError() bool

Returns true if the last call to evaluate() resulted in an error, otherwise false.

See also error() and clearError().

func (*QQmlExpression) LineNumber

func (this *QQmlExpression) LineNumber() int

Returns the source file line number for this expression. The source location must have been previously set by calling setSourceLocation().

func (*QQmlExpression) MetaObject

func (this *QQmlExpression) MetaObject() *qtcore.QMetaObject

func (*QQmlExpression) NewForInherit

func (*QQmlExpression) NewForInherit() *QQmlExpression

Create an invalid QQmlExpression.

As the expression will not have an associated QQmlContext, this will be a null expression object and its value will always be an invalid QVariant.

func (*QQmlExpression) NewForInherit1

func (*QQmlExpression) NewForInherit1(arg0 QQmlContext_ITF, arg1 qtcore.QObject_ITF, arg2 string, arg3 qtcore.QObject_ITF) *QQmlExpression

Create an invalid QQmlExpression.

As the expression will not have an associated QQmlContext, this will be a null expression object and its value will always be an invalid QVariant.

func (*QQmlExpression) NewForInherit1p

func (*QQmlExpression) NewForInherit1p(arg0 QQmlContext_ITF, arg1 qtcore.QObject_ITF, arg2 string) *QQmlExpression

Create an invalid QQmlExpression.

As the expression will not have an associated QQmlContext, this will be a null expression object and its value will always be an invalid QVariant.

func (*QQmlExpression) NewForInherit2

Create an invalid QQmlExpression.

As the expression will not have an associated QQmlContext, this will be a null expression object and its value will always be an invalid QVariant.

func (*QQmlExpression) NewForInherit2p

func (*QQmlExpression) NewForInherit2p(arg0 QQmlScriptString_ITF) *QQmlExpression

Create an invalid QQmlExpression.

As the expression will not have an associated QQmlContext, this will be a null expression object and its value will always be an invalid QVariant.

func (*QQmlExpression) NewForInherit2p1

func (*QQmlExpression) NewForInherit2p1(arg0 QQmlScriptString_ITF, arg1 QQmlContext_ITF) *QQmlExpression

Create an invalid QQmlExpression.

As the expression will not have an associated QQmlContext, this will be a null expression object and its value will always be an invalid QVariant.

func (*QQmlExpression) NewForInherit2p2

Create an invalid QQmlExpression.

As the expression will not have an associated QQmlContext, this will be a null expression object and its value will always be an invalid QVariant.

func (*QQmlExpression) NewFromPointer

func (*QQmlExpression) NewFromPointer(cthis unsafe.Pointer) *QQmlExpression

func (*QQmlExpression) NotifyOnValueChanged

func (this *QQmlExpression) NotifyOnValueChanged() bool

Returns true if the valueChanged() signal is emitted when the expression's evaluated value changes.

See also setNotifyOnValueChanged().

func (*QQmlExpression) QQmlExpression_PTR

func (ptr *QQmlExpression) QQmlExpression_PTR() *QQmlExpression

func (*QQmlExpression) ScopeObject

func (this *QQmlExpression) ScopeObject() *qtcore.QObject

Returns the expression's scope object, if provided, otherwise 0.

In addition to data provided by the expression's QQmlContext, the scope object's properties are also in scope during the expression's evaluation.

func (*QQmlExpression) SetCthis

func (this *QQmlExpression) SetCthis(cthis unsafe.Pointer)

func (*QQmlExpression) SetExpression

func (this *QQmlExpression) SetExpression(arg0 string)

Set the expression to expression.

See also expression().

func (*QQmlExpression) SetNotifyOnValueChanged

func (this *QQmlExpression) SetNotifyOnValueChanged(arg0 bool)

Sets whether the valueChanged() signal is emitted when the expression's evaluated value changes.

If notifyOnChange is true, the QQmlExpression will monitor properties involved in the expression's evaluation, and emit QQmlExpression::valueChanged() if they have changed. This allows an application to ensure that any value associated with the result of the expression remains up to date.

If notifyOnChange is false (default), the QQmlExpression will not montitor properties involved in the expression's evaluation, and QQmlExpression::valueChanged() will never be emitted. This is more efficient if an application wants a "one off" evaluation of the expression.

See also notifyOnValueChanged().

func (*QQmlExpression) SetSourceLocation

func (this *QQmlExpression) SetSourceLocation(fileName string, line int, column int)

Set the location of this expression to line and column of url. This information is used by the script engine.

func (*QQmlExpression) SetSourceLocationp

func (this *QQmlExpression) SetSourceLocationp(fileName string, line int)

Set the location of this expression to line and column of url. This information is used by the script engine.

func (*QQmlExpression) SourceFile

func (this *QQmlExpression) SourceFile() string

Returns the source file URL for this expression. The source location must have been previously set by calling setSourceLocation().

func (*QQmlExpression) ValueChanged

func (this *QQmlExpression) ValueChanged()

Emitted each time the expression value changes from the last time it was evaluated. The expression must have been evaluated at least once (by calling QQmlExpression::evaluate()) before this signal will be emitted.

type QQmlExpression_ITF

type QQmlExpression_ITF interface {
	qtcore.QObject_ITF
	QQmlExpression_PTR() *QQmlExpression
}

type QQmlExtensionInterface

type QQmlExtensionInterface struct {
	*QQmlTypesExtensionInterface
}

func NewQQmlExtensionInterfaceFromPointer

func NewQQmlExtensionInterfaceFromPointer(cthis unsafe.Pointer) *QQmlExtensionInterface

func (*QQmlExtensionInterface) GetCthis

func (this *QQmlExtensionInterface) GetCthis() unsafe.Pointer

func (*QQmlExtensionInterface) InitializeEngine

func (this *QQmlExtensionInterface) InitializeEngine(engine QQmlEngine_ITF, uri string)

func (*QQmlExtensionInterface) NewFromPointer

func (*QQmlExtensionInterface) QQmlExtensionInterface_PTR

func (ptr *QQmlExtensionInterface) QQmlExtensionInterface_PTR() *QQmlExtensionInterface

func (*QQmlExtensionInterface) SetCthis

func (this *QQmlExtensionInterface) SetCthis(cthis unsafe.Pointer)

type QQmlExtensionInterface_ITF

type QQmlExtensionInterface_ITF interface {
	QQmlTypesExtensionInterface_ITF
	QQmlExtensionInterface_PTR() *QQmlExtensionInterface
}

type QQmlExtensionPlugin

type QQmlExtensionPlugin struct {
	*qtcore.QObject
	*QQmlExtensionInterface
}

func NewQQmlExtensionPlugin

func NewQQmlExtensionPlugin(parent qtcore.QObject_ITF) *QQmlExtensionPlugin

func NewQQmlExtensionPluginFromPointer

func NewQQmlExtensionPluginFromPointer(cthis unsafe.Pointer) *QQmlExtensionPlugin

func NewQQmlExtensionPluginp

func NewQQmlExtensionPluginp() *QQmlExtensionPlugin

func (*QQmlExtensionPlugin) BaseUrl

func (this *QQmlExtensionPlugin) BaseUrl() *qtcore.QUrl

Returns the URL of the directory from which the extension is loaded.

This is useful when the plugin also needs to load QML files or other assets from the same directory.

This function was introduced in Qt 5.1.

func (*QQmlExtensionPlugin) GetCthis

func (this *QQmlExtensionPlugin) GetCthis() unsafe.Pointer

func (*QQmlExtensionPlugin) InitializeEngine

func (this *QQmlExtensionPlugin) InitializeEngine(engine QQmlEngine_ITF, uri string)

Initializes the extension from the uri using the engine. Here an application plugin might, for example, expose some data or objects to QML, as context properties on the engine's root context.

func (*QQmlExtensionPlugin) MetaObject

func (this *QQmlExtensionPlugin) MetaObject() *qtcore.QMetaObject

func (*QQmlExtensionPlugin) NewForInherit

Constructs a QML extension plugin with the given parent.

Note that this constructor is invoked automatically by the Q_PLUGIN_METADATA() macro, so there is no need for calling it explicitly.

func (*QQmlExtensionPlugin) NewForInheritp

func (*QQmlExtensionPlugin) NewForInheritp() *QQmlExtensionPlugin

Constructs a QML extension plugin with the given parent.

Note that this constructor is invoked automatically by the Q_PLUGIN_METADATA() macro, so there is no need for calling it explicitly.

func (*QQmlExtensionPlugin) NewFromPointer

func (*QQmlExtensionPlugin) NewFromPointer(cthis unsafe.Pointer) *QQmlExtensionPlugin

func (*QQmlExtensionPlugin) QQmlExtensionPlugin_PTR

func (ptr *QQmlExtensionPlugin) QQmlExtensionPlugin_PTR() *QQmlExtensionPlugin

func (*QQmlExtensionPlugin) RegisterTypes

func (this *QQmlExtensionPlugin) RegisterTypes(uri string)

Registers the QML types in the given uri. Subclasses should implement this to call qmlRegisterType() for all types which are provided by the extension plugin.

The uri is an identifier for the plugin generated by the QML engine based on the name and path of the extension's plugin library.

func (*QQmlExtensionPlugin) SetCthis

func (this *QQmlExtensionPlugin) SetCthis(cthis unsafe.Pointer)

type QQmlExtensionPlugin_ITF

type QQmlExtensionPlugin_ITF interface {
	qtcore.QObject_ITF
	QQmlExtensionInterface_ITF
	QQmlExtensionPlugin_PTR() *QQmlExtensionPlugin
}

type QQmlFile

type QQmlFile struct {
	*qtrt.CObject
}

func NewQQmlFile

func NewQQmlFile() *QQmlFile

func NewQQmlFile1

func NewQQmlFile1(arg0 QQmlEngine_ITF, arg1 qtcore.QUrl_ITF) *QQmlFile

func NewQQmlFile2

func NewQQmlFile2(arg0 QQmlEngine_ITF, arg1 string) *QQmlFile

func NewQQmlFileFromPointer

func NewQQmlFileFromPointer(cthis unsafe.Pointer) *QQmlFile

func (*QQmlFile) Clear

func (this *QQmlFile) Clear()

func (*QQmlFile) Clear1

func (this *QQmlFile) Clear1(arg0 qtcore.QObject_ITF)

func (*QQmlFile) ConnectDownloadProgress

func (this *QQmlFile) ConnectDownloadProgress(arg0 qtcore.QObject_ITF, arg1 string) bool

func (*QQmlFile) ConnectDownloadProgress1

func (this *QQmlFile) ConnectDownloadProgress1(arg0 qtcore.QObject_ITF, arg1 int) bool

func (*QQmlFile) ConnectFinished

func (this *QQmlFile) ConnectFinished(arg0 qtcore.QObject_ITF, arg1 string) bool

func (*QQmlFile) ConnectFinished1

func (this *QQmlFile) ConnectFinished1(arg0 qtcore.QObject_ITF, arg1 int) bool

func (*QQmlFile) Data

func (this *QQmlFile) Data() string

func (*QQmlFile) DataByteArray

func (this *QQmlFile) DataByteArray() *qtcore.QByteArray

func (*QQmlFile) Error

func (this *QQmlFile) Error() string

func (*QQmlFile) GetCthis

func (this *QQmlFile) GetCthis() unsafe.Pointer

func (*QQmlFile) IsError

func (this *QQmlFile) IsError() bool

func (*QQmlFile) IsLoading

func (this *QQmlFile) IsLoading() bool

func (*QQmlFile) IsLocalFile

func (this *QQmlFile) IsLocalFile(url string) bool

func (*QQmlFile) IsLocalFile1

func (this *QQmlFile) IsLocalFile1(url qtcore.QUrl_ITF) bool

func (*QQmlFile) IsNull

func (this *QQmlFile) IsNull() bool

func (*QQmlFile) IsReady

func (this *QQmlFile) IsReady() bool

func (*QQmlFile) IsSynchronous

func (this *QQmlFile) IsSynchronous(url string) bool

func (*QQmlFile) IsSynchronous1

func (this *QQmlFile) IsSynchronous1(url qtcore.QUrl_ITF) bool

func (*QQmlFile) Load

func (this *QQmlFile) Load(arg0 QQmlEngine_ITF, arg1 qtcore.QUrl_ITF)

func (*QQmlFile) Load1

func (this *QQmlFile) Load1(arg0 QQmlEngine_ITF, arg1 string)

func (*QQmlFile) NewForInherit

func (*QQmlFile) NewForInherit() *QQmlFile

func (*QQmlFile) NewForInherit1

func (*QQmlFile) NewForInherit1(arg0 QQmlEngine_ITF, arg1 qtcore.QUrl_ITF) *QQmlFile

func (*QQmlFile) NewForInherit2

func (*QQmlFile) NewForInherit2(arg0 QQmlEngine_ITF, arg1 string) *QQmlFile

func (*QQmlFile) NewFromPointer

func (*QQmlFile) NewFromPointer(cthis unsafe.Pointer) *QQmlFile

func (*QQmlFile) QQmlFile_PTR

func (ptr *QQmlFile) QQmlFile_PTR() *QQmlFile

func (*QQmlFile) SetCthis

func (this *QQmlFile) SetCthis(cthis unsafe.Pointer)

func (*QQmlFile) Size

func (this *QQmlFile) Size() int64

func (*QQmlFile) Status

func (this *QQmlFile) Status() int

func (*QQmlFile) StatusItemName

func (this *QQmlFile) StatusItemName(val int) string

func (*QQmlFile) Url

func (this *QQmlFile) Url() *qtcore.QUrl

func (*QQmlFile) UrlToLocalFileOrQrc

func (this *QQmlFile) UrlToLocalFileOrQrc(arg0 string) string

func (*QQmlFile) UrlToLocalFileOrQrc1

func (this *QQmlFile) UrlToLocalFileOrQrc1(arg0 qtcore.QUrl_ITF) string

type QQmlFileSelector

type QQmlFileSelector struct {
	*qtcore.QObject
}

func NewQQmlFileSelector

func NewQQmlFileSelector(engine QQmlEngine_ITF, parent qtcore.QObject_ITF) *QQmlFileSelector

func NewQQmlFileSelectorFromPointer

func NewQQmlFileSelectorFromPointer(cthis unsafe.Pointer) *QQmlFileSelector

func NewQQmlFileSelectorp

func NewQQmlFileSelectorp(engine QQmlEngine_ITF) *QQmlFileSelector

func QQmlFileSelector_Get

func QQmlFileSelector_Get(arg0 QQmlEngine_ITF) *QQmlFileSelector

func (*QQmlFileSelector) Get

Gets the QQmlFileSelector currently active on the target engine.

func (*QQmlFileSelector) GetCthis

func (this *QQmlFileSelector) GetCthis() unsafe.Pointer

func (*QQmlFileSelector) MetaObject

func (this *QQmlFileSelector) MetaObject() *qtcore.QMetaObject

func (*QQmlFileSelector) NewForInherit

func (*QQmlFileSelector) NewForInherit(engine QQmlEngine_ITF, parent qtcore.QObject_ITF) *QQmlFileSelector

Creates a new QQmlFileSelector with parent object parent, which includes its own QFileSelector. engine is the QQmlEngine you wish to apply file selectors to. It will also take ownership of the QQmlFileSelector.

func (*QQmlFileSelector) NewForInheritp

func (*QQmlFileSelector) NewForInheritp(engine QQmlEngine_ITF) *QQmlFileSelector

Creates a new QQmlFileSelector with parent object parent, which includes its own QFileSelector. engine is the QQmlEngine you wish to apply file selectors to. It will also take ownership of the QQmlFileSelector.

func (*QQmlFileSelector) NewFromPointer

func (*QQmlFileSelector) NewFromPointer(cthis unsafe.Pointer) *QQmlFileSelector

func (*QQmlFileSelector) QQmlFileSelector_PTR

func (ptr *QQmlFileSelector) QQmlFileSelector_PTR() *QQmlFileSelector

func (*QQmlFileSelector) Selector

func (this *QQmlFileSelector) Selector() *qtcore.QFileSelector

Returns the QFileSelector instance used by the QQmlFileSelector.

This function was introduced in Qt 5.7.

See also setSelector().

func (*QQmlFileSelector) SetCthis

func (this *QQmlFileSelector) SetCthis(cthis unsafe.Pointer)

func (*QQmlFileSelector) SetExtraSelectors

func (this *QQmlFileSelector) SetExtraSelectors(strings qtcore.QStringList_ITF)

Adds extra selectors contained in strings to the current QFileSelector being used. Use this when extra selectors are all you need to avoid having to create your own QFileSelector instance.

func (*QQmlFileSelector) SetExtraSelectors1

func (this *QQmlFileSelector) SetExtraSelectors1(strings qtcore.QStringList_ITF)

Adds extra selectors contained in strings to the current QFileSelector being used. Use this when extra selectors are all you need to avoid having to create your own QFileSelector instance.

func (*QQmlFileSelector) SetSelector

func (this *QQmlFileSelector) SetSelector(selector qtcore.QFileSelector_ITF)

Sets the QFileSelector instance for use by the QQmlFileSelector to selector. QQmlFileSelector does not take ownership of the new QFileSelector. To reset QQmlFileSelector to use its internal QFileSelector instance, call setSelector(0).

See also selector().

type QQmlFileSelector_ITF

type QQmlFileSelector_ITF interface {
	qtcore.QObject_ITF
	QQmlFileSelector_PTR() *QQmlFileSelector
}

type QQmlFile_ITF

type QQmlFile_ITF interface {
	QQmlFile_PTR() *QQmlFile
}

type QQmlFile__Status

type QQmlFile__Status = int
const QQmlFile__Error QQmlFile__Status = 2
const QQmlFile__Loading QQmlFile__Status = 3
const QQmlFile__Null QQmlFile__Status = 0
const QQmlFile__Ready QQmlFile__Status = 1

type QQmlImageProviderBase

type QQmlImageProviderBase struct {
	*qtrt.CObject
}

func NewQQmlImageProviderBaseFromPointer

func NewQQmlImageProviderBaseFromPointer(cthis unsafe.Pointer) *QQmlImageProviderBase

func (*QQmlImageProviderBase) FlagItemName

func (this *QQmlImageProviderBase) FlagItemName(val int) string

func (*QQmlImageProviderBase) Flags

func (this *QQmlImageProviderBase) Flags() int

func (*QQmlImageProviderBase) GetCthis

func (this *QQmlImageProviderBase) GetCthis() unsafe.Pointer

func (*QQmlImageProviderBase) ImageType

func (this *QQmlImageProviderBase) ImageType() int

func (*QQmlImageProviderBase) ImageTypeItemName

func (this *QQmlImageProviderBase) ImageTypeItemName(val int) string

func (*QQmlImageProviderBase) NewFromPointer

func (*QQmlImageProviderBase) QQmlImageProviderBase_PTR

func (ptr *QQmlImageProviderBase) QQmlImageProviderBase_PTR() *QQmlImageProviderBase

func (*QQmlImageProviderBase) SetCthis

func (this *QQmlImageProviderBase) SetCthis(cthis unsafe.Pointer)

type QQmlImageProviderBase_ITF

type QQmlImageProviderBase_ITF interface {
	QQmlImageProviderBase_PTR() *QQmlImageProviderBase
}

type QQmlImageProviderBase__Flag

type QQmlImageProviderBase__Flag = int
const QQmlImageProviderBase__ForceAsynchronousImageLoading QQmlImageProviderBase__Flag = 1

type QQmlImageProviderBase__ImageType

type QQmlImageProviderBase__ImageType = int
const QQmlImageProviderBase__Image QQmlImageProviderBase__ImageType = 0
const QQmlImageProviderBase__ImageResponse QQmlImageProviderBase__ImageType = 4
const QQmlImageProviderBase__Invalid QQmlImageProviderBase__ImageType = 3
const QQmlImageProviderBase__Pixmap QQmlImageProviderBase__ImageType = 1
const QQmlImageProviderBase__Texture QQmlImageProviderBase__ImageType = 2

type QQmlIncubationController

type QQmlIncubationController struct {
	*qtrt.CObject
}

func NewQQmlIncubationController

func NewQQmlIncubationController() *QQmlIncubationController

func NewQQmlIncubationControllerFromPointer

func NewQQmlIncubationControllerFromPointer(cthis unsafe.Pointer) *QQmlIncubationController

func (*QQmlIncubationController) Engine

func (this *QQmlIncubationController) Engine() *QQmlEngine

func (*QQmlIncubationController) GetCthis

func (this *QQmlIncubationController) GetCthis() unsafe.Pointer

func (*QQmlIncubationController) IncubateFor

func (this *QQmlIncubationController) IncubateFor(msecs int)

func (*QQmlIncubationController) IncubateWhile

func (this *QQmlIncubationController) IncubateWhile(flag *bool, msecs int)

func (*QQmlIncubationController) IncubateWhilep

func (this *QQmlIncubationController) IncubateWhilep(flag *bool)

func (*QQmlIncubationController) IncubatingObjectCount

func (this *QQmlIncubationController) IncubatingObjectCount() int

func (*QQmlIncubationController) IncubatingObjectCountChanged

func (this *QQmlIncubationController) IncubatingObjectCountChanged(arg0 int)

func (*QQmlIncubationController) InheritIncubatingObjectCountChanged

func (this *QQmlIncubationController) InheritIncubatingObjectCountChanged(f func(arg0 int))

void incubatingObjectCountChanged(int)

func (*QQmlIncubationController) NewForInherit

func (*QQmlIncubationController) NewFromPointer

func (*QQmlIncubationController) QQmlIncubationController_PTR

func (ptr *QQmlIncubationController) QQmlIncubationController_PTR() *QQmlIncubationController

func (*QQmlIncubationController) SetCthis

func (this *QQmlIncubationController) SetCthis(cthis unsafe.Pointer)

type QQmlIncubationController_ITF

type QQmlIncubationController_ITF interface {
	QQmlIncubationController_PTR() *QQmlIncubationController
}

type QQmlIncubator

type QQmlIncubator struct {
	*qtrt.CObject
}

func NewQQmlIncubator

func NewQQmlIncubator(arg0 int) *QQmlIncubator

func NewQQmlIncubatorFromPointer

func NewQQmlIncubatorFromPointer(cthis unsafe.Pointer) *QQmlIncubator

func NewQQmlIncubatorp

func NewQQmlIncubatorp() *QQmlIncubator

func (*QQmlIncubator) Clear

func (this *QQmlIncubator) Clear()

Clears the incubator. Any in-progress incubation is aborted. If the incubator is in the Ready state, the created object is not deleted.

func (*QQmlIncubator) ForceCompletion

func (this *QQmlIncubator) ForceCompletion()

Force any in-progress incubation to finish synchronously. Once this call returns, the incubator will not be in the Loading state.

func (*QQmlIncubator) GetCthis

func (this *QQmlIncubator) GetCthis() unsafe.Pointer

func (*QQmlIncubator) IncubationMode

func (this *QQmlIncubator) IncubationMode() int

Return the incubation mode passed to the QQmlIncubator constructor.

func (*QQmlIncubator) IncubationModeItemName

func (this *QQmlIncubator) IncubationModeItemName(val int) string

func (*QQmlIncubator) InheritSetInitialState

func (this *QQmlIncubator) InheritSetInitialState(f func(arg0 *qtcore.QObject))

void setInitialState(QObject *)

func (*QQmlIncubator) InheritStatusChanged

func (this *QQmlIncubator) InheritStatusChanged(f func(arg0 int))

void statusChanged(QQmlIncubator::Status)

func (*QQmlIncubator) IsError

func (this *QQmlIncubator) IsError() bool

Returns true if the incubator's status() is Error.

func (*QQmlIncubator) IsLoading

func (this *QQmlIncubator) IsLoading() bool

Returns true if the incubator's status() is Loading.

func (*QQmlIncubator) IsNull

func (this *QQmlIncubator) IsNull() bool

Returns true if the incubator's status() is Null.

func (*QQmlIncubator) IsReady

func (this *QQmlIncubator) IsReady() bool

Returns true if the incubator's status() is Ready.

func (*QQmlIncubator) NewForInherit

func (*QQmlIncubator) NewForInherit(arg0 int) *QQmlIncubator

Create a new incubator with the specified mode

func (*QQmlIncubator) NewForInheritp

func (*QQmlIncubator) NewForInheritp() *QQmlIncubator

Create a new incubator with the specified mode

func (*QQmlIncubator) NewFromPointer

func (*QQmlIncubator) NewFromPointer(cthis unsafe.Pointer) *QQmlIncubator

func (*QQmlIncubator) Object

func (this *QQmlIncubator) Object() *qtcore.QObject

Return the incubated object if the status is Ready, otherwise 0.

func (*QQmlIncubator) QQmlIncubator_PTR

func (ptr *QQmlIncubator) QQmlIncubator_PTR() *QQmlIncubator

func (*QQmlIncubator) SetCthis

func (this *QQmlIncubator) SetCthis(cthis unsafe.Pointer)

func (*QQmlIncubator) SetInitialState

func (this *QQmlIncubator) SetInitialState(arg0 qtcore.QObject_ITF)

Called after the object is first created, but before property bindings are evaluated and, if applicable, QQmlParserStatus::componentComplete() is called. This is equivalent to the point between QQmlComponent::beginCreate() and QQmlComponent::completeCreate(), and can be used to assign initial values to the object's properties.

The default implementation does nothing.

func (*QQmlIncubator) Status

func (this *QQmlIncubator) Status() int

Return the current status of the incubator.

func (*QQmlIncubator) StatusChanged

func (this *QQmlIncubator) StatusChanged(arg0 int)

Called when the status of the incubator changes. status is the new status.

The default implementation does nothing.

func (*QQmlIncubator) StatusItemName

func (this *QQmlIncubator) StatusItemName(val int) string

type QQmlIncubator_ITF

type QQmlIncubator_ITF interface {
	QQmlIncubator_PTR() *QQmlIncubator
}

type QQmlIncubator__IncubationMode

type QQmlIncubator__IncubationMode = int

Specifies the mode the incubator operates in. Regardless of the incubation mode, a QQmlIncubator will behave synchronously if the QQmlEngine does not have a QQmlIncubationController set.

const QQmlIncubator__Asynchronous QQmlIncubator__IncubationMode = 0

The object will be created asynchronously.

const QQmlIncubator__AsynchronousIfNested QQmlIncubator__IncubationMode = 1

If the object is being created in a context that is already part of an asynchronous creation, this incubator will join that existing incubation and execute asynchronously. The existing incubation will not become Ready until both it and this incubation have completed. Otherwise, the incubation will execute synchronously.

const QQmlIncubator__Synchronous QQmlIncubator__IncubationMode = 2

The object will be created synchronously.

type QQmlIncubator__Status

type QQmlIncubator__Status = int

Specifies the status of the QQmlIncubator.

const QQmlIncubator__Error QQmlIncubator__Status = 3

An error occurred. The errors can be access by calling errors().

const QQmlIncubator__Loading QQmlIncubator__Status = 2

The object is in the process of being created.

const QQmlIncubator__Null QQmlIncubator__Status = 0

Incubation is not in progress. Call QQmlComponent::create() to begin incubating.

const QQmlIncubator__Ready QQmlIncubator__Status = 1

The object is fully created and can be accessed by calling object().

type QQmlInfo

type QQmlInfo struct {
	*qtrt.CObject
}

func NewQQmlInfoFromPointer

func NewQQmlInfoFromPointer(cthis unsafe.Pointer) *QQmlInfo

func QmlDebug

func QmlDebug(me qtcore.QObject_ITF, error QQmlError_ITF) *QQmlInfo

func QmlDebug1

func QmlDebug1(me qtcore.QObject_ITF) *QQmlInfo

func QmlInfo

func QmlInfo(me qtcore.QObject_ITF, error QQmlError_ITF) *QQmlInfo

func QmlInfo1

func QmlInfo1(me qtcore.QObject_ITF) *QQmlInfo

func QmlWarning

func QmlWarning(me qtcore.QObject_ITF, error QQmlError_ITF) *QQmlInfo

func QmlWarning1

func QmlWarning1(me qtcore.QObject_ITF) *QQmlInfo

func (*QQmlInfo) GetCthis

func (this *QQmlInfo) GetCthis() unsafe.Pointer

func (*QQmlInfo) NewFromPointer

func (*QQmlInfo) NewFromPointer(cthis unsafe.Pointer) *QQmlInfo

func (*QQmlInfo) Operator_left_shift

func (this *QQmlInfo) Operator_left_shift(t qtcore.QChar_ITF) *QQmlInfo

func (*QQmlInfo) Operator_left_shift1

func (this *QQmlInfo) Operator_left_shift1(t bool) *QQmlInfo

func (*QQmlInfo) Operator_left_shift10

func (this *QQmlInfo) Operator_left_shift10(t uint64) *QQmlInfo

func (*QQmlInfo) Operator_left_shift11

func (this *QQmlInfo) Operator_left_shift11(t float32) *QQmlInfo

func (*QQmlInfo) Operator_left_shift12

func (this *QQmlInfo) Operator_left_shift12(t float64) *QQmlInfo

func (*QQmlInfo) Operator_left_shift13

func (this *QQmlInfo) Operator_left_shift13(t string) *QQmlInfo

func (*QQmlInfo) Operator_left_shift14

func (this *QQmlInfo) Operator_left_shift14(t string) *QQmlInfo

func (*QQmlInfo) Operator_left_shift15

func (this *QQmlInfo) Operator_left_shift15(t qtcore.QStringRef_ITF) *QQmlInfo

func (*QQmlInfo) Operator_left_shift16

func (this *QQmlInfo) Operator_left_shift16(t qtcore.QLatin1String_ITF) *QQmlInfo

func (*QQmlInfo) Operator_left_shift17

func (this *QQmlInfo) Operator_left_shift17(t qtcore.QByteArray_ITF) *QQmlInfo

func (*QQmlInfo) Operator_left_shift18

func (this *QQmlInfo) Operator_left_shift18(t unsafe.Pointer) *QQmlInfo

func (*QQmlInfo) Operator_left_shift19

func (this *QQmlInfo) Operator_left_shift19(m qtcore.QTextStreamManipulator_ITF) *QQmlInfo

func (*QQmlInfo) Operator_left_shift2

func (this *QQmlInfo) Operator_left_shift2(t byte) *QQmlInfo

func (*QQmlInfo) Operator_left_shift20

func (this *QQmlInfo) Operator_left_shift20(t qtcore.QUrl_ITF) *QQmlInfo

func (*QQmlInfo) Operator_left_shift3

func (this *QQmlInfo) Operator_left_shift3(t int16) *QQmlInfo

func (*QQmlInfo) Operator_left_shift4

func (this *QQmlInfo) Operator_left_shift4(t uint16) *QQmlInfo

func (*QQmlInfo) Operator_left_shift5

func (this *QQmlInfo) Operator_left_shift5(t int) *QQmlInfo

func (*QQmlInfo) Operator_left_shift6

func (this *QQmlInfo) Operator_left_shift6(t uint) *QQmlInfo

func (*QQmlInfo) Operator_left_shift7

func (this *QQmlInfo) Operator_left_shift7(t int) *QQmlInfo

func (*QQmlInfo) Operator_left_shift8

func (this *QQmlInfo) Operator_left_shift8(t uint) *QQmlInfo

func (*QQmlInfo) Operator_left_shift9

func (this *QQmlInfo) Operator_left_shift9(t int64) *QQmlInfo

func (*QQmlInfo) QQmlInfo_PTR

func (ptr *QQmlInfo) QQmlInfo_PTR() *QQmlInfo

func (*QQmlInfo) SetCthis

func (this *QQmlInfo) SetCthis(cthis unsafe.Pointer)

type QQmlInfo_ITF

type QQmlInfo_ITF interface {
	QQmlInfo_PTR() *QQmlInfo
}

type QQmlListReference

type QQmlListReference struct {
	*qtrt.CObject
}

func NewQQmlListReference

func NewQQmlListReference() *QQmlListReference

func NewQQmlListReference1

func NewQQmlListReference1(arg0 qtcore.QObject_ITF, property string, arg2 QQmlEngine_ITF) *QQmlListReference

func NewQQmlListReference1p

func NewQQmlListReference1p(arg0 qtcore.QObject_ITF, property string) *QQmlListReference

func NewQQmlListReferenceFromPointer

func NewQQmlListReferenceFromPointer(cthis unsafe.Pointer) *QQmlListReference

func (*QQmlListReference) At

func (this *QQmlListReference) At(arg0 int) *qtcore.QObject

func (*QQmlListReference) CanAppend

func (this *QQmlListReference) CanAppend() bool

func (*QQmlListReference) CanAt

func (this *QQmlListReference) CanAt() bool

func (*QQmlListReference) CanClear

func (this *QQmlListReference) CanClear() bool

func (*QQmlListReference) CanCount

func (this *QQmlListReference) CanCount() bool

func (*QQmlListReference) Clear

func (this *QQmlListReference) Clear() bool

func (*QQmlListReference) Count

func (this *QQmlListReference) Count() int

func (*QQmlListReference) GetCthis

func (this *QQmlListReference) GetCthis() unsafe.Pointer

func (*QQmlListReference) IsManipulable

func (this *QQmlListReference) IsManipulable() bool

func (*QQmlListReference) IsReadable

func (this *QQmlListReference) IsReadable() bool

func (*QQmlListReference) IsValid

func (this *QQmlListReference) IsValid() bool

func (*QQmlListReference) ListElementType

func (this *QQmlListReference) ListElementType() *qtcore.QMetaObject

func (*QQmlListReference) NewForInherit

func (*QQmlListReference) NewForInherit() *QQmlListReference

func (*QQmlListReference) NewForInherit1

func (*QQmlListReference) NewForInherit1(arg0 qtcore.QObject_ITF, property string, arg2 QQmlEngine_ITF) *QQmlListReference

func (*QQmlListReference) NewForInherit1p

func (*QQmlListReference) NewForInherit1p(arg0 qtcore.QObject_ITF, property string) *QQmlListReference

func (*QQmlListReference) NewFromPointer

func (*QQmlListReference) NewFromPointer(cthis unsafe.Pointer) *QQmlListReference

func (*QQmlListReference) Object

func (this *QQmlListReference) Object() *qtcore.QObject

func (*QQmlListReference) Operator_equal

func (this *QQmlListReference) Operator_equal(arg0 QQmlListReference_ITF) *QQmlListReference

func (*QQmlListReference) QQmlListReference_PTR

func (ptr *QQmlListReference) QQmlListReference_PTR() *QQmlListReference

func (*QQmlListReference) SetCthis

func (this *QQmlListReference) SetCthis(cthis unsafe.Pointer)

type QQmlListReference_ITF

type QQmlListReference_ITF interface {
	QQmlListReference_PTR() *QQmlListReference
}

type QQmlNetworkAccessManagerFactory

type QQmlNetworkAccessManagerFactory struct {
	*qtrt.CObject
}

func NewQQmlNetworkAccessManagerFactoryFromPointer

func NewQQmlNetworkAccessManagerFactoryFromPointer(cthis unsafe.Pointer) *QQmlNetworkAccessManagerFactory

func (*QQmlNetworkAccessManagerFactory) Create

Creates and returns a network access manager with the specified parent. This method must return a new QNetworkAccessManager instance each time it is called.

Note: this method may be called by multiple threads, so ensure the implementation of this method is reentrant.

func (*QQmlNetworkAccessManagerFactory) GetCthis

func (*QQmlNetworkAccessManagerFactory) NewFromPointer

func (*QQmlNetworkAccessManagerFactory) QQmlNetworkAccessManagerFactory_PTR

func (ptr *QQmlNetworkAccessManagerFactory) QQmlNetworkAccessManagerFactory_PTR() *QQmlNetworkAccessManagerFactory

func (*QQmlNetworkAccessManagerFactory) SetCthis

func (this *QQmlNetworkAccessManagerFactory) SetCthis(cthis unsafe.Pointer)

type QQmlNetworkAccessManagerFactory_ITF

type QQmlNetworkAccessManagerFactory_ITF interface {
	QQmlNetworkAccessManagerFactory_PTR() *QQmlNetworkAccessManagerFactory
}

type QQmlParserStatus

type QQmlParserStatus struct {
	*qtrt.CObject
}

func NewQQmlParserStatus

func NewQQmlParserStatus() *QQmlParserStatus

func NewQQmlParserStatusFromPointer

func NewQQmlParserStatusFromPointer(cthis unsafe.Pointer) *QQmlParserStatus

func (*QQmlParserStatus) ClassBegin

func (this *QQmlParserStatus) ClassBegin()

Invoked after class creation, but before any properties have been set.

func (*QQmlParserStatus) ComponentComplete

func (this *QQmlParserStatus) ComponentComplete()

Invoked after the root component that caused this instantiation has completed construction. At this point all static values and binding values have been assigned to the class.

func (*QQmlParserStatus) GetCthis

func (this *QQmlParserStatus) GetCthis() unsafe.Pointer

func (*QQmlParserStatus) NewForInherit

func (*QQmlParserStatus) NewForInherit() *QQmlParserStatus

func (*QQmlParserStatus) NewFromPointer

func (*QQmlParserStatus) NewFromPointer(cthis unsafe.Pointer) *QQmlParserStatus

func (*QQmlParserStatus) QQmlParserStatus_PTR

func (ptr *QQmlParserStatus) QQmlParserStatus_PTR() *QQmlParserStatus

func (*QQmlParserStatus) SetCthis

func (this *QQmlParserStatus) SetCthis(cthis unsafe.Pointer)

type QQmlParserStatus_ITF

type QQmlParserStatus_ITF interface {
	QQmlParserStatus_PTR() *QQmlParserStatus
}

type QQmlProperty

type QQmlProperty struct {
	*qtrt.CObject
}

func NewQQmlProperty

func NewQQmlProperty() *QQmlProperty

func NewQQmlProperty1

func NewQQmlProperty1(arg0 qtcore.QObject_ITF) *QQmlProperty

func NewQQmlProperty2

func NewQQmlProperty2(arg0 qtcore.QObject_ITF, arg1 QQmlContext_ITF) *QQmlProperty

func NewQQmlProperty3

func NewQQmlProperty3(arg0 qtcore.QObject_ITF, arg1 QQmlEngine_ITF) *QQmlProperty

func NewQQmlProperty4

func NewQQmlProperty4(arg0 qtcore.QObject_ITF, arg1 string) *QQmlProperty

func NewQQmlProperty5

func NewQQmlProperty5(arg0 qtcore.QObject_ITF, arg1 string, arg2 QQmlContext_ITF) *QQmlProperty

func NewQQmlProperty6

func NewQQmlProperty6(arg0 qtcore.QObject_ITF, arg1 string, arg2 QQmlEngine_ITF) *QQmlProperty

func NewQQmlPropertyFromPointer

func NewQQmlPropertyFromPointer(cthis unsafe.Pointer) *QQmlProperty

func (*QQmlProperty) ConnectNotifySignal

func (this *QQmlProperty) ConnectNotifySignal(dest qtcore.QObject_ITF, slot string) bool

Connects the property's change notifier signal to the specified slot of the dest object and returns true. Returns false if this metaproperty does not represent a regular Qt property or if it has no change notifier signal, or if the dest object does not have the specified slot.

Note: slot should be passed using the SLOT() macro so it is correctly identified.

func (*QQmlProperty) ConnectNotifySignal1

func (this *QQmlProperty) ConnectNotifySignal1(dest qtcore.QObject_ITF, method int) bool

Connects the property's change notifier signal to the specified slot of the dest object and returns true. Returns false if this metaproperty does not represent a regular Qt property or if it has no change notifier signal, or if the dest object does not have the specified slot.

Note: slot should be passed using the SLOT() macro so it is correctly identified.

func (*QQmlProperty) GetCthis

func (this *QQmlProperty) GetCthis() unsafe.Pointer

func (*QQmlProperty) HasNotifySignal

func (this *QQmlProperty) HasNotifySignal() bool

Returns true if the property has a change notifier signal, otherwise false.

func (*QQmlProperty) Index

func (this *QQmlProperty) Index() int

Return the Qt metaobject index of the property.

func (*QQmlProperty) IsDesignable

func (this *QQmlProperty) IsDesignable() bool

Returns true if the property is designable, otherwise false.

func (*QQmlProperty) IsProperty

func (this *QQmlProperty) IsProperty() bool

Returns true if this QQmlProperty represents a regular Qt property.

func (*QQmlProperty) IsResettable

func (this *QQmlProperty) IsResettable() bool

Returns true if the property is resettable, otherwise false.

func (*QQmlProperty) IsSignalProperty

func (this *QQmlProperty) IsSignalProperty() bool

Returns true if this QQmlProperty represents a QML signal property.

func (*QQmlProperty) IsValid

func (this *QQmlProperty) IsValid() bool

Returns true if the QQmlProperty refers to a valid property, otherwise false.

func (*QQmlProperty) IsWritable

func (this *QQmlProperty) IsWritable() bool

Returns true if the property is writable, otherwise false.

func (*QQmlProperty) Method

func (this *QQmlProperty) Method() *qtcore.QMetaMethod

Return the QMetaMethod for this property if it is a SignalProperty, otherwise returns an invalid QMetaMethod.

func (*QQmlProperty) Name

func (this *QQmlProperty) Name() string

Return the name of this QML property.

func (*QQmlProperty) NeedsNotifySignal

func (this *QQmlProperty) NeedsNotifySignal() bool

Returns true if the property needs a change notifier signal for bindings to remain upto date, false otherwise.

Some properties, such as attached properties or those whose value never changes, do not require a change notifier.

func (*QQmlProperty) NewForInherit

func (*QQmlProperty) NewForInherit() *QQmlProperty

Create an invalid QQmlProperty.

func (*QQmlProperty) NewForInherit1

func (*QQmlProperty) NewForInherit1(arg0 qtcore.QObject_ITF) *QQmlProperty

Create an invalid QQmlProperty.

func (*QQmlProperty) NewForInherit2

func (*QQmlProperty) NewForInherit2(arg0 qtcore.QObject_ITF, arg1 QQmlContext_ITF) *QQmlProperty

Create an invalid QQmlProperty.

func (*QQmlProperty) NewForInherit3

func (*QQmlProperty) NewForInherit3(arg0 qtcore.QObject_ITF, arg1 QQmlEngine_ITF) *QQmlProperty

Create an invalid QQmlProperty.

func (*QQmlProperty) NewForInherit4

func (*QQmlProperty) NewForInherit4(arg0 qtcore.QObject_ITF, arg1 string) *QQmlProperty

Create an invalid QQmlProperty.

func (*QQmlProperty) NewForInherit5

func (*QQmlProperty) NewForInherit5(arg0 qtcore.QObject_ITF, arg1 string, arg2 QQmlContext_ITF) *QQmlProperty

Create an invalid QQmlProperty.

func (*QQmlProperty) NewForInherit6

func (*QQmlProperty) NewForInherit6(arg0 qtcore.QObject_ITF, arg1 string, arg2 QQmlEngine_ITF) *QQmlProperty

Create an invalid QQmlProperty.

func (*QQmlProperty) NewFromPointer

func (*QQmlProperty) NewFromPointer(cthis unsafe.Pointer) *QQmlProperty

func (*QQmlProperty) Object

func (this *QQmlProperty) Object() *qtcore.QObject

Returns the QQmlProperty's QObject.

func (*QQmlProperty) Operator_equal

func (this *QQmlProperty) Operator_equal(arg0 QQmlProperty_ITF) *QQmlProperty

func (*QQmlProperty) Operator_equal_equal

func (this *QQmlProperty) Operator_equal_equal(arg0 QQmlProperty_ITF) bool

func (*QQmlProperty) Property

func (this *QQmlProperty) Property() *qtcore.QMetaProperty

Returns the Qt property associated with this QML property.

func (*QQmlProperty) PropertyType

func (this *QQmlProperty) PropertyType() int

Returns the QVariant type of the property, or QVariant::Invalid if the property has no QVariant type.

func (*QQmlProperty) PropertyTypeCategory

func (this *QQmlProperty) PropertyTypeCategory() int

Returns the property category.

func (*QQmlProperty) PropertyTypeCategoryItemName

func (this *QQmlProperty) PropertyTypeCategoryItemName(val int) string

func (*QQmlProperty) PropertyTypeName

func (this *QQmlProperty) PropertyTypeName() string

Returns the type name of the property, or 0 if the property has no type name.

func (*QQmlProperty) QQmlProperty_PTR

func (ptr *QQmlProperty) QQmlProperty_PTR() *QQmlProperty

func (*QQmlProperty) Read

func (this *QQmlProperty) Read() *qtcore.QVariant

Returns the property value.

func (*QQmlProperty) Read1

func (this *QQmlProperty) Read1(arg0 qtcore.QObject_ITF, arg1 string) *qtcore.QVariant

Returns the property value.

func (*QQmlProperty) Read2

func (this *QQmlProperty) Read2(arg0 qtcore.QObject_ITF, arg1 string, arg2 QQmlContext_ITF) *qtcore.QVariant

Returns the property value.

func (*QQmlProperty) Read3

func (this *QQmlProperty) Read3(arg0 qtcore.QObject_ITF, arg1 string, arg2 QQmlEngine_ITF) *qtcore.QVariant

Returns the property value.

func (*QQmlProperty) Reset

func (this *QQmlProperty) Reset() bool

Resets the property and returns true if the property is resettable. If the property is not resettable, nothing happens and false is returned.

func (*QQmlProperty) SetCthis

func (this *QQmlProperty) SetCthis(cthis unsafe.Pointer)

func (*QQmlProperty) Type

func (this *QQmlProperty) Type() int

Returns the type of the property.

func (*QQmlProperty) TypeItemName

func (this *QQmlProperty) TypeItemName(val int) string

func (*QQmlProperty) Write

func (this *QQmlProperty) Write(arg0 qtcore.QVariant_ITF) bool

Sets the property value to value. Returns true on success, or false if the property can't be set because the value is the wrong type, for example.

func (*QQmlProperty) Write1

func (this *QQmlProperty) Write1(arg0 qtcore.QObject_ITF, arg1 string, arg2 qtcore.QVariant_ITF) bool

Sets the property value to value. Returns true on success, or false if the property can't be set because the value is the wrong type, for example.

func (*QQmlProperty) Write2

func (this *QQmlProperty) Write2(arg0 qtcore.QObject_ITF, arg1 string, arg2 qtcore.QVariant_ITF, arg3 QQmlContext_ITF) bool

Sets the property value to value. Returns true on success, or false if the property can't be set because the value is the wrong type, for example.

func (*QQmlProperty) Write3

func (this *QQmlProperty) Write3(arg0 qtcore.QObject_ITF, arg1 string, arg2 qtcore.QVariant_ITF, arg3 QQmlEngine_ITF) bool

Sets the property value to value. Returns true on success, or false if the property can't be set because the value is the wrong type, for example.

type QQmlPropertyMap

type QQmlPropertyMap struct {
	*qtcore.QObject
}

func NewQQmlPropertyMap

func NewQQmlPropertyMap(parent qtcore.QObject_ITF) *QQmlPropertyMap

func NewQQmlPropertyMapFromPointer

func NewQQmlPropertyMapFromPointer(cthis unsafe.Pointer) *QQmlPropertyMap

func NewQQmlPropertyMapp

func NewQQmlPropertyMapp() *QQmlPropertyMap

func (*QQmlPropertyMap) Clear

func (this *QQmlPropertyMap) Clear(key string)

Clears the value (if any) associated with key.

func (*QQmlPropertyMap) Contains

func (this *QQmlPropertyMap) Contains(key string) bool

Returns true if the map contains key.

See also size().

func (*QQmlPropertyMap) Count

func (this *QQmlPropertyMap) Count() int

This is an overloaded function.

Same as size().

func (*QQmlPropertyMap) GetCthis

func (this *QQmlPropertyMap) GetCthis() unsafe.Pointer

func (*QQmlPropertyMap) InheritUpdateValue

func (this *QQmlPropertyMap) InheritUpdateValue(f func(key string, input *qtcore.QVariant) unsafe.Pointer)

QVariant updateValue(const QString &, const QVariant &)

func (*QQmlPropertyMap) IsEmpty

func (this *QQmlPropertyMap) IsEmpty() bool

Returns true if the map contains no keys; otherwise returns false.

See also size().

func (*QQmlPropertyMap) Keys

func (this *QQmlPropertyMap) Keys() *qtcore.QStringList

Returns the list of keys.

Keys that have been cleared will still appear in this list, even though their associated values are invalid QVariants.

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

func (*QQmlPropertyMap) MetaObject

func (this *QQmlPropertyMap) MetaObject() *qtcore.QMetaObject

func (*QQmlPropertyMap) NewForInherit

func (*QQmlPropertyMap) NewForInherit(parent qtcore.QObject_ITF) *QQmlPropertyMap

Constructs a bindable map with parent object parent.

func (*QQmlPropertyMap) NewForInheritp

func (*QQmlPropertyMap) NewForInheritp() *QQmlPropertyMap

Constructs a bindable map with parent object parent.

func (*QQmlPropertyMap) NewFromPointer

func (*QQmlPropertyMap) NewFromPointer(cthis unsafe.Pointer) *QQmlPropertyMap

func (*QQmlPropertyMap) Operator_get_index

func (this *QQmlPropertyMap) Operator_get_index(key string) *qtcore.QVariant

func (*QQmlPropertyMap) Operator_get_index1

func (this *QQmlPropertyMap) Operator_get_index1(key string) *qtcore.QVariant

func (*QQmlPropertyMap) QQmlPropertyMap_PTR

func (ptr *QQmlPropertyMap) QQmlPropertyMap_PTR() *QQmlPropertyMap

func (*QQmlPropertyMap) SetCthis

func (this *QQmlPropertyMap) SetCthis(cthis unsafe.Pointer)

func (*QQmlPropertyMap) Size

func (this *QQmlPropertyMap) Size() int

Returns the number of keys in the map.

See also isEmpty() and count().

func (*QQmlPropertyMap) UpdateValue

func (this *QQmlPropertyMap) UpdateValue(key string, input qtcore.QVariant_ITF) *qtcore.QVariant

Returns the new value to be stored for the key key. This function is provided to intercept updates to a property from QML, where the value provided from QML is input.

Override this function to manipulate the property value as it is updated. Note that this function is only invoked when the value is updated from QML.

func (*QQmlPropertyMap) Value

func (this *QQmlPropertyMap) Value(key string) *qtcore.QVariant

Returns the value associated with key.

If no value has been set for this key (or if the value has been cleared), an invalid QVariant is returned.

func (*QQmlPropertyMap) ValueChanged

func (this *QQmlPropertyMap) ValueChanged(key string, value qtcore.QVariant_ITF)

This signal is emitted whenever one of the values in the map is changed. key is the key corresponding to the value that was changed.

Note: valueChanged() is NOT emitted when changes are made by calling insert() or clear() - it is only emitted when a value is updated from QML.

type QQmlPropertyMap_ITF

type QQmlPropertyMap_ITF interface {
	qtcore.QObject_ITF
	QQmlPropertyMap_PTR() *QQmlPropertyMap
}

type QQmlPropertyValueSource

type QQmlPropertyValueSource struct {
	*qtrt.CObject
}

func NewQQmlPropertyValueSource

func NewQQmlPropertyValueSource() *QQmlPropertyValueSource

func NewQQmlPropertyValueSourceFromPointer

func NewQQmlPropertyValueSourceFromPointer(cthis unsafe.Pointer) *QQmlPropertyValueSource

func (*QQmlPropertyValueSource) GetCthis

func (this *QQmlPropertyValueSource) GetCthis() unsafe.Pointer

func (*QQmlPropertyValueSource) NewForInherit

Constructs a QQmlPropertyValueSource.

func (*QQmlPropertyValueSource) NewFromPointer

func (*QQmlPropertyValueSource) QQmlPropertyValueSource_PTR

func (ptr *QQmlPropertyValueSource) QQmlPropertyValueSource_PTR() *QQmlPropertyValueSource

func (*QQmlPropertyValueSource) SetCthis

func (this *QQmlPropertyValueSource) SetCthis(cthis unsafe.Pointer)

func (*QQmlPropertyValueSource) SetTarget

func (this *QQmlPropertyValueSource) SetTarget(arg0 QQmlProperty_ITF)

Set the target property for the value source. This method will be called by the QML engine when assigning a value source.

type QQmlPropertyValueSource_ITF

type QQmlPropertyValueSource_ITF interface {
	QQmlPropertyValueSource_PTR() *QQmlPropertyValueSource
}

type QQmlProperty_ITF

type QQmlProperty_ITF interface {
	QQmlProperty_PTR() *QQmlProperty
}

type QQmlProperty__PropertyTypeCategory

type QQmlProperty__PropertyTypeCategory = int

This enum specifies a category of QML property.

const QQmlProperty__InvalidCategory QQmlProperty__PropertyTypeCategory = 0

The property is invalid, or is a signal property.

const QQmlProperty__List QQmlProperty__PropertyTypeCategory = 1

The property is a QQmlListProperty list property

const QQmlProperty__Normal QQmlProperty__PropertyTypeCategory = 3

The property is a normal value property.

const QQmlProperty__Object QQmlProperty__PropertyTypeCategory = 2

The property is a QObject derived type pointer

type QQmlProperty__Type

type QQmlProperty__Type = int

This enum specifies a type of QML property.

const QQmlProperty__Invalid QQmlProperty__Type = 0

The property is invalid.

const QQmlProperty__Property QQmlProperty__Type = 1

The property is a regular Qt property.

const QQmlProperty__SignalProperty QQmlProperty__Type = 2

The property is a signal property.

type QQmlScriptString

type QQmlScriptString struct {
	*qtrt.CObject
}

func NewQQmlScriptString

func NewQQmlScriptString() *QQmlScriptString

func NewQQmlScriptStringFromPointer

func NewQQmlScriptStringFromPointer(cthis unsafe.Pointer) *QQmlScriptString

func (*QQmlScriptString) BooleanLiteral

func (this *QQmlScriptString) BooleanLiteral(ok *bool) bool

If the content of the QQmlScriptString is a boolean literal, returns the boolean value and sets ok to true. Otherwise returns false and sets ok to false.

func (*QQmlScriptString) GetCthis

func (this *QQmlScriptString) GetCthis() unsafe.Pointer

func (*QQmlScriptString) IsEmpty

func (this *QQmlScriptString) IsEmpty() bool

Returns whether the QQmlScriptString is empty.

func (*QQmlScriptString) IsNullLiteral

func (this *QQmlScriptString) IsNullLiteral() bool

Returns whether the content of the QQmlScriptString is the null literal.

func (*QQmlScriptString) IsUndefinedLiteral

func (this *QQmlScriptString) IsUndefinedLiteral() bool

Returns whether the content of the QQmlScriptString is the undefined literal.

func (*QQmlScriptString) NewForInherit

func (*QQmlScriptString) NewForInherit() *QQmlScriptString

Constructs an empty instance.

func (*QQmlScriptString) NewFromPointer

func (*QQmlScriptString) NewFromPointer(cthis unsafe.Pointer) *QQmlScriptString

func (*QQmlScriptString) NumberLiteral

func (this *QQmlScriptString) NumberLiteral(ok *bool) float64

If the content of the QQmlScriptString is a number literal, returns that number and sets ok to true. Otherwise returns 0.0 and sets ok to false.

func (*QQmlScriptString) Operator_equal

func (this *QQmlScriptString) Operator_equal(arg0 QQmlScriptString_ITF) *QQmlScriptString

func (*QQmlScriptString) Operator_equal_equal

func (this *QQmlScriptString) Operator_equal_equal(arg0 QQmlScriptString_ITF) bool

func (*QQmlScriptString) Operator_not_equal

func (this *QQmlScriptString) Operator_not_equal(arg0 QQmlScriptString_ITF) bool

func (*QQmlScriptString) QQmlScriptString_PTR

func (ptr *QQmlScriptString) QQmlScriptString_PTR() *QQmlScriptString

func (*QQmlScriptString) SetCthis

func (this *QQmlScriptString) SetCthis(cthis unsafe.Pointer)

func (*QQmlScriptString) StringLiteral

func (this *QQmlScriptString) StringLiteral() string

If the content of the QQmlScriptString is a string literal, returns that string. Otherwise returns a null QString.

type QQmlScriptString_ITF

type QQmlScriptString_ITF interface {
	QQmlScriptString_PTR() *QQmlScriptString
}

type QQmlTypesExtensionInterface

type QQmlTypesExtensionInterface struct {
	*qtrt.CObject
}

func NewQQmlTypesExtensionInterfaceFromPointer

func NewQQmlTypesExtensionInterfaceFromPointer(cthis unsafe.Pointer) *QQmlTypesExtensionInterface

func (*QQmlTypesExtensionInterface) GetCthis

func (this *QQmlTypesExtensionInterface) GetCthis() unsafe.Pointer

func (*QQmlTypesExtensionInterface) NewFromPointer

func (*QQmlTypesExtensionInterface) QQmlTypesExtensionInterface_PTR

func (ptr *QQmlTypesExtensionInterface) QQmlTypesExtensionInterface_PTR() *QQmlTypesExtensionInterface

func (*QQmlTypesExtensionInterface) RegisterTypes

func (this *QQmlTypesExtensionInterface) RegisterTypes(uri string)

func (*QQmlTypesExtensionInterface) SetCthis

func (this *QQmlTypesExtensionInterface) SetCthis(cthis unsafe.Pointer)

type QQmlTypesExtensionInterface_ITF

type QQmlTypesExtensionInterface_ITF interface {
	QQmlTypesExtensionInterface_PTR() *QQmlTypesExtensionInterface
}

type RegisterAutoParent

type RegisterAutoParent struct {
	*qtrt.CObject
}

func NewRegisterAutoParentFromPointer

func NewRegisterAutoParentFromPointer(cthis unsafe.Pointer) *RegisterAutoParent

func (*RegisterAutoParent) GetCthis

func (this *RegisterAutoParent) GetCthis() unsafe.Pointer

func (*RegisterAutoParent) NewFromPointer

func (*RegisterAutoParent) NewFromPointer(cthis unsafe.Pointer) *RegisterAutoParent

func (*RegisterAutoParent) RegisterAutoParent_PTR

func (ptr *RegisterAutoParent) RegisterAutoParent_PTR() *RegisterAutoParent

func (*RegisterAutoParent) SetCthis

func (this *RegisterAutoParent) SetCthis(cthis unsafe.Pointer)

type RegisterAutoParent_ITF

type RegisterAutoParent_ITF interface {
	RegisterAutoParent_PTR() *RegisterAutoParent
}

type RegisterCompositeSingletonType

type RegisterCompositeSingletonType struct {
	*qtrt.CObject
}

func NewRegisterCompositeSingletonTypeFromPointer

func NewRegisterCompositeSingletonTypeFromPointer(cthis unsafe.Pointer) *RegisterCompositeSingletonType

func (*RegisterCompositeSingletonType) GetCthis

func (*RegisterCompositeSingletonType) NewFromPointer

func (*RegisterCompositeSingletonType) RegisterCompositeSingletonType_PTR

func (ptr *RegisterCompositeSingletonType) RegisterCompositeSingletonType_PTR() *RegisterCompositeSingletonType

func (*RegisterCompositeSingletonType) SetCthis

func (this *RegisterCompositeSingletonType) SetCthis(cthis unsafe.Pointer)

type RegisterCompositeSingletonType_ITF

type RegisterCompositeSingletonType_ITF interface {
	RegisterCompositeSingletonType_PTR() *RegisterCompositeSingletonType
}

type RegisterCompositeType

type RegisterCompositeType struct {
	*qtrt.CObject
}

func NewRegisterCompositeTypeFromPointer

func NewRegisterCompositeTypeFromPointer(cthis unsafe.Pointer) *RegisterCompositeType

func (*RegisterCompositeType) GetCthis

func (this *RegisterCompositeType) GetCthis() unsafe.Pointer

func (*RegisterCompositeType) NewFromPointer

func (*RegisterCompositeType) RegisterCompositeType_PTR

func (ptr *RegisterCompositeType) RegisterCompositeType_PTR() *RegisterCompositeType

func (*RegisterCompositeType) SetCthis

func (this *RegisterCompositeType) SetCthis(cthis unsafe.Pointer)

type RegisterCompositeType_ITF

type RegisterCompositeType_ITF interface {
	RegisterCompositeType_PTR() *RegisterCompositeType
}

type RegisterInterface

type RegisterInterface struct {
	*qtrt.CObject
}

func NewRegisterInterfaceFromPointer

func NewRegisterInterfaceFromPointer(cthis unsafe.Pointer) *RegisterInterface

func (*RegisterInterface) GetCthis

func (this *RegisterInterface) GetCthis() unsafe.Pointer

func (*RegisterInterface) NewFromPointer

func (*RegisterInterface) NewFromPointer(cthis unsafe.Pointer) *RegisterInterface

func (*RegisterInterface) RegisterInterface_PTR

func (ptr *RegisterInterface) RegisterInterface_PTR() *RegisterInterface

func (*RegisterInterface) SetCthis

func (this *RegisterInterface) SetCthis(cthis unsafe.Pointer)

type RegisterInterface_ITF

type RegisterInterface_ITF interface {
	RegisterInterface_PTR() *RegisterInterface
}

type RegisterQmlUnitCacheHook

type RegisterQmlUnitCacheHook struct {
	*qtrt.CObject
}

func NewRegisterQmlUnitCacheHookFromPointer

func NewRegisterQmlUnitCacheHookFromPointer(cthis unsafe.Pointer) *RegisterQmlUnitCacheHook

func (*RegisterQmlUnitCacheHook) GetCthis

func (this *RegisterQmlUnitCacheHook) GetCthis() unsafe.Pointer

func (*RegisterQmlUnitCacheHook) NewFromPointer

func (*RegisterQmlUnitCacheHook) RegisterQmlUnitCacheHook_PTR

func (ptr *RegisterQmlUnitCacheHook) RegisterQmlUnitCacheHook_PTR() *RegisterQmlUnitCacheHook

func (*RegisterQmlUnitCacheHook) SetCthis

func (this *RegisterQmlUnitCacheHook) SetCthis(cthis unsafe.Pointer)

type RegisterQmlUnitCacheHook_ITF

type RegisterQmlUnitCacheHook_ITF interface {
	RegisterQmlUnitCacheHook_PTR() *RegisterQmlUnitCacheHook
}

type RegisterSingletonType

type RegisterSingletonType struct {
	*qtrt.CObject
}

func NewRegisterSingletonTypeFromPointer

func NewRegisterSingletonTypeFromPointer(cthis unsafe.Pointer) *RegisterSingletonType

func (*RegisterSingletonType) GetCthis

func (this *RegisterSingletonType) GetCthis() unsafe.Pointer

func (*RegisterSingletonType) NewFromPointer

func (*RegisterSingletonType) RegisterSingletonType_PTR

func (ptr *RegisterSingletonType) RegisterSingletonType_PTR() *RegisterSingletonType

func (*RegisterSingletonType) SetCthis

func (this *RegisterSingletonType) SetCthis(cthis unsafe.Pointer)

type RegisterSingletonType_ITF

type RegisterSingletonType_ITF interface {
	RegisterSingletonType_PTR() *RegisterSingletonType
}

type RegisterType

type RegisterType struct {
	*qtrt.CObject
}

func NewRegisterTypeFromPointer

func NewRegisterTypeFromPointer(cthis unsafe.Pointer) *RegisterType

func (*RegisterType) GetCthis

func (this *RegisterType) GetCthis() unsafe.Pointer

func (*RegisterType) NewFromPointer

func (*RegisterType) NewFromPointer(cthis unsafe.Pointer) *RegisterType

func (*RegisterType) RegisterType_PTR

func (ptr *RegisterType) RegisterType_PTR() *RegisterType

func (*RegisterType) SetCthis

func (this *RegisterType) SetCthis(cthis unsafe.Pointer)

type RegisterType_ITF

type RegisterType_ITF interface {
	RegisterType_PTR() *RegisterType
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL