QmlDesigner: Implement Quick3DNodeInstance wrapper

We use Quick3DNodeInstance as a proxy class to wrap QQuick3DNode.
The access to private API like QQuick3DNodePrivate::setIsHiddenInEditor()
is restriced by such proxy classes.

Change-Id: If5191c3b730359000cf983c3af206dcffa07be74
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Pasi Keränen <pasi.keranen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2019-10-17 18:27:57 +02:00
parent b128d498b2
commit ac84f8a457
10 changed files with 177 additions and 6 deletions
@@ -193,6 +193,8 @@ public:
virtual PropertyNameList ignoredProperties() const;
void virtual setHideInEditor(bool b);
protected:
explicit ObjectNodeInstance(QObject *object);
void doResetProperty(const PropertyName &propertyName);