GridDelegate

Search for usage in LXR

GridDelegate Class Reference

Properties

listKirigamiAction actions
 
string subtitle
 
alias thumbnail
 
bool thumbnailAvailable
 
string toolTip
 

Detailed Description

Base delegate for KControlmodules based on Grid views of thumbnails Use the onClicked signal handler for managing the main action when the user clicks on the thumbnail @inherits QtQuick.Templates.ItemDelegate.

Definition at line 17 of file GridDelegate.qml.

Property Documentation

◆ actions

listKirigamiAction GridDelegate::actions
read

actions: list<Kirigami.Action> A list of extra actions for the thumbnails.

They will be shown as icons on the bottom-right corner of the thumbnail on mouse over

Definition at line 46 of file GridDelegate.qml.

◆ subtitle

string GridDelegate::subtitle
read

subtitle: string optional string for the text to show below the main label

Definition at line 28 of file GridDelegate.qml.

◆ thumbnail

alias GridDelegate::thumbnail
read

thumbnail: Item the item actually implementing the thumbnail: the visualization is up to the implementation

Definition at line 33 of file GridDelegate.qml.

◆ thumbnailAvailable

bool GridDelegate::thumbnailAvailable
read

thumbnailAvailable: bool Set it to true when a thumbnail is actually available: when false, only an icon will be shown instead of the actual thumbnail ("edit-none" if pluginName is "None", otherwise it uses "view-preview").

Definition at line 40 of file GridDelegate.qml.

◆ toolTip

string GridDelegate::toolTip
read

toolTip: string string for a tooltip for the whole delegate

Definition at line 23 of file GridDelegate.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 Nov 29 2024 11:50:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.