You can add toolbars and actions to the ComposerView.composerWindow object [1], which is a QMainWindow [2]<div><br></div><div>giovanni<br><div><br></div><div>[1] 
<a href="http://qgis.org/api/classQgsComposerView.html#ac2175b6df6862a02c3361472b3a72593">http://qgis.org/api/classQgsComposerView.html#ac2175b6df6862a02c3361472b3a72593</a> </div><div>[2] 
<a href="http://doc.qt.nokia.com/4.7-snapshot/qmainwindow.html">http://doc.qt.nokia.com/4.7-snapshot/qmainwindow.html</a> <br><br><div class="gmail_quote">2012/7/4 James Stott <span dir="ltr"><<a href="mailto:James.Stott@npaconsult.co.uk" target="_blank">James.Stott@npaconsult.co.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




    
<div>
    <p style="margin-bottom:5px">
        </p><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It is called Composer Plugin (its in Marco Hugentobler’s repository).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks Nathan – exactly what I was after.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Nathan Woodrow [mailto:<a href="mailto:madmanwoo@gmail.com" target="_blank">madmanwoo@gmail.com</a>] <br>
<b>Sent:</b> 04 July 2012 15:42<br><b>To:</b> James Stott<br><b>Cc:</b> <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br><b>Subject:</b> Re: [Qgis-user] Tool button on composer window<u></u><u></u></span></p>
<div class="im"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hey James,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">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.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">- Nathan<u></u><u></u></p><div><div class="im"><p class="MsoNormal">On Thu, Jul 5, 2012 at 12:33 AM, James Stott <<a href="mailto:James.Stott@npaconsult.co.uk" target="_blank">James.Stott@npaconsult.co.uk</a>> wrote:<u></u><u></u></p>
</div><div><div class="im"><div><p class="MsoNormal">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.<u></u><u></u></p><p class="MsoNormal">
 <u></u><u></u></p><p class="MsoNormal">Thanks,<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">James <u></u><u></u></p></div><p style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"><strong><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#00227c">James Stott</span></strong><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#00227c"> </span><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:#00227c">BSc (Hons) MSc</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#00227c"> | Senior Professional<br>
</span><b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:#00227c">Nicholas Pearson Associates </span></b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:#00227c">| 30 Brock Street | Bath | BA1 2LN<br>
<b>T:</b> 01225 445548 | <b>M:</b> -<br><a href="http://www.npaconsult.co.uk/" target="_blank"><strong><span style="font-family:"Verdana","sans-serif";color:#00227c;text-decoration:none">www.npaconsult.co.uk</span></strong></a> </span><u></u><u></u></p>
<table border="0" cellpadding="0" cellspacing="0" style="width:525.0pt;border-collapse:collapse;outline-style:none" width="700"><tbody><tr><td style="padding:0cm 0cm 0cm 0cm"><p class="MsoNormal"><a href="http://www.npaconsult.co.uk/" target="_blank"><span style="color:windowtext;text-decoration:none"><u></u><u></u></span></a></p>
</td></tr></tbody></table></div><p style="margin-right:0cm;margin-bottom:5.65pt;margin-left:0cm"><span style="font-size:7.0pt;font-family:"Verdana","sans-serif""><a href="http://www.npaconsult.co.uk/" target="_blank"><span style="color:windowtext;text-decoration:none"><span style="color:blue">Information and Registered Address</span> <u></u><u></u></span></a></span></p>
<div class="im"><p style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"><span style="font-size:7.0pt;font-family:"Verdana","sans-serif";color:#666666"><a href="http://www.npaconsult.co.uk/" target="_blank"><span style="color:#666666;text-decoration:none">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. <u></u><u></u></span></a></span></p>
<p style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"><span style="font-size:7.0pt;font-family:"Verdana","sans-serif";color:#666666"><a href="http://www.npaconsult.co.uk/" target="_blank"><span style="color:#666666;text-decoration:none">Nicholas Pearson Associates has used all reasonable efforts to ensure that this message and any attachments are free from viruses.<u></u><u></u></span></a></span></p>
<p style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm"><span style="font-size:7.0pt;font-family:"Verdana","sans-serif";color:#666666"><a href="http://www.npaconsult.co.uk/" target="_blank"><span style="color:#666666;text-decoration:none">Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 01225 445548, Fax: +44 (0) 01225 312387, Website: <u><span style="color:blue">http://www.npaconsult.co.uk</span></u><u></u><u></u></span></a></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><a href="http://www.npaconsult.co.uk/" target="_blank"><span style="color:windowtext;text-decoration:none"><br></span></a></p></div></div></div></div></div><p></p><p style="margin-top:5px;margin-bottom:10px">
</p><div class="im">
        <span style="font-family:'Verdana','sans-serif';color:#00227c;font-size:10pt">
            <strong>James Stott</strong>
            <span style="font-size:8pt">BSc (Hons) MSc</span> | 
            Senior Professional<br>
            <span style="font-size:8pt"><b style="font-weight:bold">Nicholas Pearson Associates </b> | 30 Brock Street | Bath | BA1 2LN<br>
                <b>T:</b>
                01225 445548
                 | <b>M:</b>
                -<br>
                <a href="http://www.npaconsult.co.uk/" style="font-family:'Verdana','sans-serif';color:#00227c;font-size:8pt;text-decoration:none" target="_blank"><strong>www.npaconsult.co.uk</strong></a>
            </span>
        </span>
        <br>
    </div><div class="im"><p class="MsoNormal" style="margin-bottom:12.0pt"><a href="http://www.npaconsult.co.uk/" target="_blank"><span style="color:windowtext;text-decoration:none">_______________________________________________</span></a></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><a href="http://www.npaconsult.co.uk/" target="_blank"><span style="color:windowtext;text-decoration:none"><br>Qgis-user mailing list<br><u><span style="color:blue">Qgis-user@lists.osgeo.org</span></u><br>
<u><span style="color:blue">http://lists.osgeo.org/mailman/listinfo/qgis-user</span></u><u></u><u></u></span></a></p></div><p></p></div><p class="MsoNormal"><a href="http://www.npaconsult.co.uk/" target="_blank"><span style="color:windowtext;text-decoration:none"><u></u> <u></u></span></a></p>

<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br></blockquote></div><br></div></div>