Pages
API Documentation
On this page

GridView QML Type

A ScrollView containing a GridView, with the default behavior about sizing and background as recommended by the user interface guidelines. More...

  • Import Statement: import org.kde.kcmutils
  • Inherits: ScrollView

Detailed Description

For most KControl modules, it's recommended to use GridViewKCM as the root element of your module instead.

See also GridViewKCM

Property Documentation

framedView : bool

view : GridView

Exposes the internal QtQuick.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 { }
}
We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.