Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def logFeatureAdded(self,layerId,addfeatures):
- message = str(layerId) + " has features added: "
- for feature in addedFeatures:
- message += str( feature.id() ) + ", "
- QgsMessageLog.logMessage(message)
- QApplication.beep()
- layer.featureAdded.connect(self.logFeatureAdded)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement