Hi Michael

You may set the labeling-ng properties from python with 
QgsMapLayer::setCustomProperty(...). If you open a .qgs file which has a label-
ng layer, you see that all the labeling options are set as custom properties 
of the layer.

Regards,
Marco

Am Dienstag, 18. Oktober 2011, 11.02:36 schrieb Michael Pfeiffer:
> Hi everybody,
> 
> in my PlugIn I want to switch on labels automatically and place them with
> the new label engine.
> But it seems to me that new Labeling classes (QgsPalLabeling and so on) are
> not available in python yet.
> Are there any plans to do this?
> Should I create a ticket for this?
> 
> Thx
> 
> Michael
> 
> 
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Use-new-Labeling-in-python-PlugIn-t
> p6903821p6903821.html Sent from the qgis-developer mailing list archive at
> Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
[email protected] http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to