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

Mon, 09 Jan 2023 11:22:56 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 09 Jan 2023 11:22:56 +0100
branch
eric7
changeset 9686
2eee7a645cba
parent 9209
b99e7fd55fd3
child 10431
64157aeb0312
permissions
-rw-r--r--

Moved the 'QtHelp' subpackage out of the WebBrowser package because it is used in the HelpViewer as well.

<!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></dt>
<dd>
reference to the parent widget (QWidget)
</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></dt>
<dd>
line number (integer)
</dd>
<dt><i>painter</i></dt>
<dd>
reference to the painter (QPainter)
</dd>
<dt><i>color</i></dt>
<dd>
color to be used (QColor)
</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></dt>
<dd>
reference to the painter object (QPainter)
</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