Advertisement
Guest User

Untitled

a guest
Feb 28th, 2015
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. def showTable(self):
  2. for lyrs in QgsMapLayerRegistry.instance().mapLayers().values():
  3. if lyrs.name() == "TestFeatures":
  4. lyrTest = lyrs
  5. self.iface.showAttributeTable(lyrTest)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement