QmlDesigner: Add lock feature support to 3D editor

Added lock feature support for 3D editor. Also refactored the hide
support, since the two use largely similar logic.

Task-number: QDS-2915
Change-Id: I627848f3a3a73881427a03aeec6793fd26a1885a
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2020-10-09 11:14:14 +02:00
committed by Miikka Heikkinen
parent 3d78fef4ef
commit f2883c19b1
16 changed files with 343 additions and 106 deletions
@@ -185,7 +185,8 @@ private: // functions
void setPropertyBinding(const PropertyName &name, const QString &expression);
void setHideInEditor(bool b);
void setHiddenInEditor(bool b);
void setLockedInEditor(bool b);
void resetProperty(const PropertyName &name);
void refreshProperty(const PropertyName &name);