From 64b50adbf6a06058e6c05e15b134e8d72a46b1bc Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Thu, 30 Nov 2023 10:46:49 +0100 Subject: [PATCH] QmlDesigner: Hide categories in Qt Insight view The configuration file of Qt Insight changed its form which means predefined categories were dropped and events took over. The insight view needs to be improved in that matter. For the upcoming release we hide categories all together in order to not create confusion. Task-number: QDS-11443 Change-Id: Ia5faa8574d4c856c8a8ee341f74dc97094fc6cee Reviewed-by: Qt CI Patch Build Bot Reviewed-by: Reviewed-by: Thomas Hartmann --- share/qtcreator/qmldesigner/insight/Main.qml | 3 ++- .../imports/HelperWidgets/InsightSection.qml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/share/qtcreator/qmldesigner/insight/Main.qml b/share/qtcreator/qmldesigner/insight/Main.qml index 1abad0050f5..14a69ce80f4 100644 --- a/share/qtcreator/qmldesigner/insight/Main.qml +++ b/share/qtcreator/qmldesigner/insight/Main.qml @@ -166,7 +166,7 @@ Rectangle { } } } - +/* HelperWidgets.Section { id: predefinedSection caption: qsTr("Predefined Categories") @@ -412,6 +412,7 @@ Rectangle { } } } +*/ } } } diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/InsightSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/InsightSection.qml index b23f8ff95d3..77482bd8488 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/InsightSection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/InsightSection.qml @@ -23,6 +23,7 @@ Section { } SectionLayout { +/* PropertyLabel { text: qsTr("Category") } SecondColumnLayout { @@ -84,7 +85,7 @@ Section { ExpandingSpacer {} } - +*/ PropertyLabel { text: qsTr("Object name") tooltip: qsTr("Sets the object name of the component.")