org::kde::kirigami::DefaultCardBackground
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
|
read |
This property holds the border color which is displayed at the edge of DefaultCardBackground.
Definition at line 56 of file DefaultCardBackground.qml.
◆ 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
|
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
|
read |
This property holds the card's normal background color.
default: Kirigami.Theme.backgroundColor
Definition at line 36 of file DefaultCardBackground.qml.
◆ hoverColor
|
read |
This property holds the color displayed when a hover event is triggered.
Definition at line 46 of file DefaultCardBackground.qml.
◆ 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
|
read |
This property holds the color displayed when a click event is triggered.
Definition at line 41 of file DefaultCardBackground.qml.
The documentation for this class was generated from the following file:
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.