eric7.QScintilla.Printer

Module implementing the printer functionality.

Global Attributes

None

Classes

Printer Class implementing the QsciPrinter with a header.

Functions

None


Printer

Class implementing the QsciPrinter with a header.

Derived from

QsciPrinter

Class Attributes

None

Class Methods

None

Methods

Printer Constructor
formatPage Public method to generate a header line.

Static Methods

None

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
Up