GridView

Search for usage in LXR

GridView Class Reference

Inherits QtQuick::Controls::ScrollView.

Inherited by GridViewInternal.

Properties

bool framedView
 
alias view
 

Detailed Description

A ScrollView containing a GridView, with the default behavior about sizing and background as recommended by the user interface guidelines For most KControl modules, it's recommended to use instead the GridViewKCM component as the root element of your module.

See also
GridViewKCM

Definition at line 16 of file GridView.qml.

Property Documentation

◆ framedView

bool GridView::framedView
read

Definition at line 33 of file GridView.qml.

◆ view

alias GridView::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.GridView {
view.model: kcm.model
view.delegate: KCMUtils.GridDelegate { }
}

Definition at line 31 of file GridView.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 Fri Jul 19 2024 11:52:14 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.