Advertisement
Guest User

Untitled

a guest
May 3rd, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. def committedFeaturesAdded(a, b):
  2. QgsMessageLog.logMessage( 'committedFeaturesAdded was triggered' )
  3.  
  4. def committedFeaturesRemoved(a, b):
  5. QgsMessageLog.logMessage( 'committedFeaturesRemoved was triggered' )
  6.  
  7. def committedAttributeValuesChanges(a, b):
  8. QgsMessageLog.logMessage( 'committedAttributeValuesChanges was triggered' )
  9.  
  10. def committedGeometriesChanges(a, b):
  11. QgsMessageLog.logMessage( 'committedGeometriesChanges was triggered' )
  12.  
  13. iface.activeLayer().committedFeaturesAdded.connect( committedFeaturesAdded )
  14. iface.activeLayer().committedFeaturesRemoved.connect( committedFeaturesRemoved )
  15. iface.activeLayer().committedAttributeValuesChanges.connect( committedAttributeValuesChanges )
  16. iface.activeLayer().committedGeometriesChanges.connect( committedGeometriesChanges )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement