Documentation/Source/eric6.QScintilla.Printer.html

Tue, 24 Oct 2017 19:09:09 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 24 Oct 2017 19:09:09 +0200
changeset 5928
a3809f75ca07
parent 3673
e26d7d0c1088
child 6866
b792455b35cd
permissions
-rw-r--r--

Changed the logic of the two web browsers in order to put new downloads at the top of the list of downloads and add the download date and time to the shown info.

<!DOCTYPE html>
<html><head>
<title>eric6.QScintilla.Printer</title>
<meta charset="UTF-8">
<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>eric6.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>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.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>
        Public 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>

eric ide

mercurial