|
Fluid 1.3.0
Material Design for QtQuick and Qml
|
An actionable Material Design 3 Expressive tooltip. More...
An actionable Material Design 3 Expressive tooltip.
RichToolTip presents a body with an optional headline and zero, one, or two actions. Set headline to an empty string to omit it. The length of actions selects the button count; actions after the first two are ignored with a warning. The second button wraps when both do not fit.
The inherited text property stores the body and is also exposed as body. Actions use Action so their text, enabled state, shortcuts, and triggered signal remain reusable. Fluid renders them as Material text buttons, gives the first enabled action focus when the popup opens, and closes the tooltip after activation.
For more information see the Material Design 3 tooltip guidelines.
Definition at line 37 of file RichToolTip.qml.