Add support for requires tag
Support a new tag "@requires [node]". This can be used in source code
to indicate that the node uses some features from another nodes. Use
this to add requirement icon & text into node adding dialog. Note that
this is just assistance for the users, not a mandated hard requirement.
Task-number: QTBUG-107839
Change-Id: Ie67e35e5db3a7a2985c9c7c0cb31b541a6ca9d9f
Reviewed-by: <amr.elsayed@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
| commit | b180297f1a10c3fad3b86d1650d0cc9a1a70c4ca |
| parent | dd9057949eb2abf7f3cb02782eb1cfbab58919cf |
| author | Kaj Grönholm <kaj.gronholm@qt.io> |
| committer | Kaj Grönholm <kaj.gronholm@qt.io> |
| commit time | Tue, 25 Oct 2022 14:18:39 +0000 |
- M CMakeLists.txt
- M nodes/basic/dropshadow.qen
- M nodes/basic/fastblur.qen
- M nodes/basic/innershadow.qen
- M nodes/basic/mipmapblur.qen
- M nodes/basic/mipmapdropshadow.qen
- M nodes/basic/noise.qen
- M nodes/nature/electricclouds.qen
- M nodes/nature/thunder.qen
- M qml/AddNodeDialog.qml
- A qml/images/icon_requires.png
- M qqem_help.html
- M src/addnodemodel.cpp
- M src/addnodemodel.h
- M src/syntaxhighlighterdata.cpp