5

I want to know if it is possible to make the feature attributes dialog in Qgis show up when I add a feature by code using:

QgsVectorLayer::addFeature( tFeature )

This is available when I add features using Qgis' digitizing tools but not when I add features by code!

3

Solved, This can be done by using :

QgisInterface::openFeatureForm ( QgsVectorLayer *vlayer, QgsFeature &f, bool updateFeatureOnly = false )

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.