SwipeBrowserDelegate

Search for usage in LXR

SwipeBrowserDelegate Class Reference
Inheritance diagram for SwipeBrowserDelegate:

Properties

alias iconItem
 
alias iconSizeHint
 
alias iconSource
 
alias iconVisible
 
alias imageSource
 
alias label1
 
alias label2
 
alias label3
 
alias label4
 
alias template
 
- Properties inherited from SwipeItemDelegate
alias actionRow
 
int buttonsHeight
 
bool collapse
 
alias content
 
list< ActionquickActions
 
bool showQuickActions
 

Detailed Description

A control used to display information in a horizontal layout, and with a set of actions placed underneath that is revealed by swiping to the left.

This control inherits from MauiKit SwipeItemDelegate, to checkout its inherited properties refer to the docs.

Revealing the actions in the compact mode
Revealing the actions in the expanded mode
Note
The compact/expanded modes are controlled by using the SwipeItemDelegate::collapse property.
See also
SwipeItemDelegate::collapse
Maui.SwipeBrowserDelegate
{
width: parent.width
label1.text: "A Title For This"
label2.text: "Subtitle text with more info"
{
icon.name: "list-add"
},
{
icon.name: "folder-new"
},
{
icon.name: "anchor"
}
]
actionRow: ToolButton
{
icon.name: "love"
}
}
alias actionRow
Exposed to quickly append more items to the right side of this control in the far right area.
list< Action > quickActions
The actions that goes underneath the control and is revealed by swiping to the left when the collapse...

Definition at line 65 of file SwipeBrowserDelegate.qml.

Property Documentation

◆ iconItem

alias SwipeBrowserDelegate::iconItem
read
See also
ListItemTemplate::iconItem

Definition at line 87 of file SwipeBrowserDelegate.qml.

◆ iconSizeHint

alias SwipeBrowserDelegate::iconSizeHint
read
See also
ListItemTemplate::iconSizeHint

Definition at line 95 of file SwipeBrowserDelegate.qml.

◆ iconSource

alias SwipeBrowserDelegate::iconSource
read
See also
ListItemTemplate::iconSource

Definition at line 103 of file SwipeBrowserDelegate.qml.

◆ iconVisible

alias SwipeBrowserDelegate::iconVisible
read
See also
ListItemTemplate::iconVisible

Definition at line 91 of file SwipeBrowserDelegate.qml.

◆ imageSource

alias SwipeBrowserDelegate::imageSource
read
See also
ListItemTemplate::imageSource

Definition at line 99 of file SwipeBrowserDelegate.qml.

◆ label1

alias SwipeBrowserDelegate::label1
read
See also
ListItemTemplate::label1

Definition at line 71 of file SwipeBrowserDelegate.qml.

◆ label2

alias SwipeBrowserDelegate::label2
read
See also
ListItemTemplate::label2

Definition at line 75 of file SwipeBrowserDelegate.qml.

◆ label3

alias SwipeBrowserDelegate::label3
read
See also
ListItemTemplate::label3

Definition at line 79 of file SwipeBrowserDelegate.qml.

◆ label4

alias SwipeBrowserDelegate::label4
read
See also
ListItemTemplate::label4

Definition at line 83 of file SwipeBrowserDelegate.qml.

◆ template

LisItemTemplate SwipeBrowserDelegate::template
read

An alias to the information container handled by a MauiKit ListItemTemplate.

Exposed here for allowing access to its properties.

Definition at line 109 of file SwipeBrowserDelegate.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 May 17 2024 11:56:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.