eric6/Documentation/Source/eric6.QScintilla.EditorMarkerMap.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.QScintilla.EditorMarkerMap</h1> 23 <h1>eric6.QScintilla.EditorMarkerMap</h1>
24
23 <p> 25 <p>
24 Module implementing a class for showing an editor marker map. 26 Module implementing a class for showing an editor marker map.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#EditorMarkerMap">EditorMarkerMap</a></td> 38 <td><a href="#EditorMarkerMap">EditorMarkerMap</a></td>
34 <td>Class implementing a class for showing an editor marker map.</td> 39 <td>Class implementing a class for showing an editor marker map.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
39 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
40 </table> 46 </table>
41 <hr /><hr /> 47 <hr />
48 <hr />
42 <a NAME="EditorMarkerMap" ID="EditorMarkerMap"></a> 49 <a NAME="EditorMarkerMap" ID="EditorMarkerMap"></a>
43 <h2>EditorMarkerMap</h2> 50 <h2>EditorMarkerMap</h2>
51
44 <p> 52 <p>
45 Class implementing a class for showing an editor marker map. 53 Class implementing a class for showing an editor marker map.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 E5MapWidget 56 E5MapWidget
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
68
58 <table> 69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#EditorMarkerMap.__init__">EditorMarkerMap</a></td> 72 <td><a href="#EditorMarkerMap.__init__">EditorMarkerMap</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#EditorMarkerMap.__drawIndicator">__drawIndicator</a></td> 76 <td><a href="#EditorMarkerMap.__drawIndicator">__drawIndicator</a></td>
64 <td>Private method to draw an indicator.</td> 77 <td>Private method to draw an indicator.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#EditorMarkerMap._paintIt">_paintIt</a></td> 80 <td><a href="#EditorMarkerMap._paintIt">_paintIt</a></td>
67 <td>Protected method for painting the widget's indicators.</td> 81 <td>Protected method for painting the widget's indicators.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#EditorMarkerMap.initColors">initColors</a></td> 84 <td><a href="#EditorMarkerMap.initColors">initColors</a></td>
70 <td>Public method to initialize the colors.</td> 85 <td>Public method to initialize the colors.</td>
71 </tr> 86 </tr>
72 </table> 87 </table>
73 <h3>Static Methods</h3> 88 <h3>Static Methods</h3>
89
74 <table> 90 <table>
75 <tr><td>None</td></tr> 91 <tr><td>None</td></tr>
76 </table> 92 </table>
93
77 <a NAME="EditorMarkerMap.__init__" ID="EditorMarkerMap.__init__"></a> 94 <a NAME="EditorMarkerMap.__init__" ID="EditorMarkerMap.__init__"></a>
78 <h4>EditorMarkerMap (Constructor)</h4> 95 <h4>EditorMarkerMap (Constructor)</h4>
79 <b>EditorMarkerMap</b>(<i>parent=None</i>) 96 <b>EditorMarkerMap</b>(<i>parent=None</i>)
97
80 <p> 98 <p>
81 Constructor 99 Constructor
82 </p><dl> 100 </p>
101 <dl>
102
83 <dt><i>parent</i></dt> 103 <dt><i>parent</i></dt>
84 <dd> 104 <dd>
85 reference to the parent widget (QWidget) 105 reference to the parent widget (QWidget)
86 </dd> 106 </dd>
87 </dl><a NAME="EditorMarkerMap.__drawIndicator" ID="EditorMarkerMap.__drawIndicator"></a> 107 </dl>
108 <a NAME="EditorMarkerMap.__drawIndicator" ID="EditorMarkerMap.__drawIndicator"></a>
88 <h4>EditorMarkerMap.__drawIndicator</h4> 109 <h4>EditorMarkerMap.__drawIndicator</h4>
89 <b>__drawIndicator</b>(<i>line, painter, color</i>) 110 <b>__drawIndicator</b>(<i>line, painter, color</i>)
111
90 <p> 112 <p>
91 Private method to draw an indicator. 113 Private method to draw an indicator.
92 </p><dl> 114 </p>
115 <dl>
116
93 <dt><i>line</i></dt> 117 <dt><i>line</i></dt>
94 <dd> 118 <dd>
95 line number (integer) 119 line number (integer)
96 </dd><dt><i>painter</i></dt> 120 </dd>
121 <dt><i>painter</i></dt>
97 <dd> 122 <dd>
98 reference to the painter (QPainter) 123 reference to the painter (QPainter)
99 </dd><dt><i>color</i></dt> 124 </dd>
125 <dt><i>color</i></dt>
100 <dd> 126 <dd>
101 color to be used (QColor) 127 color to be used (QColor)
102 </dd> 128 </dd>
103 </dl><a NAME="EditorMarkerMap._paintIt" ID="EditorMarkerMap._paintIt"></a> 129 </dl>
130 <a NAME="EditorMarkerMap._paintIt" ID="EditorMarkerMap._paintIt"></a>
104 <h4>EditorMarkerMap._paintIt</h4> 131 <h4>EditorMarkerMap._paintIt</h4>
105 <b>_paintIt</b>(<i>painter</i>) 132 <b>_paintIt</b>(<i>painter</i>)
133
106 <p> 134 <p>
107 Protected method for painting the widget's indicators. 135 Protected method for painting the widget's indicators.
108 </p><dl> 136 </p>
137 <dl>
138
109 <dt><i>painter</i></dt> 139 <dt><i>painter</i></dt>
110 <dd> 140 <dd>
111 reference to the painter object (QPainter) 141 reference to the painter object (QPainter)
112 </dd> 142 </dd>
113 </dl><a NAME="EditorMarkerMap.initColors" ID="EditorMarkerMap.initColors"></a> 143 </dl>
144 <a NAME="EditorMarkerMap.initColors" ID="EditorMarkerMap.initColors"></a>
114 <h4>EditorMarkerMap.initColors</h4> 145 <h4>EditorMarkerMap.initColors</h4>
115 <b>initColors</b>(<i></i>) 146 <b>initColors</b>(<i></i>)
147
116 <p> 148 <p>
117 Public method to initialize the colors. 149 Public method to initialize the colors.
118 </p> 150 </p>
119 <div align="right"><a href="#top">Up</a></div> 151 <div align="right"><a href="#top">Up</a></div>
120 <hr /> 152 <hr />

eric ide

mercurial