Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlPropertyToPropertyBinding Class Reference

#include <qqmlpropertytopropertybinding_p.h>

Collaboration diagram for QQmlPropertyToPropertyBinding:

Static Public Member Functions

static Q_QML_EXPORT QQmlAnyBinding create (QQmlEngine *engine, const QQmlProperty &source, const QQmlProperty &target)

Friends

class QQmlPropertyToUnbindablePropertyBinding
class QQmlUnbindableToUnbindablePropertyBinding
class QQmlBindableToUnbindablePropertyBinding
class QQmlPropertyToBindablePropertyBinding
class QQmlUnbindableToBindablePropertyBinding
class QQmlBindableToBindablePropertyBinding

Detailed Description

This class can be used to create a direct binding from a source property to a target property, without going through QQmlJavaScriptExpression and QV4::Function. In particular you don't need a compilation unit or byte code to set this up.

Note
The target cannot be a group property, but the source can.

Definition at line 34 of file qqmlpropertytopropertybinding_p.h.

Member Function Documentation

◆ create()

QQmlAnyBinding QQmlPropertyToPropertyBinding::create ( QQmlEngine * engine,
const QQmlProperty & source,
const QQmlProperty & target )
static

Definition at line 27 of file qqmlpropertytopropertybinding.cpp.

◆ QQmlBindableToBindablePropertyBinding

Definition at line 46 of file qqmlpropertytopropertybinding_p.h.

◆ QQmlBindableToUnbindablePropertyBinding

Definition at line 43 of file qqmlpropertytopropertybinding_p.h.

◆ QQmlPropertyToBindablePropertyBinding

Definition at line 44 of file qqmlpropertytopropertybinding_p.h.

◆ QQmlPropertyToUnbindablePropertyBinding

Definition at line 41 of file qqmlpropertytopropertybinding_p.h.

◆ QQmlUnbindableToBindablePropertyBinding

Definition at line 45 of file qqmlpropertytopropertybinding_p.h.

◆ QQmlUnbindableToUnbindablePropertyBinding

Definition at line 42 of file qqmlpropertytopropertybinding_p.h.


The documentation for this class was generated from the following files: