77 void clear(
QgsMapCanvas *mpMapCanvas =
nullptr,
int msDelay = 0 );
84 static QString vectorMapTipPreviewText(
QgsMapLayer *layer,
QgsMapCanvas *mapCanvas,
const QString &mapTemplate,
const QString &displayExpression );
91 static QString rasterMapTipPreviewText(
QgsMapLayer *layer,
QgsMapCanvas *mapCanvas,
const QString &mapTemplate );
94 void onLinkClicked(
const QUrl &url );
95 void resizeAndMoveToolTip();
106 static QString htmlText(
const QString &text,
int maxWidth = -1 );
113 static const int MARGIN_VALUE = 5;
115 QTimer mDelayedClearTimer;
118 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.
Displays a tool tip on a map canvas when the mouse is hovered over a feature.
Represents a vector layer which manages a vector based dataset.
A collection of stubs to mimic the API of QWebView on systems where the real library is not available...