[Qgis-developer] customization option issues

Paolo Cavallini cavallini at faunalia.it
Fri Nov 29 03:33:17 PST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Il 29/11/2013 09:59, Radim Blazek ha scritto:

> Customization only works for objects with objectName. objectName
> is automatically set by Qt for objects created in designer
> (compiled from .ui). For objects created programmatically it has to
> be set. I have added object names to fTools in d334b46, but they
> have to be added in all plugins.
> 
> Recommendation for plugin authors: when you are adding QMenu or 
> QAction, always set its object name, e.g.: myMenu = QMenu('My
> menu") myMenu.setObjectName("myMenu")
> 
> Issue http://hub.qgis.org/issues/9134

I think this recommendation should be added to plugin guidelines
Voctor mentioned recently.
Victor, should I open a ticket on the documentation, not to forget
about this?
All the best.

- -- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlKYe3wACgkQ/NedwLUzIr5L6QCcDvW5MyvJ5d7jmcIgERtP3ynZ
qwgAnjkWp3L/MRkaBwonZWbYRuPl3FH+
=0qil
-----END PGP SIGNATURE-----


More information about the Qgis-developer mailing list