Sur cette page

Qt Quick Contrôles - Exemple de propriétés de style attachées

Démontre l'utilisation de QQuickAttachedPropertyPropagator.

Fenêtre avec barre d'outils contenant un bouton de basculement en mode sombre et des boutons

L'exemple Attached Style Properties est une application simple qui montre comment utiliser QQuickAttachedPropertyPropagator pour propager les valeurs des propriétés attachées aux objets enfants.

Exécution de l'exemple

Pour exécuter l'exemple à partir de Qt Creatorouvrez le mode Welcome et sélectionnez l'exemple à partir de Examples. Pour plus d'informations, voir Qt Creator: Tutoriel : Construire et exécuter.

Exemple de projet @ code.qt.io

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.