What about library support/APIs if you want to embedd gis functionality in other applications? Does QGIS provide widgets etc?