Auf dieser Seite

ImageStyle QML Type

Definiert den Bildstil für einen Delegierten. Mehr...

Import Statement: import Qt.labs.StyleKit

Eigenschaften

Ausführliche Beschreibung

ImageStyle bietet Eigenschaften für die Platzierung eines Bildes innerhalb eines DelegateStyle. Es ist als image gruppierte Eigenschaft auf jedem Delegaten verfügbar.

Hinweis: Es ist nicht garantiert, dass Typen in Qt.labs-Modulen in zukünftigen Versionen kompatibel bleiben.

Siehe auch DelegateStyle, ControlStyle, ControlStateStyle, und FallbackStyle Reference.

Dokumentation der Eigenschaft

color : color

Ein Farb-Overlay, das auf das Bild angewendet wird. Dies wird in der Regel verwendet, um einfarbige Symbole zu färben, damit sie dem Farbschema des Stils entsprechen.

fillMode : enumeration

Wie das Bild innerhalb des Delegaten skaliert oder gekachelt werden soll. Der Wert ist einer der Image.fillMode enum-Werte.

source : url

Die URL des Bildes, das im Delegaten angezeigt werden soll.

© 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.