diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-08-25 12:28:11 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-09-02 22:44:29 +0200 |
commit | 918c61f275e8a9b46459f425df3b69961955a81d (patch) | |
tree | ee030bc5aaeda50650c5d3bf4486780e6e9405d5 /src/corelib/kernel/qproperty_p.h | |
parent | 1e1b88809261854dee47c9bc105cf71e75b75cb9 (diff) |
Add support for computed properties
Add a QObjectComputedProperty. This class doesn't store the data
itself, instead relies on a getter method to compute it's value.
As the property is read-only, one can not bind to it, but it can
be used in other property bindings.
Change-Id: I0f6bffdd9f80f1d0829826f93a47257f2b3127af
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/kernel/qproperty_p.h')
0 files changed, 0 insertions, 0 deletions