--- a/eric6/Documentation/Source/eric6.E5Graphics.E5GraphicsView.html Sun Apr 12 18:40:37 2020 +0200 +++ b/eric6/Documentation/Source/eric6.E5Graphics.E5GraphicsView.html Sun Apr 12 18:41:24 2020 +0200 @@ -105,6 +105,18 @@ <td>Public method to filter a list of items.</td> </tr> <tr> +<td><a href="#E5GraphicsView.getBackgroundColor">getBackgroundColor</a></td> +<td>Public method to get the configured background color.</td> +</tr> +<tr> +<td><a href="#E5GraphicsView.getDrawingColors">getDrawingColors</a></td> +<td>Public method to get the configured drawing colors.</td> +</tr> +<tr> +<td><a href="#E5GraphicsView.getForegroundColor">getForegroundColor</a></td> +<td>Public method to get the configured foreground color.</td> +</tr> +<tr> <td><a href="#E5GraphicsView.printDiagram">printDiagram</a></td> <td>Public method to print the diagram.</td> </tr> @@ -291,6 +303,63 @@ list of interesting collision items (QGraphicsItem) </dd> </dl> +<a NAME="E5GraphicsView.getBackgroundColor" ID="E5GraphicsView.getBackgroundColor"></a> +<h4>E5GraphicsView.getBackgroundColor</h4> +<b>getBackgroundColor</b>(<i></i>) + +<p> + Public method to get the configured background color. +</p> +<dl> +<dt>Returns:</dt> +<dd> +background color +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +QColor +</dd> +</dl> +<a NAME="E5GraphicsView.getDrawingColors" ID="E5GraphicsView.getDrawingColors"></a> +<h4>E5GraphicsView.getDrawingColors</h4> +<b>getDrawingColors</b>(<i></i>) + +<p> + Public method to get the configured drawing colors. +</p> +<dl> +<dt>Returns:</dt> +<dd> +tuple containing the foreground and background colors +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (QColor, QColor) +</dd> +</dl> +<a NAME="E5GraphicsView.getForegroundColor" ID="E5GraphicsView.getForegroundColor"></a> +<h4>E5GraphicsView.getForegroundColor</h4> +<b>getForegroundColor</b>(<i></i>) + +<p> + Public method to get the configured foreground color. +</p> +<dl> +<dt>Returns:</dt> +<dd> +foreground color +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +QColor +</dd> +</dl> <a NAME="E5GraphicsView.printDiagram" ID="E5GraphicsView.printDiagram"></a> <h4>E5GraphicsView.printDiagram</h4> <b>printDiagram</b>(<i>printer, diagramName=""</i>)