An inline message Item with support for informational, positive, warning and error types, and with support for associated actions.
InlineMessage can be used to inform or interact with the user without requiring the use of a dialog.
The InlineMessage is hidden by default. It also manages its height (and implicitHeight) during an animated reveal when shown. You should avoid setting height on an InlineMessage unless it is already visible.
Optionally an icon can be set, defaulting to an icon appropriate to the message type otherwise.
Optionally, actions can be added which are shown alongside an optional close button on the right side of the Item. If more actions are set than can fit, an overflow menu is provided.
- See also
- Inline Messages in Kirigami
KDE Human Interface Guidelines on Inline Messages
- KDE Frameworks 5.45
Definition at line 62 of file controls/templates/InlineMessage.qml.