<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word"><head><META content="text/html; charset=utf-8" http-equiv="Content-Type">




    <STYLE TYPE="text/css">
    <!-- /* Style Definitions */ p.2eb80d6a-f7ca-4fbf-aee5-508a2200dfad, li.2eb80d6a-f7ca-4fbf-aee5-508a2200dfad, div.2eb80d6a-f7ca-4fbf-aee5-508a2200dfad, table.2eb80d6a-f7ca-4fbf-aee5-508a2200dfadTable  {margin:0cm; margin-bottom:.0001pt;}div.Section1 {page:Section1;}-->
    </STYLE>
<meta content="text/html; charset=utf-8" http-equiv=Content-Type><meta content="Microsoft Word 14 (filtered medium)" name=Generator><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><BODY>
    <P CLASS="2eb80d6a-f7ca-4fbf-aee5-508a2200dfad" STYLE=" margin-bottom:5px;">
        <div class=WordSection1><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).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></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:madmanwoo@gmail.com] <br><b>Sent:</b> 04 July 2012 15:42<br><b>To:</b> James Stott<br><b>Cc:</b> qgis-user@lists.osgeo.org<br><b>Subject:</b> Re: [Qgis-user] Tool button on composer window<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hey James,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></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.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>- Nathan<o:p></o:p></p><div><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:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks,<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>James <o:p></o:p></p></div><p style='mso-margin-top-alt:3.75pt;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><o:p></o:p></p><table border=0 cellpadding=0 cellspacing=0 class=MsoNormalTable style='width:525.0pt;border-collapse:collapse;outline-style:none' width=700><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'><o:p></o:p></span></a></p></td></table><p style='mso-margin-top-alt:5.65pt;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> <o:p></o:p></span></a></span></p><p style='mso-margin-top-alt:3.75pt;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. <o:p></o:p></span></a></span></p><p style='mso-margin-top-alt:3.75pt;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.<o:p></o:p></span></a></span></p><p style='mso-margin-top-alt:3.75pt;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><o:p></o:p></span></a></span></p></tr><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></P><P STYLE=" margin-top:5px; margin-bottom: 10px">
        <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;"><STRONG>www.npaconsult.co.uk</STRONG></A>
            </SPAN>
        </SPAN>
        <BR>
    <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><o:p></o:p></span></a></p></div><p class=MsoNormal><a href="http://www.npaconsult.co.uk/" target="_blank"><span style='color:windowtext;text-decoration:none'><o:p> </o:p></span></a></p></div></div></div>
</P></BODY></HTML>