Picture QML Type
|Import Statement:||import QtQuick.Extras 1.4|
Picture displays icons in a scalable vector format. It can also colorize the icons via the color property.
The icon to display is set with the source property.
For example, if you have access to the ISO 7000 icons that come with Qt Enterprise, you can specify the following URL:
Due to the large selection of icons available in this package, it is advisable to use Qt Creator's Qt Quick Designer tool to browse and select icons, as this property will then be set automatically.
source : url
This property specifies the URL of the icon to use. The URL must point to a local file that contains QPicture data. For example:
© 2017 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.