summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-01-26 13:21:12 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-01-26 15:56:38 +0000
commit42c7f85b8fa2d0bc52302f508386763f31cd2742 (patch)
treee96cc71bf0fea29fd8609abc989f4285bbeafde3
parentbc99032f9dc7b222b98ab135c75a2bc62cb455c8 (diff)
downloadqttools-42c7f85b8fa2d0bc52302f508386763f31cd2742.tar.gz
Qt Designer: Add a warning note about the auto-connect feature
Task-number: QTBUG-110447 Change-Id: Ia84f20d578a0a7e4304fb7066b9852e570a4fe08 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> (cherry picked from commit 4d10d996d823892429b5fc682f4183a12d030979) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/designer/src/designer/doc/src/designer-manual.qdoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/designer/src/designer/doc/src/designer-manual.qdoc b/src/designer/src/designer/doc/src/designer-manual.qdoc
index a475d227b..d8778e0be 100644
--- a/src/designer/src/designer/doc/src/designer-manual.qdoc
+++ b/src/designer/src/designer/doc/src/designer-manual.qdoc
@@ -2062,6 +2062,10 @@ pixmap property in the property editor.
\snippet manual/doc_src_designer-manual.cpp 2
+ \note When renaming widgets in the form, the slot names need to be
+ adapted accordingly, which can become a maintenance problem.
+ For this reason, we recommend against using this in new code.
+
Using this convention, we can define and implement a slot that responds to
mouse clicks on the \gui OK button: