Hi,
trying to implement a 'refresh data' menu item for a layer, I followed
this blog post to create one:
http://www.lutraconsulting.co.uk/blog/2015/01/30/qgis-layer-tree-api-part-3/
but using it removes all default options, AND it is created for ALL
layers.
Q1: is there an option to only add this menu item to certain (1) layers?
Q2: is it possible to add the new 'refresh' option on top of all normal
default menu items?
Q3: looking at the possibility to add a 'Transparency slider' in the
layertree (see layer props bottom item): how difficult is it to add a
'refresh data' button (with custom refresh data code) in the layer tree
Regards,
Richard Duivenvoorde
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer