Fluid 1.3.0
Material Design for QtQuick and Qml
Loading...
Searching...
No Matches
PlainToolTip Class Reference

A concise Material Design 3 Expressive tooltip. More...

Inheritance diagram for PlainToolTip:

Detailed Description

A concise Material Design 3 Expressive tooltip.

PlainToolTip describes an anchor with a short text label. It can be created as a standalone QtQuick.Templates.ToolTip. The popup prefers to appear above its anchor, moves below when space is insufficient, and remains inside the window viewport. Use the ToolTip attached API for concise tooltips that do not require a standalone object.

The inherited ToolTip API provides text, visible, delay, timeout, show(), and hide(). Qt Quick Templates supplies the accessible tooltip role and announcement behavior; use localized text that adds information not already present in the anchor's accessible name.

MD.IconButton {
text: qsTr("Search")
icon.name: MD.SymbolNames.symbolSearch
MD.ToolTip.text: qsTr("Search")
MD.ToolTip.visible: hovered || visualFocus
}
Material Design 3 tokens for plain and rich tooltips.
Definition tooltip.h:29

For more information see the Material Design 3 tooltip guidelines.

Definition at line 34 of file PlainToolTip.qml.


The documentation for this class was generated from the following file: