org::kde::kcm::GridViewKCM

org::kde::kcm::GridViewKCM Class Reference

Inherits Page.

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 {...}
}
org.kde.kirigami.Page

Definition at line 41 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 57 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 Wed May 27 2020 23:08:50 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.