eric7.QScintilla.Printer
Module implementing the printer functionality.
Global Attributes
Classes
Printer |
Class implementing the QsciPrinter with a header. |
Functions
Printer
Class implementing the QsciPrinter with a header.
Derived from
QsciPrinter
Class Attributes
Class Methods
Methods
Static Methods
Printer (Constructor)
Printer(mode=QPrinter.PrinterMode.ScreenResolution)
Constructor
- mode (QPrinter.PrinterMode)
-
mode of the printer
Printer.formatPage
formatPage(painter, drawing, area, pagenr)
Public method to generate a header line.
- painter (QPainter)
-
the paint canvas
- drawing (bool)
-
flag indicating that something should be drawn
- area (QRect)
-
the drawing area
- pagenr (int)
-
the page number