I'd like to save the project-dependent configuration of my Python plugin inside the QGIS project file. Is this possible and what are best practices to do so?
This should do it:
Then you just need to save the project.
Reading is performed with one of the following functions: