<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Dear all, dear Vishwadeep<br>
      <br>
      <b><br>
      </b>I hope this is not a little cross-posting, but,<i> despite
        it's not approved yet</i>, I've developed a plugin for qgis in
      which I sort of implement some help/about info in the way you try
      to implement it, so maybe you can take a look to it and perhaps
      tinker some of the code.<br>
      <br>
      Basically  what i do to show my html help is to create another
      dialog and then creating an instance of it when I click a button
      in the main dialog of the plugin. In that new dialog, I have a
      QTabWidget and in each tab I have a QWebView which shows an html
      page both for help and for about. <u>The trick here is to make
        those pages availabe in the qrc (resource) file (This can be
        done with QtDesigner)</u><u><br>
      </u><br>
      You can check my web page for the plugin in <br>
      <br>
      <a class="moz-txt-link-freetext" href="http://imasdemase.com/programacion-2/qgis-plugin-transectizer/">http://imasdemase.com/programacion-2/qgis-plugin-transectizer/</a><br>
      <br>
      and the source code repository in<br>
      <br>
      <a class="moz-txt-link-freetext" href="https://github.com/jtornero/transectizer">https://github.com/jtornero/transectizer</a><br>
      <br>
      The ui_about.* files take care of the implementation of the dialog
      and the way it is called is inside transectizer.py function simply
      as:<br>
      <br>
      <div class="line" id="LC640"><span class="k">def</span> <span
          class="nf">about</span><span class="p">(</span><span
          class="bp">self</span><span class="p">):</span></div>
      <div class="line" id="LC643">        <span class="sd">"""This
          function just shows the About/help dialog"""</span></div>
      <div class="line" id="LC644">        <span class="n">aboutDialog</span><span
          class="p">()</span><span class="o">.</span><span class="n">exec_</span><span
          class="p">()</span></div>
      <br>
      <br>
      Best regards<br>
      <br>
      Jorge Tornero<br>
      <br>
      <br>
      <br>
      El 13/01/14 11:54, Vishwadeep Shende escribió:<br>
    </div>
    <blockquote
cite="mid:CANGKSM2U_jVWkx2F_Soi0mp2+YfhA1H_B6PwQnbp7513rSZinw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Respected,
        <div><br>
        </div>
        <div>I want to ask a query ie. how to write a help file for a
          plugin which i have developed.</div>
        <div>I want to know that, how to develop the help file for that
          plugin.I have written a pdf document, can I call that file
          through python by clicking on a button of my plugin.</div>
        <div>I have read the Documentation section of QGIS official
          website.It has given the logic to develop the help file by
          using the html programming.</div>
        <div>So my ultimate question is that how could I merge the
          python & html file for my html help document.</div>
        <div><br>
        </div>
        <div>Thanks & regards</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>