aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/doc/snippets/qtquickcontrols-custom-palette-buttons.qml
Commit message (Collapse)AuthorAgeFilesLines
* doc: Clarify usage of palette; testable snippetsShawn Rutledge2023-05-171-0/+43
- color groups are better shown with copyable monospace syntax rather than capitalized - clarify that using palette grouped-property syntax does not imply that you must define every color - Window has a palette property, inited from SystemPalette: it's not only ApplicationWindow - testable snippets - reuse part of the windowPalette snippet for the Window.active property (switching colors might be the main use case) - make more links Change-Id: I5974351ba66fc9aeec34cb6a4aba1eb85289f536 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io> (cherry picked from commit f1e7e1c3987b905157a1b9b418ea2649100eb390) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>