[Qgis-developer] Re: python plugin and layer properties window
ludovic mercier
ludovic.mercier at gmail.com
Fri Jul 1 10:51:09 EDT 2011
Hi,
the problem for me is to get the pointer of PropertiesWindows in a plugin.
I don't found in the doc how to get this with the QgsAppInterface.
I would connect the finish signal of Layer Properties dialog or another signal (which get a change in layer properties
like render change single -> three band) to a method of my python plugin.
Regards
Ludovic
Le 15/06/2011 11:48, Camilo Polymeris a écrit :
> Hello,
> I am not sure I understand the question correctly, but:
>
> Do none of the provided signals work for you, like
> QMainWindow::destroyed() or QgsComposerView::finished() perhaps?
> Or just QDialog::finished(int) in the case of the Layer Properties dialog?
>
> You can get a pointer to those structures through QgsAppInterface, I
> think. There is the activeComposers list, and, of course, the
> mainWindow pointer.
>
> Regards,
> Camilo
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the Qgis-developer
mailing list