Hi

Some plugins stores their settings in QGIS project. And when user open
previously saved project read setting from it, when created new project -
default settings used and plugin GUI is resetted. For example in Copyright
label plugin

void QgsCopyrightLabelPlugin::initGui()
{
  ...
  //this resets this plugin up if a project is loaded
  connect( qGisInterface->mainWindow(), SIGNAL( projectRead() ), this,
SLOT( projectRead() ) );
  ...
  //initialise default values in the gui
  projectRead();
}

But projectRead() and newProject() are not documented, some info available
only in qgisapp.h. Is it possible to add this signals to the QGisInterface
and add some documentaion?

-- 
Alexander Bruy
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to