[Qgis-developer] Re: python plugin and layer properties window

Marco Hugentobler marco.hugentobler at sourcepole.ch
Thu Jun 30 04:59:57 EDT 2011


Hi Michael

> What do you exactly mean with composer window class?
> QgsComposerView or QgsComposerView.composerWindow() = QMainWindow?

As the signal would be needed for Plugins, I thought about adding it to 
QgsComposerView class. Do you need any additional information coming with the 
signal (e.g. which composerview it is)?

> And is it right that the Map Composer is automatically opening after
> calling /self.iface.actionPrintComposer().trigger()/
> so using the composerWindow() isn't necessary?

composerWindow() is useful whenever you need to get a pointer to the window 
(trigger() only opens a new one but then you don't have a pointer).

Regards,
Marco

Am Donnerstag, 30. Juni 2011, 10.25:47 schrieb Michael Pfeiffer:
> Hi Marco,
> 
> thx for your answer.
> What do you exactly mean with composer window class?
> QgsComposerView or QgsComposerView.composerWindow() = QMainWindow?
> And is it right that the Map Composer is automatically opening after
> calling /self.iface.actionPrintComposer().trigger()/
> so using the composerWindow() isn't necessary?
> 
> thx
> 
> Regards
> 
> Michael
> 
> 
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/python-plugin-and-layer-properties-
> window-tp6383931p6532300.html Sent from the qgis-developer mailing list
> archive at Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee


More information about the Qgis-developer mailing list