Hello,

I'm trying to open an attribute dialog for a temporary feature
using QgsAttributeDialog(). but with no luck. Can anyone point me to
working example?
I'm trying something like this:


> mc = iface.mapCanvas()
> layer = mc.currentLayer()
> dialog = QgsAttributeDialog(layer, temp_feature)
> dialog.show()


that gives me the following error on the 3rd line:

NameError: name 'QgsAttributeDialog' is not defined


Thanks,

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

Reply via email to