QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsColorTooltip Class Reference

Helper class for generating color tooltips. More...

#include <qgscolortooltip_p.h>

Static Public Member Functions

template<typename T>
static QString htmlDescription (QColor color, T *widget)
 Returns an HTML description given a color with a preview image of the color.

Detailed Description

Helper class for generating color tooltips.

Since
QGIS 3.40

Definition at line 29 of file qgscolortooltip_p.h.

Member Function Documentation

◆ htmlDescription()

template<typename T>
QString QgsColorTooltip::htmlDescription ( QColor color,
T * widget )
inlinestatic

Returns an HTML description given a color with a preview image of the color.

Definition at line 34 of file qgscolortooltip_p.h.


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