[Qgis-developer] update QgsDataDefinedButton with QgsMapLayerComboBox

matteo matteo.ghetta at gmail.com
Wed May 11 06:07:18 PDT 2016


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


More information about the Qgis-developer mailing list