eric6/Documentation/Source/eric6.E5Graphics.E5GraphicsView.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7530
9f4fac61e7c7
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.E5Graphics.E5GraphicsView</h1> 23 <h1>eric6.E5Graphics.E5GraphicsView</h1>
24
23 <p> 25 <p>
24 Module implementing a canvas view class. 26 Module implementing a canvas view class.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#E5GraphicsView">E5GraphicsView</a></td> 38 <td><a href="#E5GraphicsView">E5GraphicsView</a></td>
34 <td>Class implementing a graphics view.</td> 39 <td>Class implementing a graphics view.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
39 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
40 </table> 46 </table>
41 <hr /><hr /> 47 <hr />
48 <hr />
42 <a NAME="E5GraphicsView" ID="E5GraphicsView"></a> 49 <a NAME="E5GraphicsView" ID="E5GraphicsView"></a>
43 <h2>E5GraphicsView</h2> 50 <h2>E5GraphicsView</h2>
51
44 <p> 52 <p>
45 Class implementing a graphics view. 53 Class implementing a graphics view.
46 </p><h3>Signals</h3> 54 </p>
47 <dl> 55 <h3>Signals</h3>
56 <dl>
57
48 <dt>zoomValueChanged(int)</dt> 58 <dt>zoomValueChanged(int)</dt>
49 <dd> 59 <dd>
50 emitted to signal a change of the zoom value 60 emitted to signal a change of the zoom value
51 </dd> 61 </dd>
52 </dl> 62 </dl>
53 <h3>Derived from</h3> 63 <h3>Derived from</h3>
54 QGraphicsView 64 QGraphicsView
55 <h3>Class Attributes</h3> 65 <h3>Class Attributes</h3>
66
56 <table> 67 <table>
57 <tr><td>ZoomLevelDefault</td></tr><tr><td>ZoomLevels</td></tr> 68 <tr><td>ZoomLevelDefault</td></tr><tr><td>ZoomLevels</td></tr>
58 </table> 69 </table>
59 <h3>Class Methods</h3> 70 <h3>Class Methods</h3>
71
60 <table> 72 <table>
61 <tr><td>None</td></tr> 73 <tr><td>None</td></tr>
62 </table> 74 </table>
63 <h3>Methods</h3> 75 <h3>Methods</h3>
64 <table> 76
77 <table>
78
65 <tr> 79 <tr>
66 <td><a href="#E5GraphicsView.__init__">E5GraphicsView</a></td> 80 <td><a href="#E5GraphicsView.__init__">E5GraphicsView</a></td>
67 <td>Constructor</td> 81 <td>Constructor</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#E5GraphicsView.__getDiagram">__getDiagram</a></td> 84 <td><a href="#E5GraphicsView.__getDiagram">__getDiagram</a></td>
70 <td>Private method to retrieve the diagram from the scene fitting it in the minimum rectangle.</td> 85 <td>Private method to retrieve the diagram from the scene fitting it in the minimum rectangle.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#E5GraphicsView.__levelForZoom">__levelForZoom</a></td> 88 <td><a href="#E5GraphicsView.__levelForZoom">__levelForZoom</a></td>
73 <td>Private method determining the zoom level index given a zoom factor.</td> 89 <td>Private method determining the zoom level index given a zoom factor.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#E5GraphicsView._getDiagramRect">_getDiagramRect</a></td> 92 <td><a href="#E5GraphicsView._getDiagramRect">_getDiagramRect</a></td>
76 <td>Protected method to calculate the minimum rectangle fitting the diagram.</td> 93 <td>Protected method to calculate the minimum rectangle fitting the diagram.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#E5GraphicsView._getDiagramSize">_getDiagramSize</a></td> 96 <td><a href="#E5GraphicsView._getDiagramSize">_getDiagramSize</a></td>
79 <td>Protected method to calculate the minimum size fitting the diagram.</td> 97 <td>Protected method to calculate the minimum size fitting the diagram.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#E5GraphicsView.autoAdjustSceneSize">autoAdjustSceneSize</a></td> 100 <td><a href="#E5GraphicsView.autoAdjustSceneSize">autoAdjustSceneSize</a></td>
82 <td>Public method to adjust the scene size to the diagram size.</td> 101 <td>Public method to adjust the scene size to the diagram size.</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#E5GraphicsView.filteredItems">filteredItems</a></td> 104 <td><a href="#E5GraphicsView.filteredItems">filteredItems</a></td>
85 <td>Public method to filter a list of items.</td> 105 <td>Public method to filter a list of items.</td>
86 </tr><tr> 106 </tr>
107 <tr>
87 <td><a href="#E5GraphicsView.printDiagram">printDiagram</a></td> 108 <td><a href="#E5GraphicsView.printDiagram">printDiagram</a></td>
88 <td>Public method to print the diagram.</td> 109 <td>Public method to print the diagram.</td>
89 </tr><tr> 110 </tr>
111 <tr>
90 <td><a href="#E5GraphicsView.resizeScene">resizeScene</a></td> 112 <td><a href="#E5GraphicsView.resizeScene">resizeScene</a></td>
91 <td>Public method to resize the scene.</td> 113 <td>Public method to resize the scene.</td>
92 </tr><tr> 114 </tr>
115 <tr>
93 <td><a href="#E5GraphicsView.saveImage">saveImage</a></td> 116 <td><a href="#E5GraphicsView.saveImage">saveImage</a></td>
94 <td>Public method to save the scene to a file.</td> 117 <td>Public method to save the scene to a file.</td>
95 </tr><tr> 118 </tr>
119 <tr>
96 <td><a href="#E5GraphicsView.setSceneSize">setSceneSize</a></td> 120 <td><a href="#E5GraphicsView.setSceneSize">setSceneSize</a></td>
97 <td>Public method to set the scene size.</td> 121 <td>Public method to set the scene size.</td>
98 </tr><tr> 122 </tr>
123 <tr>
99 <td><a href="#E5GraphicsView.setZoom">setZoom</a></td> 124 <td><a href="#E5GraphicsView.setZoom">setZoom</a></td>
100 <td>Public method to set the zoom value in percent.</td> 125 <td>Public method to set the zoom value in percent.</td>
101 </tr><tr> 126 </tr>
127 <tr>
102 <td><a href="#E5GraphicsView.zoom">zoom</a></td> 128 <td><a href="#E5GraphicsView.zoom">zoom</a></td>
103 <td>Public method to get the current zoom factor in percent.</td> 129 <td>Public method to get the current zoom factor in percent.</td>
104 </tr><tr> 130 </tr>
131 <tr>
105 <td><a href="#E5GraphicsView.zoomIn">zoomIn</a></td> 132 <td><a href="#E5GraphicsView.zoomIn">zoomIn</a></td>
106 <td>Public method to zoom in.</td> 133 <td>Public method to zoom in.</td>
107 </tr><tr> 134 </tr>
135 <tr>
108 <td><a href="#E5GraphicsView.zoomOut">zoomOut</a></td> 136 <td><a href="#E5GraphicsView.zoomOut">zoomOut</a></td>
109 <td>Public method to zoom out.</td> 137 <td>Public method to zoom out.</td>
110 </tr><tr> 138 </tr>
139 <tr>
111 <td><a href="#E5GraphicsView.zoomReset">zoomReset</a></td> 140 <td><a href="#E5GraphicsView.zoomReset">zoomReset</a></td>
112 <td>Public method to handle the reset the zoom value.</td> 141 <td>Public method to handle the reset the zoom value.</td>
113 </tr> 142 </tr>
114 </table> 143 </table>
115 <h3>Static Methods</h3> 144 <h3>Static Methods</h3>
145
116 <table> 146 <table>
117 <tr><td>None</td></tr> 147 <tr><td>None</td></tr>
118 </table> 148 </table>
149
119 <a NAME="E5GraphicsView.__init__" ID="E5GraphicsView.__init__"></a> 150 <a NAME="E5GraphicsView.__init__" ID="E5GraphicsView.__init__"></a>
120 <h4>E5GraphicsView (Constructor)</h4> 151 <h4>E5GraphicsView (Constructor)</h4>
121 <b>E5GraphicsView</b>(<i>scene, parent=None</i>) 152 <b>E5GraphicsView</b>(<i>scene, parent=None</i>)
153
122 <p> 154 <p>
123 Constructor 155 Constructor
124 </p><dl> 156 </p>
157 <dl>
158
125 <dt><i>scene</i></dt> 159 <dt><i>scene</i></dt>
126 <dd> 160 <dd>
127 reference to the scene object (QGraphicsScene) 161 reference to the scene object (QGraphicsScene)
128 </dd><dt><i>parent</i></dt> 162 </dd>
163 <dt><i>parent</i></dt>
129 <dd> 164 <dd>
130 parent widget (QWidget) 165 parent widget (QWidget)
131 </dd> 166 </dd>
132 </dl><a NAME="E5GraphicsView.__getDiagram" ID="E5GraphicsView.__getDiagram"></a> 167 </dl>
168 <a NAME="E5GraphicsView.__getDiagram" ID="E5GraphicsView.__getDiagram"></a>
133 <h4>E5GraphicsView.__getDiagram</h4> 169 <h4>E5GraphicsView.__getDiagram</h4>
134 <b>__getDiagram</b>(<i>rect, imageFormat="PNG", filename=None</i>) 170 <b>__getDiagram</b>(<i>rect, imageFormat="PNG", filename=None</i>)
171
135 <p> 172 <p>
136 Private method to retrieve the diagram from the scene fitting it 173 Private method to retrieve the diagram from the scene fitting it
137 in the minimum rectangle. 174 in the minimum rectangle.
138 </p><dl> 175 </p>
176 <dl>
177
139 <dt><i>rect</i></dt> 178 <dt><i>rect</i></dt>
140 <dd> 179 <dd>
141 minimum rectangle fitting the diagram (QRectF) 180 minimum rectangle fitting the diagram (QRectF)
142 </dd><dt><i>imageFormat</i></dt> 181 </dd>
182 <dt><i>imageFormat</i></dt>
143 <dd> 183 <dd>
144 format for the image file (string) 184 format for the image file (string)
145 </dd><dt><i>filename</i></dt> 185 </dd>
186 <dt><i>filename</i></dt>
146 <dd> 187 <dd>
147 name of the file for non pixmaps (string) 188 name of the file for non pixmaps (string)
148 </dd> 189 </dd>
149 </dl><dl> 190 </dl>
191 <dl>
150 <dt>Returns:</dt> 192 <dt>Returns:</dt>
151 <dd> 193 <dd>
152 diagram pixmap to receive the diagram (QPixmap) 194 diagram pixmap to receive the diagram (QPixmap)
153 </dd> 195 </dd>
154 </dl><a NAME="E5GraphicsView.__levelForZoom" ID="E5GraphicsView.__levelForZoom"></a> 196 </dl>
197 <a NAME="E5GraphicsView.__levelForZoom" ID="E5GraphicsView.__levelForZoom"></a>
155 <h4>E5GraphicsView.__levelForZoom</h4> 198 <h4>E5GraphicsView.__levelForZoom</h4>
156 <b>__levelForZoom</b>(<i>zoom</i>) 199 <b>__levelForZoom</b>(<i>zoom</i>)
200
157 <p> 201 <p>
158 Private method determining the zoom level index given a zoom factor. 202 Private method determining the zoom level index given a zoom factor.
159 </p><dl> 203 </p>
204 <dl>
205
160 <dt><i>zoom</i></dt> 206 <dt><i>zoom</i></dt>
161 <dd> 207 <dd>
162 zoom factor (integer) 208 zoom factor (integer)
163 </dd> 209 </dd>
164 </dl><dl> 210 </dl>
211 <dl>
165 <dt>Returns:</dt> 212 <dt>Returns:</dt>
166 <dd> 213 <dd>
167 index of zoom factor (integer) 214 index of zoom factor (integer)
168 </dd> 215 </dd>
169 </dl><a NAME="E5GraphicsView._getDiagramRect" ID="E5GraphicsView._getDiagramRect"></a> 216 </dl>
217 <a NAME="E5GraphicsView._getDiagramRect" ID="E5GraphicsView._getDiagramRect"></a>
170 <h4>E5GraphicsView._getDiagramRect</h4> 218 <h4>E5GraphicsView._getDiagramRect</h4>
171 <b>_getDiagramRect</b>(<i>border=0</i>) 219 <b>_getDiagramRect</b>(<i>border=0</i>)
220
172 <p> 221 <p>
173 Protected method to calculate the minimum rectangle fitting the 222 Protected method to calculate the minimum rectangle fitting the
174 diagram. 223 diagram.
175 </p><dl> 224 </p>
225 <dl>
226
176 <dt><i>border</i></dt> 227 <dt><i>border</i></dt>
177 <dd> 228 <dd>
178 border width to include in the calculation (integer) 229 border width to include in the calculation (integer)
179 </dd> 230 </dd>
180 </dl><dl> 231 </dl>
232 <dl>
181 <dt>Returns:</dt> 233 <dt>Returns:</dt>
182 <dd> 234 <dd>
183 the minimum rectangle (QRectF) 235 the minimum rectangle (QRectF)
184 </dd> 236 </dd>
185 </dl><a NAME="E5GraphicsView._getDiagramSize" ID="E5GraphicsView._getDiagramSize"></a> 237 </dl>
238 <a NAME="E5GraphicsView._getDiagramSize" ID="E5GraphicsView._getDiagramSize"></a>
186 <h4>E5GraphicsView._getDiagramSize</h4> 239 <h4>E5GraphicsView._getDiagramSize</h4>
187 <b>_getDiagramSize</b>(<i>border=0</i>) 240 <b>_getDiagramSize</b>(<i>border=0</i>)
241
188 <p> 242 <p>
189 Protected method to calculate the minimum size fitting the diagram. 243 Protected method to calculate the minimum size fitting the diagram.
190 </p><dl> 244 </p>
245 <dl>
246
191 <dt><i>border</i></dt> 247 <dt><i>border</i></dt>
192 <dd> 248 <dd>
193 border width to include in the calculation (integer) 249 border width to include in the calculation (integer)
194 </dd> 250 </dd>
195 </dl><dl> 251 </dl>
252 <dl>
196 <dt>Returns:</dt> 253 <dt>Returns:</dt>
197 <dd> 254 <dd>
198 the minimum size (QSizeF) 255 the minimum size (QSizeF)
199 </dd> 256 </dd>
200 </dl><a NAME="E5GraphicsView.autoAdjustSceneSize" ID="E5GraphicsView.autoAdjustSceneSize"></a> 257 </dl>
258 <a NAME="E5GraphicsView.autoAdjustSceneSize" ID="E5GraphicsView.autoAdjustSceneSize"></a>
201 <h4>E5GraphicsView.autoAdjustSceneSize</h4> 259 <h4>E5GraphicsView.autoAdjustSceneSize</h4>
202 <b>autoAdjustSceneSize</b>(<i>limit=False</i>) 260 <b>autoAdjustSceneSize</b>(<i>limit=False</i>)
261
203 <p> 262 <p>
204 Public method to adjust the scene size to the diagram size. 263 Public method to adjust the scene size to the diagram size.
205 </p><dl> 264 </p>
265 <dl>
266
206 <dt><i>limit</i></dt> 267 <dt><i>limit</i></dt>
207 <dd> 268 <dd>
208 flag indicating to limit the scene to the 269 flag indicating to limit the scene to the
209 initial size (boolean) 270 initial size (boolean)
210 </dd> 271 </dd>
211 </dl><a NAME="E5GraphicsView.filteredItems" ID="E5GraphicsView.filteredItems"></a> 272 </dl>
273 <a NAME="E5GraphicsView.filteredItems" ID="E5GraphicsView.filteredItems"></a>
212 <h4>E5GraphicsView.filteredItems</h4> 274 <h4>E5GraphicsView.filteredItems</h4>
213 <b>filteredItems</b>(<i>items</i>) 275 <b>filteredItems</b>(<i>items</i>)
276
214 <p> 277 <p>
215 Public method to filter a list of items. 278 Public method to filter a list of items.
216 </p><dl> 279 </p>
280 <dl>
281
217 <dt><i>items</i></dt> 282 <dt><i>items</i></dt>
218 <dd> 283 <dd>
219 list of items as returned by the scene object 284 list of items as returned by the scene object
220 (QGraphicsItem) 285 (QGraphicsItem)
221 </dd> 286 </dd>
222 </dl><dl> 287 </dl>
288 <dl>
223 <dt>Returns:</dt> 289 <dt>Returns:</dt>
224 <dd> 290 <dd>
225 list of interesting collision items (QGraphicsItem) 291 list of interesting collision items (QGraphicsItem)
226 </dd> 292 </dd>
227 </dl><a NAME="E5GraphicsView.printDiagram" ID="E5GraphicsView.printDiagram"></a> 293 </dl>
294 <a NAME="E5GraphicsView.printDiagram" ID="E5GraphicsView.printDiagram"></a>
228 <h4>E5GraphicsView.printDiagram</h4> 295 <h4>E5GraphicsView.printDiagram</h4>
229 <b>printDiagram</b>(<i>printer, diagramName=""</i>) 296 <b>printDiagram</b>(<i>printer, diagramName=""</i>)
297
230 <p> 298 <p>
231 Public method to print the diagram. 299 Public method to print the diagram.
232 </p><dl> 300 </p>
301 <dl>
302
233 <dt><i>printer</i></dt> 303 <dt><i>printer</i></dt>
234 <dd> 304 <dd>
235 reference to a ready configured printer object 305 reference to a ready configured printer object
236 (QPrinter) 306 (QPrinter)
237 </dd><dt><i>diagramName</i></dt> 307 </dd>
308 <dt><i>diagramName</i></dt>
238 <dd> 309 <dd>
239 name of the diagram (string) 310 name of the diagram (string)
240 </dd> 311 </dd>
241 </dl><a NAME="E5GraphicsView.resizeScene" ID="E5GraphicsView.resizeScene"></a> 312 </dl>
313 <a NAME="E5GraphicsView.resizeScene" ID="E5GraphicsView.resizeScene"></a>
242 <h4>E5GraphicsView.resizeScene</h4> 314 <h4>E5GraphicsView.resizeScene</h4>
243 <b>resizeScene</b>(<i>amount, isWidth=True</i>) 315 <b>resizeScene</b>(<i>amount, isWidth=True</i>)
316
244 <p> 317 <p>
245 Public method to resize the scene. 318 Public method to resize the scene.
246 </p><dl> 319 </p>
320 <dl>
321
247 <dt><i>amount</i></dt> 322 <dt><i>amount</i></dt>
248 <dd> 323 <dd>
249 size increment (integer) 324 size increment (integer)
250 </dd><dt><i>isWidth</i></dt> 325 </dd>
326 <dt><i>isWidth</i></dt>
251 <dd> 327 <dd>
252 flag indicating width is to be resized (boolean) 328 flag indicating width is to be resized (boolean)
253 </dd> 329 </dd>
254 </dl><a NAME="E5GraphicsView.saveImage" ID="E5GraphicsView.saveImage"></a> 330 </dl>
331 <a NAME="E5GraphicsView.saveImage" ID="E5GraphicsView.saveImage"></a>
255 <h4>E5GraphicsView.saveImage</h4> 332 <h4>E5GraphicsView.saveImage</h4>
256 <b>saveImage</b>(<i>filename, imageFormat="PNG"</i>) 333 <b>saveImage</b>(<i>filename, imageFormat="PNG"</i>)
334
257 <p> 335 <p>
258 Public method to save the scene to a file. 336 Public method to save the scene to a file.
259 </p><dl> 337 </p>
338 <dl>
339
260 <dt><i>filename</i></dt> 340 <dt><i>filename</i></dt>
261 <dd> 341 <dd>
262 name of the file to write the image to (string) 342 name of the file to write the image to (string)
263 </dd><dt><i>imageFormat</i></dt> 343 </dd>
344 <dt><i>imageFormat</i></dt>
264 <dd> 345 <dd>
265 format for the image file (string) 346 format for the image file (string)
266 </dd> 347 </dd>
267 </dl><dl> 348 </dl>
349 <dl>
268 <dt>Returns:</dt> 350 <dt>Returns:</dt>
269 <dd> 351 <dd>
270 flag indicating success (boolean) 352 flag indicating success (boolean)
271 </dd> 353 </dd>
272 </dl><a NAME="E5GraphicsView.setSceneSize" ID="E5GraphicsView.setSceneSize"></a> 354 </dl>
355 <a NAME="E5GraphicsView.setSceneSize" ID="E5GraphicsView.setSceneSize"></a>
273 <h4>E5GraphicsView.setSceneSize</h4> 356 <h4>E5GraphicsView.setSceneSize</h4>
274 <b>setSceneSize</b>(<i>width, height</i>) 357 <b>setSceneSize</b>(<i>width, height</i>)
358
275 <p> 359 <p>
276 Public method to set the scene size. 360 Public method to set the scene size.
277 </p><dl> 361 </p>
362 <dl>
363
278 <dt><i>width</i></dt> 364 <dt><i>width</i></dt>
279 <dd> 365 <dd>
280 width for the scene (real) 366 width for the scene (real)
281 </dd><dt><i>height</i></dt> 367 </dd>
368 <dt><i>height</i></dt>
282 <dd> 369 <dd>
283 height for the scene (real) 370 height for the scene (real)
284 </dd> 371 </dd>
285 </dl><a NAME="E5GraphicsView.setZoom" ID="E5GraphicsView.setZoom"></a> 372 </dl>
373 <a NAME="E5GraphicsView.setZoom" ID="E5GraphicsView.setZoom"></a>
286 <h4>E5GraphicsView.setZoom</h4> 374 <h4>E5GraphicsView.setZoom</h4>
287 <b>setZoom</b>(<i>value</i>) 375 <b>setZoom</b>(<i>value</i>)
376
288 <p> 377 <p>
289 Public method to set the zoom value in percent. 378 Public method to set the zoom value in percent.
290 </p><dl> 379 </p>
380 <dl>
381
291 <dt><i>value</i></dt> 382 <dt><i>value</i></dt>
292 <dd> 383 <dd>
293 zoom value in percent (integer) 384 zoom value in percent (integer)
294 </dd> 385 </dd>
295 </dl><a NAME="E5GraphicsView.zoom" ID="E5GraphicsView.zoom"></a> 386 </dl>
387 <a NAME="E5GraphicsView.zoom" ID="E5GraphicsView.zoom"></a>
296 <h4>E5GraphicsView.zoom</h4> 388 <h4>E5GraphicsView.zoom</h4>
297 <b>zoom</b>(<i></i>) 389 <b>zoom</b>(<i></i>)
390
298 <p> 391 <p>
299 Public method to get the current zoom factor in percent. 392 Public method to get the current zoom factor in percent.
300 </p><dl> 393 </p>
394 <dl>
301 <dt>Returns:</dt> 395 <dt>Returns:</dt>
302 <dd> 396 <dd>
303 current zoom factor in percent (integer) 397 current zoom factor in percent (integer)
304 </dd> 398 </dd>
305 </dl><a NAME="E5GraphicsView.zoomIn" ID="E5GraphicsView.zoomIn"></a> 399 </dl>
400 <a NAME="E5GraphicsView.zoomIn" ID="E5GraphicsView.zoomIn"></a>
306 <h4>E5GraphicsView.zoomIn</h4> 401 <h4>E5GraphicsView.zoomIn</h4>
307 <b>zoomIn</b>(<i></i>) 402 <b>zoomIn</b>(<i></i>)
403
308 <p> 404 <p>
309 Public method to zoom in. 405 Public method to zoom in.
310 </p><a NAME="E5GraphicsView.zoomOut" ID="E5GraphicsView.zoomOut"></a> 406 </p>
407 <a NAME="E5GraphicsView.zoomOut" ID="E5GraphicsView.zoomOut"></a>
311 <h4>E5GraphicsView.zoomOut</h4> 408 <h4>E5GraphicsView.zoomOut</h4>
312 <b>zoomOut</b>(<i></i>) 409 <b>zoomOut</b>(<i></i>)
410
313 <p> 411 <p>
314 Public method to zoom out. 412 Public method to zoom out.
315 </p><a NAME="E5GraphicsView.zoomReset" ID="E5GraphicsView.zoomReset"></a> 413 </p>
414 <a NAME="E5GraphicsView.zoomReset" ID="E5GraphicsView.zoomReset"></a>
316 <h4>E5GraphicsView.zoomReset</h4> 415 <h4>E5GraphicsView.zoomReset</h4>
317 <b>zoomReset</b>(<i></i>) 416 <b>zoomReset</b>(<i></i>)
417
318 <p> 418 <p>
319 Public method to handle the reset the zoom value. 419 Public method to handle the reset the zoom value.
320 </p> 420 </p>
321 <div align="right"><a href="#top">Up</a></div> 421 <div align="right"><a href="#top">Up</a></div>
322 <hr /> 422 <hr />

eric ide

mercurial