Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
<!DOCTYPE html> <html><head> <title>eric7.QScintilla.Printer</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.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 QsciPrinter 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 QsciPrinter 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>Public 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.PrinterMode.ScreenResolution</i>) <p> Constructor </p> <dl> <dt><i>mode</i> (QPrinter.PrinterMode)</dt> <dd> mode of the printer </dd> </dl> <a NAME="Printer.formatPage" ID="Printer.formatPage"></a> <h4>Printer.formatPage</h4> <b>formatPage</b>(<i>painter, drawing, area, pagenr</i>) <p> Public method to generate a header line. </p> <dl> <dt><i>painter</i> (QPainter)</dt> <dd> the paint canvas </dd> <dt><i>drawing</i> (bool)</dt> <dd> flag indicating that something should be drawn </dd> <dt><i>area</i> (QRect)</dt> <dd> the drawing area </dd> <dt><i>pagenr</i> (int)</dt> <dd> the page number </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>