Hi Denis,
thanks (again) for the answer..

look at QgsDataDefinedButton::init

That should set up the button for a layer.
It is not a slot though, not sure if you can connect this directly, you
might need to create an intermediate method.

ok so you think something like

self.dataDefined.__init__(vl=self.LayerCombo.currentLayer())

to put in the __init__ method of the class right?

Thanks again

Matteo
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to