Documentation/Source/eric5.E5Graphics.E5GraphicsView.html

changeset 58
37f0444c3479
parent 51
7d80b0f20ca6
child 409
0ea528e80202
diff -r 81326a94fdca -r 37f0444c3479 Documentation/Source/eric5.E5Graphics.E5GraphicsView.html
--- a/Documentation/Source/eric5.E5Graphics.E5GraphicsView.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.E5Graphics.E5GraphicsView.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.E5Graphics.E5GraphicsView</h1>
 <p>
-&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#99;&#97;&#110;v&#97;&#115; v&#105;&#101;w &#99;&#108;&#97;&#115;&#115;.
+Module implementing a canvas view class.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,7 +32,7 @@
 <table>
 <tr>
 <td><a href="#E5GraphicsView">E5GraphicsView</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#103;&#114;&#97;&#112;&#104;&#105;&#99;&#115; v&#105;&#101;w.</td>
+<td>Class implementing a graphics view.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -43,7 +43,7 @@
 <a NAME="E5GraphicsView" ID="E5GraphicsView"></a>
 <h2>E5GraphicsView</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#103;&#114;&#97;&#112;&#104;&#105;&#99;&#115; v&#105;&#101;w.
+    Class implementing a graphics view.
 </p>
 <h3>Derived from</h3>
 QGraphicsView
@@ -55,221 +55,221 @@
 <table>
 <tr>
 <td><a href="#E5GraphicsView.__init__">E5GraphicsView</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#E5GraphicsView.__getDiagram">__getDiagram</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; &#100;&#105;&#97;&#103;&#114;&#97;&#109; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#115;&#99;&#101;&#110;&#101; &#102;&#105;&#116;&#116;&#105;&#110;&#103; &#105;&#116; &#105;&#110; &#116;&#104;&#101; &#109;&#105;&#110;&#105;&#109;&#117;&#109; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101;.</td>
+<td>Private method to retrieve the diagram from the scene fitting it in the minimum rectangle.</td>
 </tr><tr>
 <td><a href="#E5GraphicsView._getDiagramRect">_getDiagramRect</a></td>
-<td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#109;&#105;&#110;&#105;&#109;&#117;&#109; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#102;&#105;&#116;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#100;&#105;&#97;&#103;&#114;&#97;&#109;.</td>
+<td>Protected method to calculate the minimum rectangle fitting the diagram.</td>
 </tr><tr>
 <td><a href="#E5GraphicsView._getDiagramSize">_getDiagramSize</a></td>
-<td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#109;&#105;&#110;&#105;&#109;&#117;&#109; &#115;&#105;z&#101; &#102;&#105;&#116;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#100;&#105;&#97;&#103;&#114;&#97;&#109;.</td>
+<td>Protected method to calculate the minimum size fitting the diagram.</td>
 </tr><tr>
 <td><a href="#E5GraphicsView.filteredItems">filteredItems</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#102;&#105;&#108;&#116;&#101;&#114; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#105;&#116;&#101;&#109;&#115;.</td>
+<td>Public method to filter a list of items.</td>
 </tr><tr>
 <td><a href="#E5GraphicsView.printDiagram">printDiagram</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#114;&#105;&#110;&#116; &#116;&#104;&#101; &#100;&#105;&#97;&#103;&#114;&#97;&#109;.</td>
+<td>Public method to print the diagram.</td>
 </tr><tr>
 <td><a href="#E5GraphicsView.resizeScene">resizeScene</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#105;z&#101; &#116;&#104;&#101; &#115;&#99;&#101;&#110;&#101;.</td>
+<td>Public method to resize the scene.</td>
 </tr><tr>
 <td><a href="#E5GraphicsView.saveImage">saveImage</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#115;&#99;&#101;&#110;&#101; &#116;&#111; &#97; &#102;&#105;&#108;&#101;.</td>
+<td>Public method to save the scene to a file.</td>
 </tr><tr>
 <td><a href="#E5GraphicsView.setSceneSize">setSceneSize</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#99;&#101;&#110;&#101; &#115;&#105;z&#101;.</td>
+<td>Public method to set the scene size.</td>
 </tr><tr>
 <td><a href="#E5GraphicsView.setZoom">setZoom</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114;.</td>
+<td>Public method to set the zoom factor.</td>
 </tr><tr>
 <td><a href="#E5GraphicsView.zoom">zoom</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114;.</td>
+<td>Public method to get the current zoom factor.</td>
 </tr><tr>
 <td><a href="#E5GraphicsView.zoomIn">zoomIn</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; z&#111;&#111;&#109; &#105;&#110;.</td>
+<td>Public method to zoom in.</td>
 </tr><tr>
 <td><a href="#E5GraphicsView.zoomOut">zoomOut</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; z&#111;&#111;&#109; &#111;&#117;&#116;.</td>
+<td>Public method to zoom out.</td>
 </tr><tr>
 <td><a href="#E5GraphicsView.zoomReset">zoomReset</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#115;&#101;&#116; z&#111;&#111;&#109; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#101;&#110;&#116;&#114;y.</td>
+<td>Public method to handle the reset zoom context menu entry.</td>
 </tr>
 </table>
 <a NAME="E5GraphicsView.__init__" ID="E5GraphicsView.__init__"></a>
 <h4>E5GraphicsView (Constructor)</h4>
 <b>E5GraphicsView</b>(<i>scene, parent = None</i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><dl>
 <dt><i>scene</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#115;&#99;&#101;&#110;&#101; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#71;&#114;&#97;&#112;&#104;&#105;&#99;&#115;&#83;&#99;&#101;&#110;&#101;)
+reference to the scene object (QGraphicsScene)
 </dd><dt><i>parent</i></dt>
 <dd>
-&#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;)
+parent widget (QWidget)
 </dd>
 </dl><a NAME="E5GraphicsView.__getDiagram" ID="E5GraphicsView.__getDiagram"></a>
 <h4>E5GraphicsView.__getDiagram</h4>
 <b>__getDiagram</b>(<i>rect, format = "PNG", filename = None</i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; &#100;&#105;&#97;&#103;&#114;&#97;&#109; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#115;&#99;&#101;&#110;&#101; &#102;&#105;&#116;&#116;&#105;&#110;&#103; &#105;&#116; 
-        &#105;&#110; &#116;&#104;&#101; &#109;&#105;&#110;&#105;&#109;&#117;&#109; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101;.
+        Private method to retrieve the diagram from the scene fitting it 
+        in the minimum rectangle.
 </p><dl>
 <dt><i>rect</i></dt>
 <dd>
-&#109;&#105;&#110;&#105;&#109;&#117;&#109; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#102;&#105;&#116;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#100;&#105;&#97;&#103;&#114;&#97;&#109; (&#81;&#82;&#101;&#99;&#116;&#70;)
+minimum rectangle fitting the diagram (QRectF)
 </dd><dt><i>format</i></dt>
 <dd>
-&#102;&#111;&#114;&#109;&#97;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101; &#102;&#105;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;)
+format for the image file (string)
 </dd><dt><i>filename</i></dt>
 <dd>
-&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#102;&#111;&#114; &#110;&#111;&#110; &#112;&#105;x&#109;&#97;&#112;&#115; (&#115;&#116;&#114;&#105;&#110;&#103;)
+name of the file for non pixmaps (string)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#100;&#105;&#97;&#103;&#114;&#97;&#109; &#112;&#105;x&#109;&#97;&#112; &#116;&#111; &#114;&#101;&#99;&#101;&#105;v&#101; &#116;&#104;&#101; &#100;&#105;&#97;&#103;&#114;&#97;&#109; (&#81;&#80;&#105;x&#109;&#97;&#112;)
+diagram pixmap to receive the diagram (QPixmap)
 </dd>
 </dl><a NAME="E5GraphicsView._getDiagramRect" ID="E5GraphicsView._getDiagramRect"></a>
 <h4>E5GraphicsView._getDiagramRect</h4>
 <b>_getDiagramRect</b>(<i>border = 0</i>)
 <p>
-        &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#109;&#105;&#110;&#105;&#109;&#117;&#109; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; &#102;&#105;&#116;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#100;&#105;&#97;&#103;&#114;&#97;&#109;.
+        Protected method to calculate the minimum rectangle fitting the diagram.
 </p><dl>
 <dt><i>border</i></dt>
 <dd>
-&#98;&#111;&#114;&#100;&#101;&#114; w&#105;&#100;&#116;&#104; &#116;&#111; &#105;&#110;&#99;&#108;&#117;&#100;&#101; &#105;&#110; &#116;&#104;&#101; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#105;&#111;&#110; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+border width to include in the calculation (integer)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#116;&#104;&#101; &#109;&#105;&#110;&#105;&#109;&#117;&#109; &#114;&#101;&#99;&#116;&#97;&#110;&#103;&#108;&#101; (&#81;&#82;&#101;&#99;&#116;&#70;)
+the minimum rectangle (QRectF)
 </dd>
 </dl><a NAME="E5GraphicsView._getDiagramSize" ID="E5GraphicsView._getDiagramSize"></a>
 <h4>E5GraphicsView._getDiagramSize</h4>
 <b>_getDiagramSize</b>(<i>border = 0</i>)
 <p>
-        &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#109;&#105;&#110;&#105;&#109;&#117;&#109; &#115;&#105;z&#101; &#102;&#105;&#116;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#100;&#105;&#97;&#103;&#114;&#97;&#109;.
+        Protected method to calculate the minimum size fitting the diagram.
 </p><dl>
 <dt><i>border</i></dt>
 <dd>
-&#98;&#111;&#114;&#100;&#101;&#114; w&#105;&#100;&#116;&#104; &#116;&#111; &#105;&#110;&#99;&#108;&#117;&#100;&#101; &#105;&#110; &#116;&#104;&#101; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#105;&#111;&#110; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+border width to include in the calculation (integer)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#116;&#104;&#101; &#109;&#105;&#110;&#105;&#109;&#117;&#109; &#115;&#105;z&#101; (&#81;&#83;&#105;z&#101;&#70;)
+the minimum size (QSizeF)
 </dd>
 </dl><a NAME="E5GraphicsView.filteredItems" ID="E5GraphicsView.filteredItems"></a>
 <h4>E5GraphicsView.filteredItems</h4>
 <b>filteredItems</b>(<i>items</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#102;&#105;&#108;&#116;&#101;&#114; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#105;&#116;&#101;&#109;&#115;.
+        Public method to filter a list of items.
 </p><dl>
 <dt><i>items</i></dt>
 <dd>
-&#108;&#105;&#115;&#116; &#111;&#102; &#105;&#116;&#101;&#109;&#115; &#97;&#115; &#114;&#101;&#116;&#117;&#114;&#110;&#101;&#100; &#98;y &#116;&#104;&#101; &#115;&#99;&#101;&#110;&#101; &#111;&#98;&#106;&#101;&#99;&#116;
-            (&#81;&#71;&#114;&#97;&#112;&#104;&#105;&#99;&#115;&#73;&#116;&#101;&#109;)
+list of items as returned by the scene object
+            (QGraphicsItem)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#108;&#105;&#115;&#116; &#111;&#102; &#105;&#110;&#116;&#101;&#114;&#101;&#115;&#116;&#105;&#110;&#103; &#99;&#111;&#108;&#108;&#105;&#115;&#105;&#111;&#110; &#105;&#116;&#101;&#109;&#115; (&#81;&#71;&#114;&#97;&#112;&#104;&#105;&#99;&#115;&#73;&#116;&#101;&#109;)
+list of interesting collision items (QGraphicsItem)
 </dd>
 </dl><a NAME="E5GraphicsView.printDiagram" ID="E5GraphicsView.printDiagram"></a>
 <h4>E5GraphicsView.printDiagram</h4>
 <b>printDiagram</b>(<i>printer, diagramName = ""</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#114;&#105;&#110;&#116; &#116;&#104;&#101; &#100;&#105;&#97;&#103;&#114;&#97;&#109;.
+        Public method to print the diagram.
 </p><dl>
 <dt><i>printer</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#97; &#114;&#101;&#97;&#100;y &#99;&#111;&#110;&#102;&#105;&#103;&#117;&#114;&#101;&#100; &#112;&#114;&#105;&#110;&#116;&#101;&#114; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#80;&#114;&#105;&#110;&#116;&#101;&#114;)
+reference to a ready configured printer object (QPrinter)
 </dd><dt><i>diagramName</i></dt>
 <dd>
-&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#105;&#97;&#103;&#114;&#97;&#109; (&#115;&#116;&#114;&#105;&#110;&#103;)
+name of the diagram (string)
 </dd>
 </dl><a NAME="E5GraphicsView.resizeScene" ID="E5GraphicsView.resizeScene"></a>
 <h4>E5GraphicsView.resizeScene</h4>
 <b>resizeScene</b>(<i>amount, isWidth = True</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#105;z&#101; &#116;&#104;&#101; &#115;&#99;&#101;&#110;&#101;.
+        Public method to resize the scene.
 </p><dl>
 <dt><i>isWidth</i></dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; w&#105;&#100;&#116;&#104; &#105;&#115; &#116;&#111; &#98;&#101; &#114;&#101;&#115;&#105;z&#101;&#100; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating width is to be resized (boolean)
 </dd><dt><i>amount</i></dt>
 <dd>
-&#115;&#105;z&#101; &#105;&#110;&#99;&#114;&#101;&#109;&#101;&#110;&#116; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+size increment (integer)
 </dd>
 </dl><a NAME="E5GraphicsView.saveImage" ID="E5GraphicsView.saveImage"></a>
 <h4>E5GraphicsView.saveImage</h4>
 <b>saveImage</b>(<i>filename, format = "PNG"</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#115;&#99;&#101;&#110;&#101; &#116;&#111; &#97; &#102;&#105;&#108;&#101;.
+        Public method to save the scene to a file.
 </p><dl>
 <dt><i>filename</i></dt>
 <dd>
-&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#116;&#111; w&#114;&#105;&#116;&#101; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101; &#116;&#111; (&#115;&#116;&#114;&#105;&#110;&#103;)
+name of the file to write the image to (string)
 </dd><dt><i>format</i></dt>
 <dd>
-&#102;&#111;&#114;&#109;&#97;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#105;&#109;&#97;&#103;&#101; &#102;&#105;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;)
+format for the image file (string)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating success (boolean)
 </dd>
 </dl><a NAME="E5GraphicsView.setSceneSize" ID="E5GraphicsView.setSceneSize"></a>
 <h4>E5GraphicsView.setSceneSize</h4>
 <b>setSceneSize</b>(<i>width, height</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#99;&#101;&#110;&#101; &#115;&#105;z&#101;.
+        Public method to set the scene size.
 </p><dl>
 <dt><i>width</i></dt>
 <dd>
-w&#105;&#100;&#116;&#104; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#99;&#101;&#110;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+width for the scene (integer)
 </dd><dt><i>height</i></dt>
 <dd>
-&#104;&#101;&#105;&#103;&#104;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#99;&#101;&#110;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+height for the scene (integer)
 </dd>
 </dl><a NAME="E5GraphicsView.setZoom" ID="E5GraphicsView.setZoom"></a>
 <h4>E5GraphicsView.setZoom</h4>
 <b>setZoom</b>(<i>zoomFactor</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114;.
+        Public method to set the zoom factor.
 </p><dl>
 <dt><i>zoomFactor</i></dt>
 <dd>
-&#110;&#101;w z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114; (&#102;&#108;&#111;&#97;&#116;)
+new zoom factor (float)
 </dd>
 </dl><a NAME="E5GraphicsView.zoom" ID="E5GraphicsView.zoom"></a>
 <h4>E5GraphicsView.zoom</h4>
 <b>zoom</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114;.
+        Public method to get the current zoom factor.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#99;&#117;&#114;&#114;&#101;&#110;&#116; z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114; (&#102;&#108;&#111;&#97;&#116;)
+current zoom factor (float)
 </dd>
 </dl><a NAME="E5GraphicsView.zoomIn" ID="E5GraphicsView.zoomIn"></a>
 <h4>E5GraphicsView.zoomIn</h4>
 <b>zoomIn</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; z&#111;&#111;&#109; &#105;&#110;.
+        Public method to zoom in.
 </p><a NAME="E5GraphicsView.zoomOut" ID="E5GraphicsView.zoomOut"></a>
 <h4>E5GraphicsView.zoomOut</h4>
 <b>zoomOut</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; z&#111;&#111;&#109; &#111;&#117;&#116;.
+        Public method to zoom out.
 </p><a NAME="E5GraphicsView.zoomReset" ID="E5GraphicsView.zoomReset"></a>
 <h4>E5GraphicsView.zoomReset</h4>
 <b>zoomReset</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#115;&#101;&#116; z&#111;&#111;&#109; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#101;&#110;&#116;&#114;y.
+        Public method to handle the reset zoom context menu entry.
 </p>
 <div align="right"><a href="#top">Up</a></div>
 <hr />

eric ide

mercurial