org::kde::kcm::GridViewKCM

org::kde::kcm::GridViewKCM Class Reference
Inheritance diagram for org::kde::kcm::GridViewKCM:

Properties

alias view
 

Detailed Description

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.

Since
1.1 It contains a GridView as its main item. It is possible to specify a header and footer component.
import org.kde.kcm 1.1 as KCM
header: Item {...}
view.model: kcm.model
view.delegate: KCM.GridDelegate {...}
footer: Item {...}
}

Definition at line 28 of file GridViewKCM.qml.

Property Documentation

alias org::kde::kcm::GridViewKCM::view

view: GridView Exposes the internal GridView: in order to set a model or a delegate to it, use the following code:

import org.kde.kcm 1.1 as KCM
...
view.model: kcm.model
view.delegate: KCM.GridDelegate {...}
...
}

Definition at line 44 of file GridViewKCM.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Oct 27 2020 22:44:08 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.