src/eric7/Documentation/Source/eric7.QScintilla.EditorMarkerMap.html

Thu, 11 Jul 2024 14:21:34 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 11 Jul 2024 14:21:34 +0200
branch
eric7
changeset 10840
c8045d0dbaa7
parent 10479
856476537696
permissions
-rw-r--r--

MicroPython
- Updated the list of known CircuitPython boards for CPy 9.1.0.
- Updated the list of known UF2 capable boards.

<!DOCTYPE html>
<html><head>
<title>eric7.QScintilla.EditorMarkerMap</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.QScintilla.EditorMarkerMap</h1>
<p>
Module implementing a class for showing an editor marker map.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#EditorMarkerMap">EditorMarkerMap</a></td>
<td>Class implementing a class for showing an editor marker map.</td>
</tr>
</table>

<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>

<hr />
<hr />
<a NAME="EditorMarkerMap" ID="EditorMarkerMap"></a>
<h2>EditorMarkerMap</h2>
<p>
    Class implementing a class for showing an editor marker map.
</p>

<h3>Derived from</h3>
EricMapWidget
<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="#EditorMarkerMap.__init__">EditorMarkerMap</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#EditorMarkerMap.__drawIndicator">__drawIndicator</a></td>
<td>Private method to draw an indicator.</td>
</tr>
<tr>
<td><a href="#EditorMarkerMap._paintIt">_paintIt</a></td>
<td>Protected method for painting the widget's indicators.</td>
</tr>
<tr>
<td><a href="#EditorMarkerMap.initColors">initColors</a></td>
<td>Public method to initialize the colors.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="EditorMarkerMap.__init__" ID="EditorMarkerMap.__init__"></a>
<h4>EditorMarkerMap (Constructor)</h4>
<b>EditorMarkerMap</b>(<i>parent=None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
</dl>
<a NAME="EditorMarkerMap.__drawIndicator" ID="EditorMarkerMap.__drawIndicator"></a>
<h4>EditorMarkerMap.__drawIndicator</h4>
<b>__drawIndicator</b>(<i>line, painter, color</i>)
<p>
        Private method to draw an indicator.
</p>

<dl>

<dt><i>line</i> (int)</dt>
<dd>
line number
</dd>
<dt><i>painter</i> (QPainter)</dt>
<dd>
reference to the painter
</dd>
<dt><i>color</i> (QColor)</dt>
<dd>
color to be used
</dd>
</dl>
<a NAME="EditorMarkerMap._paintIt" ID="EditorMarkerMap._paintIt"></a>
<h4>EditorMarkerMap._paintIt</h4>
<b>_paintIt</b>(<i>painter</i>)
<p>
        Protected method for painting the widget's indicators.
</p>

<dl>

<dt><i>painter</i> (QPainter)</dt>
<dd>
reference to the painter object
</dd>
</dl>
<a NAME="EditorMarkerMap.initColors" ID="EditorMarkerMap.initColors"></a>
<h4>EditorMarkerMap.initColors</h4>
<b>initColors</b>(<i></i>)
<p>
        Public method to initialize the colors.
</p>

<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial