GridViewKCM QML Type
This component is intended to be used as the root item for KCMs that are based upon a grid view of thumbnails, such as the theme or wallpaper selectors. More...
| Import Statement: | import org.kde.kcmutils |
| Inherits: |
Properties
- view : GridView
Detailed Description
It contains a GridView as its main item.
It is possible to specify a header and footer component.
import org.kde.kcmutils as KCMutils
KCMutils.GridViewKCM {
header: Item { }
view.model: kcm.model
view.delegate: KCMutils.GridDelegate { }
footer: Item { }
}
Property Documentation
view : GridView
Exposes the internal KCMUtils.GridView.
In order to set a model or a delegate to it, use the following code:
import org.kde.kcmutils as KCMutils
KCMutils.GridViewKCM {
view.model: kcm.model
view.delegate: KCMutils.GridDelegate { }
}