GridViewKCM

Search for usage in LXR

GridViewKCM Class Reference

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.

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 { }
}

Definition at line 26 of file GridViewKCM.qml.

Property Documentation

◆ view

alias GridViewKCM::view
read

view: GridView Exposes the internal 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 { }
}

Definition at line 41 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-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.