78 void clear(
QgsMapCanvas *mpMapCanvas =
nullptr,
int msDelay = 0 );
85 static QString vectorMapTipPreviewText(
QgsMapLayer *layer,
QgsMapCanvas *mapCanvas,
const QString &mapTemplate,
const QString &displayExpression );
92 static QString rasterMapTipPreviewText(
QgsMapLayer *layer,
QgsMapCanvas *mapCanvas,
const QString &mapTemplate );
95 void onLinkClicked(
const QUrl &url );
96 void resizeAndMoveToolTip();
107 static QString htmlText(
const QString &text,
int maxWidth = -1 );
114 static const int MARGIN_VALUE = 5;
116 QTimer mDelayedClearTimer;
119 static const QString sMapTipTemplate;
Map canvas is a class for displaying all GIS data types on a canvas.
Base class for all map layer types.
A maptip is a class to display a tip on a map canvas when a mouse is hovered over a feature.
A class to represent a 2D point.
Represents a vector layer which manages a vector based data sets.
The QgsWebView class is a collection of stubs to mimic the API of QWebView on systems where the real ...