Hi Alister,
I agree with you and I think the tool tip for a plugin toolbar should be
"mandatory", cause is the only way for the user to know which plugin the
toolbar belongs to.

Maybe the addToolBar(name) method of the QgisInterface class could simply 
set the QToolBar tooltip property using the same provided toolbar name, so
every plugin toolbar will have a default tooltip.


Regards.

Andrea



Alister Hood-2 wrote
> QGIS does now display tooltips on the handles of the built-in toolbars,
> but
> none of the plugin toolbars I see have tooltips yet.  I doubt there is any
> reason they shouldn't - it's probably just that the plugin builder doesn't
> include the code for it.
> 
> If you maintain a plugin which provides a toolbar, it seems that the fix
> is
> typically as simple as adding something like this in your plugin __init__
> where you create the toolbar:
>         self.toolbar.setToolTip(u'FlowEstimator Toolbar')
> I'm sure there are plenty of users like me who will appreciate it if
> everyone starts doing this!





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to