IconTitleSubtitle
Properties | |
alias | color |
alias | elide |
alias | font |
KTPIconPropertiesGroup | icon |
alias | reserveSpaceForSubtitle |
alias | selected |
alias | subtitle |
alias | subtitleColor |
alias | subtitleFont |
string | title |
alias | truncated |
alias | wrapMode |
Signals | |
void | linkActivated (string link) |
void | linkHovered (string link) |
Detailed Description
A simple item containing an icon, title and subtitle.
This is an extension of TitleSubtitle that adds an icon to the side. It is intended as a contentItem for ItemDelegate and related controls.
When using it as a contentItem, make sure to bind the appropriate properties to those of the Control. Prefer binding to the Control's properties over setting the properties directly, as the Control's properties may affect other things like setting accessible names.
This (and TitleSubtitle) can be combined with other controls in a layout to create complex content items for controls.
Example usage creating a CheckDelegate with an extra button on the side:
- See also
- Kirigami::Delegates::TitleSubtitle
- Kirigami::Delegates::ItemDelegate
Definition at line 58 of file IconTitleSubtitle.qml.
Property Documentation
◆ color
|
read |
Definition at line 71 of file IconTitleSubtitle.qml.
◆ elide
|
read |
Definition at line 95 of file IconTitleSubtitle.qml.
◆ font
|
read |
Definition at line 79 of file IconTitleSubtitle.qml.
◆ icon
|
read |
Grouped property for icon properties.
- Note
- By default, IconTitleSubtitle will reserve the space for the icon, even if it is not set. To remove that space, set
icon.width
to 0.
Definition at line 110 of file IconTitleSubtitle.qml.
◆ reserveSpaceForSubtitle
|
read |
Definition at line 87 of file IconTitleSubtitle.qml.
◆ selected
|
read |
Definition at line 91 of file IconTitleSubtitle.qml.
◆ subtitle
|
read |
Definition at line 67 of file IconTitleSubtitle.qml.
◆ subtitleColor
|
read |
Definition at line 75 of file IconTitleSubtitle.qml.
◆ subtitleFont
|
read |
Definition at line 83 of file IconTitleSubtitle.qml.
◆ title
|
read |
Definition at line 63 of file IconTitleSubtitle.qml.
◆ truncated
|
read |
Definition at line 103 of file IconTitleSubtitle.qml.
◆ wrapMode
|
read |
Definition at line 99 of file IconTitleSubtitle.qml.
Member Function Documentation
◆ linkActivated
|
signal |
◆ linkHovered
|
signal |
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.