[Qgis-developer] adding actions to my own toolbar
Tim Sutton
lists at linfiniti.com
Sat Mar 31 15:24:26 EDT 2012
Hi
On Sat, Mar 31, 2012 at 4:49 PM, Markus Honegger
<markus.honegger at gmail.com> wrote:
> Hi all
>
>
>
> I've just created my own toolbar and want to add some of QGIS default
> commands (e.g. the FILE-OPEN command) to it.
>
> At the moment it looks like this: toolbar.addAction(FILEOPEN) - What is
> the correct QAction string?
>
Use one of the QActions that form part of the QGIS Api - see
https://github.com/qgis/Quantum-GIS/blob/master/src/app/qgisappinterface.h
Regards
Tim
> Can anybody help me with the code? Looking for something like a list with
> all available commands or so.
>
>
>
> Many thanks in advance and kind regards from Switzerland!
>
>
>
> Markus
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
--
Tim Sutton - QGIS Project Steering Committee Member (Release Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.
Visit http://linfiniti.com to find out about:
* QGIS programming and support services
* Mapserver and PostGIS based hosting plans
* FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================
More information about the Qgis-developer
mailing list