aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexei Cazacov <alexei.cazacov@qt.io>2025-12-30 14:18:21 +0200
committerAlexei Cazacov <alexei.cazacov@qt.io>2026-01-07 11:46:38 +0000
commit268858cd8b648dfb81e9e51163cb2de4c6483d1a (patch)
tree0c84e9e53a32d74ff86b6bed0b8cc594c879a9c4
parentfa4181c910e1a8b73203b139e7296c70b879caaf (diff)
Doc: The contentWidth and contentHeight are documented in a base type
The properties are already documented in the base type. We don't need to duplicate the documentation in every derived type. Fixes: QTBUG-142492 Change-Id: Ie831ef4a19e4c4f46f66f56b1d648c21b9cd0e63 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit 212adb1e070d234e50316220c95895c9832de480) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit b1bcb95168fbc652518d1b30e0d43788d5062b27)
-rw-r--r--src/quicktemplates/qquickmenubar.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/quicktemplates/qquickmenubar.cpp b/src/quicktemplates/qquickmenubar.cpp
index cf806e2da3..c8d08229c5 100644
--- a/src/quicktemplates/qquickmenubar.cpp
+++ b/src/quicktemplates/qquickmenubar.cpp
@@ -771,32 +771,6 @@ QQuickMenu *QQuickMenuBar::takeMenu(int index)
}
/*!
- \since QtQuick.Controls 2.3 (Qt 5.10)
- \qmlproperty real QtQuick.Controls::MenuBar::contentWidth
-
- This property holds the content width. It is used for calculating the total
- implicit width of the menu bar.
-
- \note This property is available in MenuBar since QtQuick.Controls 2.3 (Qt 5.10),
- but it was promoted to the Container base type in QtQuick.Controls 2.5 (Qt 5.12).
-
- \sa Container::contentWidth
-*/
-
-/*!
- \since QtQuick.Controls 2.3 (Qt 5.10)
- \qmlproperty real QtQuick.Controls::MenuBar::contentHeight
-
- This property holds the content height. It is used for calculating the total
- implicit height of the menu bar.
-
- \note This property is available in MenuBar since QtQuick.Controls 2.3 (Qt 5.10),
- but it was promoted to the Container base type in QtQuick.Controls 2.5 (Qt 5.12).
-
- \sa Container::contentHeight
-*/
-
-/*!
\qmlproperty list<Menu> QtQuick.Controls::MenuBar::menus
This property holds the list of menus.