org::kde::kirigami::DefaultCardBackground

Search for usage in LXR

org::kde::kirigami::DefaultCardBackground Class Reference

Inherits ShadowedRectangle, and 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 16 of file DefaultCardBackground.qml.

Property Documentation

◆ borderColor

color org::kde::kirigami::DefaultCardBackground::borderColor
read

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

Definition at line 56 of file DefaultCardBackground.qml.

◆ borderWidth

int org::kde::kirigami::DefaultCardBackground::borderWidth
read

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

default: 1

Definition at line 52 of file DefaultCardBackground.qml.

◆ clickFeedback

bool org::kde::kirigami::DefaultCardBackground::clickFeedback
read

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

default: false

Definition at line 24 of file DefaultCardBackground.qml.

◆ defaultColor

color org::kde::kirigami::DefaultCardBackground::defaultColor
read

This property holds the card's normal background color.

default: Kirigami.Theme.backgroundColor

Definition at line 36 of file DefaultCardBackground.qml.

◆ hoverColor

color org::kde::kirigami::DefaultCardBackground::hoverColor
read

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

See also
DefaultCardBackground::hoverFeedback

Definition at line 46 of file DefaultCardBackground.qml.

◆ hoverFeedback

bool org::kde::kirigami::DefaultCardBackground::hoverFeedback
read

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

default: false

Definition at line 30 of file DefaultCardBackground.qml.

◆ pressedColor

color org::kde::kirigami::DefaultCardBackground::pressedColor
read

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

See also
DefaultCardBackground::clickFeedback

Definition at line 41 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-2023 The KDE developers.
Generated on Mon Feb 6 2023 04:13:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.