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

Provides the Material plain-tooltip attached API. More...

#include <tooltipattached.h>

Inheritance diagram for Fluid::AttachedToolTip:

Public Member Functions

 AttachedToolTip (QObject *parent=nullptr)
 

Static Public Member Functions

static PlainToolTipAttachedqmlAttachedProperties (QObject *object)
 

Detailed Description

Provides the Material plain-tooltip attached API.

ToolTip exposes text, visible, delay, timeout, show(), and hide() as attached properties and methods. It lazily shares a styled PlainToolTip instance within each QML engine.

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

Use PlainToolTip when a standalone popup instance is required.

Definition at line 83 of file tooltipattached.h.

Constructor & Destructor Documentation

◆ AttachedToolTip()

Fluid::AttachedToolTip::AttachedToolTip ( QObject *  parent = nullptr)
explicit

Definition at line 322 of file tooltipattached.cpp.

Member Function Documentation

◆ qmlAttachedProperties()

PlainToolTipAttached * Fluid::AttachedToolTip::qmlAttachedProperties ( QObject *  object)
static

Definition at line 327 of file tooltipattached.cpp.


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