diff options
author | Thomas Hartmann <Thomas.Hartmann@theqtcompany.com> | 2016-09-28 16:52:53 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@theqtcompany.com> | 2016-10-05 07:49:38 +0000 |
commit | 54765de17916948ef56a3fd1111e8c765c07155a (patch) | |
tree | 333973d100009a70b79daf1a753720e42a209748 /src/qml/qml/qqmltypewrapper.cpp | |
parent | c6d66f2e88b42079df9c21c10cf8922871932a32 (diff) |
Adding QQuickDesignerSupportMetaInfo::registerMockupObject()
This allows Qt Quick Designer to register a component with a custom parser
that can serve as a mockup for known C++ components registered
in e.g. main.cpp.
In many cases those components are the interface to the C++ backend.
While the C++ components itself are not relevant for the gui designer,
the user has to be able to instantiate gui components that use such C++
components.
Therefore we create mockup components with a custom parser, so all
property assignments are accepted.
Change-Id: I9c25752b0a5f11c2613346ffbbfd10e3b6eb3a6f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/qml/qml/qqmltypewrapper.cpp')
0 files changed, 0 insertions, 0 deletions