[Qgis-user] Tool button on composer window

G. Allegri giohappy at gmail.com
Wed Jul 4 08:00:14 PDT 2012


You can add toolbars and actions to the ComposerView.composerWindow object
[1], which is a QMainWindow [2]

giovanni

[1]
http://qgis.org/api/classQgsComposerView.html#ac2175b6df6862a02c3361472b3a72593

[2]  http://doc.qt.nokia.com/4.7-snapshot/qmainwindow.html

2012/7/4 James Stott <James.Stott at npaconsult.co.uk>

>  It is called Composer Plugin (its in Marco Hugentobler’s repository).****
>
> ** **
>
> Thanks Nathan – exactly what I was after.****
>
> ** **
>
> *From:* Nathan Woodrow [mailto:madmanwoo at gmail.com]
> *Sent:* 04 July 2012 15:42
> *To:* James Stott
> *Cc:* qgis-user at lists.osgeo.org
> *Subject:* Re: [Qgis-user] Tool button on composer window****
>
> ** **
>
> Hey James,****
>
> ** **
>
> There should be a old plugin that did that extact thing, I think it was
> called Composer example.  Not sure where it is though.  If I find it I will
> let you know.****
>
> ** **
>
> - Nathan****
>
> On Thu, Jul 5, 2012 at 12:33 AM, James Stott <James.Stott at npaconsult.co.uk>
> wrote:****
>
> I would like to create a button on the toolbar of composer window – is
> this possible. I can’t seem to find any information about how to do this.*
> ***
>
>  ****
>
> Thanks,****
>
>  ****
>
> James ****
>
> *James Stott* BSc (Hons) MSc | Senior Professional
> *Nicholas Pearson Associates *| 30 Brock Street | Bath | BA1 2LN
> *T:* 01225 445548 | *M:* -
> *www.npaconsult.co.uk* <http://www.npaconsult.co.uk/> ****
>
> **** <http://www.npaconsult.co.uk/>
>
> Information and Registered Address **** <http://www.npaconsult.co.uk/>
>
> This Electronic Transmission is intended only for the attention of the
> addressee. It may contain privileged and confidential information. If you
> are not the person for whom it is intended, you must not copy, distribute
> or take any action in reliance on it. If you have received this electronic
> transmission in error please notify us immediately by telephone, delete the
> transmission and destroy any hard copies. ****<http://www.npaconsult.co.uk/>
>
> Nicholas Pearson Associates has used all reasonable efforts to ensure that
> this message and any attachments are free from viruses.****<http://www.npaconsult.co.uk/>
>
> Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0)
> 01225 445548, Fax: +44 (0) 01225 312387, Website: *
> http://www.npaconsult.co.uk***** <http://www.npaconsult.co.uk/>
>
>
> <http://www.npaconsult.co.uk/>
>
>  *James Stott* BSc (Hons) MSc | Senior Professional
> *Nicholas Pearson Associates * | 30 Brock Street | Bath | BA1 2LN
> *T:* 01225 445548 | *M:* -
> *www.npaconsult.co.uk* <http://www.npaconsult.co.uk/>
>
> _______________________________________________<http://www.npaconsult.co.uk/>
>
>
> Qgis-user mailing list
> *Qgis-user at lists.osgeo.org*
> *http://lists.osgeo.org/mailman/listinfo/qgis-user*****<http://www.npaconsult.co.uk/>
>
> ** ** <http://www.npaconsult.co.uk/>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120704/de52a42e/attachment.html>


More information about the Qgis-user mailing list