Code Samples for QGIS