~mcfletch/eric/update-to-4.5.13

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?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>eric4.QScintilla.Printer</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric4.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>

</p><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>