QGIS API Documentation 3.43.0-Master (c67cf405802)
Static Public Member Functions | List of all members
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 desciption 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 >
static QString QgsColorTooltip::htmlDescription ( QColor  color,
T *  widget 
)
inlinestatic

Returns an HTML desciption 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: