74 const QPoint &pixelPosition,
82 void clear(
QgsMapCanvas *mpMapCanvas =
nullptr,
int msDelay = 0 );
89 static QString vectorMapTipPreviewText(
QgsMapLayer *layer,
QgsMapCanvas *mapCanvas,
const QString &mapTemplate,
const QString &displayExpression );
96 static QString rasterMapTipPreviewText(
QgsMapLayer *layer,
QgsMapCanvas *mapCanvas,
const QString &mapTemplate );
99 void onLinkClicked(
const QUrl &url );
100 void resizeAndMoveToolTip();
115 static QString htmlText(
const QString &text,
int maxWidth = -1 );
122 static const int MARGIN_VALUE = 5;
124 QTimer mDelayedClearTimer;
127 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 ...