Sun, 22 Apr 2012 12:03:49 +0200
Updated source docu.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> <html><head> <title>eric5.QScintilla.Printer</title> <style> body { background: #EDECE6; margin: 0em 1em 10em 1em; color: black; } h1 { color: white; background: #85774A; } h2 { color: white; background: #85774A; } h3 { color: white; background: #9D936E; } h4 { color: white; background: #9D936E; } a { color: #BA6D36; } </style> </head> <body><a NAME="top" ID="top"></a> <h1>eric5.QScintilla.Printer</h1> <p> Module implementing the printer functionality. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#Printer">Printer</a></td> <td>Class implementing the QextScintillaPrinter with a header.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="Printer" ID="Printer"></a> <h2>Printer</h2> <p> Class implementing the QextScintillaPrinter with a header. </p> <h3>Derived from</h3> QsciPrinter <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#Printer.__init__">Printer</a></td> <td>Constructor</td> </tr><tr> <td><a href="#Printer.formatPage">formatPage</a></td> <td>Private method to generate a header line.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="Printer.__init__" ID="Printer.__init__"></a> <h4>Printer (Constructor)</h4> <b>Printer</b>(<i>mode=QPrinter.ScreenResolution</i>) <p> Constructor </p><dl> <dt><i>mode</i></dt> <dd> mode of the printer (QPrinter.PrinterMode) </dd> </dl><a NAME="Printer.formatPage" ID="Printer.formatPage"></a> <h4>Printer.formatPage</h4> <b>formatPage</b>(<i>painter, drawing, area, pagenr</i>) <p> Private method to generate a header line. </p><dl> <dt><i>painter</i></dt> <dd> the paint canvas (QPainter) </dd><dt><i>drawing</i></dt> <dd> flag indicating that something should be drawn </dd><dt><i>area</i></dt> <dd> the drawing area (QRect) </dd><dt><i>pagenr</i></dt> <dd> the page number (int) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>