<div dir="ltr">Thank you. That was exactly what I was looking for.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 17, 2017 at 7:10 PM, Alexandre Neto <span dir="ltr"><<a href="mailto:senhor.neto@gmail.com" target="_blank">senhor.neto@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>openFeatureForm() is what you are looking for:</div><div><br></div><div><a href="http://doc.qgis.org/api/2.18/classQgisInterface.html#a11b90f38afd09ac5e9f363933ee4a509" target="_blank">http://doc.qgis.org/api/2.18/<wbr>classQgisInterface.html#<wbr>a11b90f38afd09ac5e9f363933ee4a<wbr>509</a><br></div></div><br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">C Hamilton <<a href="mailto:adenaculture@gmail.com" target="_blank">adenaculture@gmail.com</a>> escreveu no dia sexta, 17/11/2017 às 17:02:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>When a points vector layer is enabled for editing, and the "Add Feature" tool is selected, when you click on the map you get a popup dialog ("Points - Feature Attributes") that allows you to enter the vector layer attributes.</div><div><br></div><div>Is it possible to programmatically access this dialog from a plugin that is going to add a point to the map, but would like an attribute dialog to pop up for entering the attributes? I would rather make use of the existing function and not reinvent it.</div><div><br></div><div>Is there a difference between these two functions when adding a feature to a vector layer other than the first adds a single feature and the second can add multiple features?</div><div><br></div>layer.addFeature(feature)<br><div>layer.dataProvider().<wbr>addFeatures([feature])<br><br></div><div><br></div><div>Thanks,</div><div><br></div><div>Calvin<br></div><br></div></div></div>
______________________________<wbr>_________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a></blockquote></div><span class="HOEnZb"><font color="#888888"><div dir="ltr">-- <br></div><div class="m_-6920969240737401030gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Alexandre Neto</div><div>---------------------</div><div>@AlexNetoGeo</div><div><a href="http://sigsemgrilhetas.wordpress.com" target="_blank">http://sigsemgrilhetas.<wbr>wordpress.com</a></div><a href="http://gisunchained.wordpress.com" target="_blank">http://gisunchained.wordpress.<wbr>com</a><br></div></div>
</font></span></blockquote></div><br></div>