QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
QgsColorTooltip Class Reference

helper class to generate color tooltip 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 to generate color tooltip

Since
QGIS 3.40

Definition at line 30 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 36 of file qgscolortooltip_p.h.


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