diff -r 495f084a737e -r 36a90a94765c src/eric7/Documentation/Source/eric7.EricGraphics.EricGraphicsView.html --- a/src/eric7/Documentation/Source/eric7.EricGraphics.EricGraphicsView.html Mon Sep 23 14:37:31 2024 +0200 +++ b/src/eric7/Documentation/Source/eric7.EricGraphics.EricGraphicsView.html Tue Sep 24 17:52:41 2024 +0200 @@ -146,7 +146,7 @@ <a NAME="EricGraphicsView.__init__" ID="EricGraphicsView.__init__"></a> <h4>EricGraphicsView (Constructor)</h4> -<b>EricGraphicsView</b>(<i>scene, parent=None</i>) +<b>EricGraphicsView</b>(<i>scene, drawingMode="automatic", parent=None</i>) <p> Constructor </p> @@ -157,6 +157,11 @@ <dd> reference to the scene object </dd> +<dt><i>drawingMode</i> (str (optional))</dt> +<dd> +name of the drawing mode (one of "automatic", + "black_white" or "white_black") (defaults to "automatic") +</dd> <dt><i>parent</i> (QWidget)</dt> <dd> parent widget @@ -319,12 +324,20 @@ </dl> <a NAME="EricGraphicsView.getBackgroundColor" ID="EricGraphicsView.getBackgroundColor"></a> <h4>EricGraphicsView.getBackgroundColor</h4> -<b>getBackgroundColor</b>(<i></i>) +<b>getBackgroundColor</b>(<i>drawingMode="automatic"</i>) <p> Public method to get the configured background color. </p> <dl> + +<dt><i>drawingMode</i> (str (optional))</dt> +<dd> +name of the drawing mode (one of "automatic", + "black_white" or "white_black") (defaults to "automatic") +</dd> +</dl> +<dl> <dt>Return:</dt> <dd> background color @@ -338,12 +351,20 @@ </dl> <a NAME="EricGraphicsView.getDrawingColors" ID="EricGraphicsView.getDrawingColors"></a> <h4>EricGraphicsView.getDrawingColors</h4> -<b>getDrawingColors</b>(<i></i>) +<b>getDrawingColors</b>(<i>drawingMode="automatic"</i>) <p> Public method to get the configured drawing colors. </p> <dl> + +<dt><i>drawingMode</i> (str (optional))</dt> +<dd> +name of the drawing mode (one of "automatic", + "black_white" or "white_black") (defaults to "automatic") +</dd> +</dl> +<dl> <dt>Return:</dt> <dd> tuple containing the foreground and background colors @@ -357,12 +378,20 @@ </dl> <a NAME="EricGraphicsView.getForegroundColor" ID="EricGraphicsView.getForegroundColor"></a> <h4>EricGraphicsView.getForegroundColor</h4> -<b>getForegroundColor</b>(<i></i>) +<b>getForegroundColor</b>(<i>drawingMode="automatic"</i>) <p> Public method to get the configured foreground color. </p> <dl> + +<dt><i>drawingMode</i> (str (optional))</dt> +<dd> +name of the drawing mode (one of "automatic", + "black_white" or "white_black") (defaults to "automatic") +</dd> +</dl> +<dl> <dt>Return:</dt> <dd> foreground color @@ -376,7 +405,7 @@ </dl> <a NAME="EricGraphicsView.printDiagram" ID="EricGraphicsView.printDiagram"></a> <h4>EricGraphicsView.printDiagram</h4> -<b>printDiagram</b>(<i>printer, diagramName=""</i>) +<b>printDiagram</b>(<i>printer, margins=None, diagramName=""</i>) <p> Public method to print the diagram. </p> @@ -387,7 +416,11 @@ <dd> reference to a ready configured printer object </dd> -<dt><i>diagramName</i> (float)</dt> +<dt><i>margins</i> (QMarginsF or None (optional))</dt> +<dd> +diagram margins (defaults to None) +</dd> +<dt><i>diagramName</i> (str)</dt> <dd> name of the diagram </dd>