42 QPoint & thePixelPosition,
54 QString myTipText =
fetchFeature( thepLayer, theMapPosition, thepMapCanvas );
55 if ( myTipText.length() > 0 )
58 QToolTip::showText( thepMapCanvas->mapToGlobal( thePixelPosition ), myTipText, thepMapCanvas );
74 QToolTip::showText( mpMapCanvas->mapToGlobal(
mLastPosition ),
"", mpMapCanvas );
83 QString maptipText =
"";
92 double searchRadius = mpMapCanvas->
extent().
width() * ( identifyValue / 100.0 );
104 dataProvider->
select( allAttributes, r,
true,
true );
110 QString fieldIndex = qobject_cast<QgsVectorLayer *>( layer )->displayField();
115 for ( QgsAttributeMap::const_iterator it = attributes.begin(); it != attributes.end(); ++it )
118 if ( fields[it.key()].name() == fieldIndex )
120 maptipText = it->toString();