Documentation/Source/eric5.E5Graphics.E5GraphicsView.html

changeset 2027
144463496a54
parent 1229
a8207dc73672
child 2334
fc69ad77e18a
child 2374
f78ee0e8f96c
--- a/Documentation/Source/eric5.E5Graphics.E5GraphicsView.html	Sat Sep 08 13:02:43 2012 +0200
+++ b/Documentation/Source/eric5.E5Graphics.E5GraphicsView.html	Sat Sep 08 17:36:14 2012 +0200
@@ -70,6 +70,9 @@
 <td><a href="#E5GraphicsView._getDiagramSize">_getDiagramSize</a></td>
 <td>Protected method to calculate the minimum size fitting the diagram.</td>
 </tr><tr>
+<td><a href="#E5GraphicsView.autoAdjustSceneSize">autoAdjustSceneSize</a></td>
+<td>Public method to adjust the scene size to the diagram size.</td>
+</tr><tr>
 <td><a href="#E5GraphicsView.filteredItems">filteredItems</a></td>
 <td>Public method to filter a list of items.</td>
 </tr><tr>
@@ -170,6 +173,17 @@
 <dd>
 the minimum size (QSizeF)
 </dd>
+</dl><a NAME="E5GraphicsView.autoAdjustSceneSize" ID="E5GraphicsView.autoAdjustSceneSize"></a>
+<h4>E5GraphicsView.autoAdjustSceneSize</h4>
+<b>autoAdjustSceneSize</b>(<i>limit=False</i>)
+<p>
+        Public method to adjust the scene size to the diagram size.
+</p><dl>
+<dt><i>limit</i></dt>
+<dd>
+flag indicating to limit the scene to the
+            initial size (boolean)
+</dd>
 </dl><a NAME="E5GraphicsView.filteredItems" ID="E5GraphicsView.filteredItems"></a>
 <h4>E5GraphicsView.filteredItems</h4>
 <b>filteredItems</b>(<i>items</i>)
@@ -238,10 +252,10 @@
 </p><dl>
 <dt><i>width</i></dt>
 <dd>
-width for the scene (integer)
+width for the scene (real)
 </dd><dt><i>height</i></dt>
 <dd>
-height for the scene (integer)
+height for the scene (real)
 </dd>
 </dl><a NAME="E5GraphicsView.setZoom" ID="E5GraphicsView.setZoom"></a>
 <h4>E5GraphicsView.setZoom</h4>

eric ide

mercurial