diff options
author | Mahmoud Badri <mahmoud.badri@qt.io> | 2019-02-11 10:06:28 +0200 |
---|---|---|
committer | Mahmoud Badri <mahmoud.badri@qt.io> | 2019-02-11 19:40:36 +0000 |
commit | 5884818826458539e9e959947051bd845d6acce4 (patch) | |
tree | e41e15fd8ad9ce59bc7ed5dd10c870f130fd7157 /src/Runtime/res/DataModelMetadata | |
parent | 89390421091d40b4dd8f34c5419257b3418ab57f (diff) |
Implement variants tags inspector work
Implemented features:
- UI for the variants tags in the inspector.
- adding, renaming, and deleting tags.
- adding, renaming, and deleting tag groups.
- adding, renaming tags/groups is checked for name uniqueness across
project.
- deleting tags/groups checked for in-use across the project.
- toggling tags state.
- tags are synced with the UIA/UIP.
- changing group color.
- the variants property in saved in the <Graph> part of the UIP.
Remaining tasks:
- implement import and export.
- issue: renaming a selected tag, toggle it unselected till next project
load.
- issue: update the property after deleting a group that is in-use in the
property in the currently open doc but not saved.
- thorough test and tweaking.
Task-no: QT3DS-2983
Change-Id: Iecbb6c854a00ec75864de5dd0f31f6ca3721c8ec
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Runtime/res/DataModelMetadata')
-rw-r--r-- | src/Runtime/res/DataModelMetadata/en-us/MetaData.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml index b376d272..534b4c17 100644 --- a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml +++ b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml @@ -94,6 +94,9 @@ <Property name="blendtype" formalName="Blend Mode" list="Normal:Screen:Multiply:Add:Subtract:*Overlay:*ColorBurn:*ColorDodge" default="Normal" description="Mode of blending between this layer\nand layers below. Modes marked with\n* are available only with HW supporting\nadvanced blending modes." category="Basic Properties" /> <Property name="sourcepath" formalName="Sub-Presentation" description="Presentation or QML stream to\nrender for this layer" type="Renderable" controllable="True" category="Basic Properties" /> + <!-- Variant Tags --> + <Property name="variants" type="String" category="Variant Tags" /> + <!-- Antialiasing --> <Property name="progressiveaa" formalName="Progressive AA" description="Improves the visual quality when no\nitems are moving" list="None:2x:4x:8x" default="None" category="Antialiasing" /> <Property name="multisampleaa" formalName="Multisample AA" description="Improves geometry quality, e.g.\nsilhouettes." list="None:2x:4x:SSAA" default="None" category="Antialiasing" /> |