[Qgis-developer] PyQT - How to get layer sending attributeValueChanged signal?

Régis Haubourg regis.haubourg at eau-adour-garonne.fr
Mon Feb 24 08:01:38 PST 2014


Hi Matthias, 
thanks for the pointer. My plugin main class does not inherits from anything
and I get the following error:

 line 173, in labelLayerModified
    sender = self.sender()
AttributeError: EasyCustomLabeling instance has no attribute 'sender'

Should I inherit my class from a higher QT or PyQt4 object, and which one? 

Cheers
Régis




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/PyQT-How-to-get-layer-sending-attributeValueChanged-signal-tp5105532p5105587.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list