68 <td>Protected method to calculate the minimum rectangle fitting the diagram.</td> |
68 <td>Protected method to calculate the minimum rectangle fitting the diagram.</td> |
69 </tr><tr> |
69 </tr><tr> |
70 <td><a href="#E5GraphicsView._getDiagramSize">_getDiagramSize</a></td> |
70 <td><a href="#E5GraphicsView._getDiagramSize">_getDiagramSize</a></td> |
71 <td>Protected method to calculate the minimum size fitting the diagram.</td> |
71 <td>Protected method to calculate the minimum size fitting the diagram.</td> |
72 </tr><tr> |
72 </tr><tr> |
|
73 <td><a href="#E5GraphicsView.autoAdjustSceneSize">autoAdjustSceneSize</a></td> |
|
74 <td>Public method to adjust the scene size to the diagram size.</td> |
|
75 </tr><tr> |
73 <td><a href="#E5GraphicsView.filteredItems">filteredItems</a></td> |
76 <td><a href="#E5GraphicsView.filteredItems">filteredItems</a></td> |
74 <td>Public method to filter a list of items.</td> |
77 <td>Public method to filter a list of items.</td> |
75 </tr><tr> |
78 </tr><tr> |
76 <td><a href="#E5GraphicsView.printDiagram">printDiagram</a></td> |
79 <td><a href="#E5GraphicsView.printDiagram">printDiagram</a></td> |
77 <td>Public method to print the diagram.</td> |
80 <td>Public method to print the diagram.</td> |
168 </dl><dl> |
171 </dl><dl> |
169 <dt>Returns:</dt> |
172 <dt>Returns:</dt> |
170 <dd> |
173 <dd> |
171 the minimum size (QSizeF) |
174 the minimum size (QSizeF) |
172 </dd> |
175 </dd> |
|
176 </dl><a NAME="E5GraphicsView.autoAdjustSceneSize" ID="E5GraphicsView.autoAdjustSceneSize"></a> |
|
177 <h4>E5GraphicsView.autoAdjustSceneSize</h4> |
|
178 <b>autoAdjustSceneSize</b>(<i>limit=False</i>) |
|
179 <p> |
|
180 Public method to adjust the scene size to the diagram size. |
|
181 </p><dl> |
|
182 <dt><i>limit</i></dt> |
|
183 <dd> |
|
184 flag indicating to limit the scene to the |
|
185 initial size (boolean) |
|
186 </dd> |
173 </dl><a NAME="E5GraphicsView.filteredItems" ID="E5GraphicsView.filteredItems"></a> |
187 </dl><a NAME="E5GraphicsView.filteredItems" ID="E5GraphicsView.filteredItems"></a> |
174 <h4>E5GraphicsView.filteredItems</h4> |
188 <h4>E5GraphicsView.filteredItems</h4> |
175 <b>filteredItems</b>(<i>items</i>) |
189 <b>filteredItems</b>(<i>items</i>) |
176 <p> |
190 <p> |
177 Public method to filter a list of items. |
191 Public method to filter a list of items. |
236 <p> |
250 <p> |
237 Public method to set the scene size. |
251 Public method to set the scene size. |
238 </p><dl> |
252 </p><dl> |
239 <dt><i>width</i></dt> |
253 <dt><i>width</i></dt> |
240 <dd> |
254 <dd> |
241 width for the scene (integer) |
255 width for the scene (real) |
242 </dd><dt><i>height</i></dt> |
256 </dd><dt><i>height</i></dt> |
243 <dd> |
257 <dd> |
244 height for the scene (integer) |
258 height for the scene (real) |
245 </dd> |
259 </dd> |
246 </dl><a NAME="E5GraphicsView.setZoom" ID="E5GraphicsView.setZoom"></a> |
260 </dl><a NAME="E5GraphicsView.setZoom" ID="E5GraphicsView.setZoom"></a> |
247 <h4>E5GraphicsView.setZoom</h4> |
261 <h4>E5GraphicsView.setZoom</h4> |
248 <b>setZoom</b>(<i>zoomFactor</i>) |
262 <b>setZoom</b>(<i>zoomFactor</i>) |
249 <p> |
263 <p> |