Provides an icon More...
Import Statement: | import quey.ui 0.1 |
Inherits: |
Quey UI provides the Ionicons icon set but with renamed icon names. Look here for the icon names.
import QtQuick 2.4 import quey.ui 0.1 import Qt.labs.folderlistmodel 2.1 ApplicationView { width: Units.dp(640) height: Units.dp(480) Flickable { anchors.fill: parent contentHeight: flow.childrenRect.height Flow { id: flow width: parent.width Icon { id: icon } Repeater { model: FolderListModel { id: folderModel folder: icon.iconDirectory nameFilters: ["*.svg"] } delegate: Icon { source: Qt.resolvedUrl("file://"+filePath) Component.onCompleted: console.log(filePath) } } } } }
The icon name. This will pick the icon with the given name from the installed icon set.