QmlDesigner: Disable "Edit Component" for effect composer effects

These components are autogenerated and overwritten by effect composer,
so a regular user has no reason to modify them manually.

Fixes: QDS-9020
Change-Id: Ida6706f123a8304944a19364c59620b8d9b4adbb
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Miikka Heikkinen
2024-02-20 13:55:00 +02:00
parent 3e81485c6a
commit f2b29195da
6 changed files with 11 additions and 7 deletions

View File

@@ -577,6 +577,7 @@ QString EffectComposerModel::getQmlEffectString()
QString header{
R"(
// Created with Qt Design Studio (version %1), %2
// Do not manually edit this file, it will be overwritten if effect is modified in Qt Design Studio.
import QtQuick