AbstractCard QML Type
AbstractCard is the base for cards. More...
Import Statement: | import org.kde.kirigami |
Since: | 2.4 |
Inherited By: |
Properties
- footer : Item
- header : Item
- headerOrientation : int
- showClickFeedback : bool
Detailed Description
A Card is a visual object that serves as an entry point for more detailed information. An abstractCard is empty, providing just the look and the base properties and signals for an ItemDelegate. It can be filled with any custom layout of items, its content is organized in 3 properties: header, contentItem and footer. Use this only when you need particular custom contents, for a standard layout for cards, use the Card component.
Property Documentation
footer : Item |
This property holds an item that serves as a footer.
This item will be positioned at the bottom if headerOrientation is Qt.Vertical or on the right if it is Qt.Horizontal.
header : Item |
This property holds an item that serves as a header.
This item will be positioned on top if headerOrientation is Qt.Vertical or on the left if it is Qt.Horizontal.
headerOrientation : int |
This property sets the card's orientation.
- Qt.Vertical: the header will be positioned on top
- Qt.Horizontal: the header will be positioned on the left (or right if an RTL layout is used)
default: Qt.Vertical
showClickFeedback : bool |
This property sets whether clicking or tapping on the card area shows a visual click feedback.
Use this if you want to do an action in the onClicked signal handler of the card.
default: false