Documentation/Source/eric5.QScintilla.EditorMarkerMap.html

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3341
7c015811fc4d
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric5.QScintilla.EditorMarkerMap</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric5.QScintilla.EditorMarkerMap</h1>
23 <p>
24 Module implementing a class for showing an editor marker map.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#EditorMarkerMap">EditorMarkerMap</a></td>
34 <td>Class implementing a class for showing an editor marker map.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="EditorMarkerMap" ID="EditorMarkerMap"></a>
43 <h2>EditorMarkerMap</h2>
44 <p>
45 Class implementing a class for showing an editor marker map.
46 </p>
47 <h3>Derived from</h3>
48 E5MapWidget
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#EditorMarkerMap.__init__">EditorMarkerMap</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#EditorMarkerMap.__drawIndicator">__drawIndicator</a></td>
64 <td>Private method to draw an indicator.</td>
65 </tr><tr>
66 <td><a href="#EditorMarkerMap._paintIt">_paintIt</a></td>
67 <td>Protected method for painting the widget's indicators.</td>
68 </tr><tr>
69 <td><a href="#EditorMarkerMap.initColors">initColors</a></td>
70 <td>Public method to initialize the colors.</td>
71 </tr>
72 </table>
73 <h3>Static Methods</h3>
74 <table>
75 <tr><td>None</td></tr>
76 </table>
77 <a NAME="EditorMarkerMap.__init__" ID="EditorMarkerMap.__init__"></a>
78 <h4>EditorMarkerMap (Constructor)</h4>
79 <b>EditorMarkerMap</b>(<i>parent=None</i>)
80 <p>
81 Constructor
82 </p><dl>
83 <dt><i>parent</i></dt>
84 <dd>
85 reference to the parent widget (QWidget)
86 </dd>
87 </dl><a NAME="EditorMarkerMap.__drawIndicator" ID="EditorMarkerMap.__drawIndicator"></a>
88 <h4>EditorMarkerMap.__drawIndicator</h4>
89 <b>__drawIndicator</b>(<i>line, painter, color</i>)
90 <p>
91 Private method to draw an indicator.
92 </p><dl>
93 <dt><i>line</i></dt>
94 <dd>
95 line number (integer)
96 </dd><dt><i>painter</i></dt>
97 <dd>
98 reference to the painter (QPainter)
99 </dd><dt><i>color</i></dt>
100 <dd>
101 color to be used (QColor)
102 </dd>
103 </dl><a NAME="EditorMarkerMap._paintIt" ID="EditorMarkerMap._paintIt"></a>
104 <h4>EditorMarkerMap._paintIt</h4>
105 <b>_paintIt</b>(<i>painter</i>)
106 <p>
107 Protected method for painting the widget's indicators.
108 </p><dl>
109 <dt><i>painter</i></dt>
110 <dd>
111 reference to the painter object (QPainter)
112 </dd>
113 </dl><a NAME="EditorMarkerMap.initColors" ID="EditorMarkerMap.initColors"></a>
114 <h4>EditorMarkerMap.initColors</h4>
115 <b>initColors</b>(<i></i>)
116 <p>
117 Public method to initialize the colors.
118 </p>
119 <div align="right"><a href="#top">Up</a></div>
120 <hr />
121 </body></html>

eric ide

mercurial