aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/doc/snippets/qtquickcontrols-headerview.qml
Commit message (Collapse)AuthorAgeFilesLines
* doc, QQuickHeaderView: ensure example snippet worksRichard Moe Gustavsen2024-08-261-1/+1
| | | | | | | | | | | | | | | | | | As it stood, the qdoc marker in the example code left the final curly brace out of the snippet. A copy paste of this example would therefore not compile. This patch will make sure the brace is a part of the snippet shown in the docs. Task-number: QTBUG-123595 Pick-to: 6.2 Change-Id: I68bfac0cfc3dcecd487bfb69de07c317f787552e Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io> (cherry picked from commit 3968ef8650da91c8e66d1651f7891793ac3b5d74) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 9ecc9131ed9be2ad421e3ced0b589c00205de2d5) (cherry picked from commit 303bd79ec66a5752405c32afe0d703f119983e67)
* Controls: replace Qt.styleHints with Application.styleHintsMitch Curtis2024-08-121-1/+1
| | | | | | | | | | | | | | | | | As mentioned in QTBUG-95540, using the latter provides better type information for tooling, and avoids the "this property only exists on the object if Quick has been imported" issue. Replace QtQml import in Fluent style's Config.qml with QtQuick to provide access to the Application type. Fixes: QTBUG-126512 Change-Id: I4aac22e54f3b522f74acafd467ce22139352c9dd Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit 9335b0fd1f2358110b88127c9b34fa6867a14069) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit d70e645ca8071789e7d1906114b96ec36233179b) (cherry picked from commit 2a40db4f99ca6ab02f55968a422172cebc4f10a9)
* doc, HeaderView: add a code snippet to the documentationRichard Moe Gustavsen2023-03-211-0/+79
Add a doc snippet to the HeaderView documentation that shows how can use it together with a TableView. Change-Id: Id1043d2b6561f6e68e0ac120b7ba040760263314 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> (cherry picked from commit 540017652ffd545ee2046393c1a64fd798cf1d1d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>