DefaultCardBackground

Search for usage in LXR

DefaultCardBackground Class Reference

Inherits org::kde::kirigami::ShadowedRectangle, and org::kde::kirigami::ShadowedRectangle.

Properties

color borderColor
 
int borderWidth
 
bool clickFeedback
 
color defaultColor
 
color hoverColor
 
bool hoverFeedback
 
color pressedColor
 

Detailed Description

This is the default background for Cards.

It provides background feedback on hover and click events, border customizability, and the ability to change the radius of each individual corner.

Definition at line 15 of file DefaultCardBackground.qml.

Property Documentation

◆ borderColor

color DefaultCardBackground::borderColor
read

This property holds the border color which is displayed at the edge of DefaultCardBackground.

Definition at line 55 of file DefaultCardBackground.qml.

◆ borderWidth

int DefaultCardBackground::borderWidth
read

This property holds the border width which is displayed at the edge of DefaultCardBackground.

default: 1

Definition at line 51 of file DefaultCardBackground.qml.

◆ clickFeedback

bool DefaultCardBackground::clickFeedback
read

This property sets whether there should be a background change on a click event.

default: false

Definition at line 23 of file DefaultCardBackground.qml.

◆ defaultColor

color DefaultCardBackground::defaultColor
read

This property holds the card's normal background color.

default: Kirigami.Theme.backgroundColor

Definition at line 35 of file DefaultCardBackground.qml.

◆ hoverColor

color DefaultCardBackground::hoverColor
read

This property holds the color displayed when a hover event is triggered.

See also
DefaultCardBackground::hoverFeedback

Definition at line 45 of file DefaultCardBackground.qml.

◆ hoverFeedback

bool DefaultCardBackground::hoverFeedback
read

This property sets whether there should be a background change on a click event.

default: false

Definition at line 29 of file DefaultCardBackground.qml.

◆ pressedColor

color DefaultCardBackground::pressedColor
read

This property holds the color displayed when a click event is triggered.

See also
DefaultCardBackground::clickFeedback

Definition at line 40 of file DefaultCardBackground.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:23 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.