Monday, 12 September 2016

Showing attribute table in form using PyQGIS


Is there any way to show the attribute table of a layer in a QTextBrowser or a QTableView on form?


I did this but, (shows attribute table in a separate dialog) I have no idea, how to show it in my form.



iface.showAttributeTable(iface.activeLayer)


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...