32 mMapTipVisible =
false;
42 QPoint & thePixelPosition,
54 QString myTipText = fetchFeature( thepLayer, theMapPosition, thepMapCanvas );
55 mMapTipVisible = !myTipText.isEmpty();
59 QToolTip::showText( thepMapCanvas->mapToGlobal( thePixelPosition ), myTipText, thepMapCanvas );
61 mLastPosition = thePixelPosition;
67 if ( !mMapTipVisible )
71 QToolTip::showText( mpMapCanvas->mapToGlobal( mLastPosition ),
"", mpMapCanvas );
73 mMapTipVisible =
false;
101 return feature.
attribute( idx ).toString();