org::kde::kcm::GridViewKCM

Search for usage in LXR

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

Inherits kcm.

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
KCM.GridViewKCM {
header: Item {...}
view.model: kcm.model
view.delegate: KCM.GridDelegate {...}
footer: Item {...}
}

Definition at line 27 of file GridViewKCM.qml.

Property Documentation

◆ view

alias org::kde::kcm::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.kcm 1.1 as KCM
KCM.GridViewKCM {
...
view.model: kcm.model
view.delegate: KCM.GridDelegate {...}
...
}

Definition at line 43 of file GridViewKCM.qml.


The documentation for this class was generated from the following file:
alias view
view: GridView Exposes the internal GridView: in order to set a model or a delegate to it,...
Definition: GridViewKCM.qml:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:01:45 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.