src/eric7/Documentation/Source/eric7.EricWidgets.EricMapWidget.html

branch
eric7
changeset 10479
856476537696
parent 10423
299802979277
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.EricWidgets.EricMapWidget</h1> 9 <h1>eric7.EricWidgets.EricMapWidget</h1>
10
11 <p> 10 <p>
12 Module implementing a base class for showing a document map. 11 Module implementing a base class for showing a document map.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20
21 <table> 20 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#EricMapWidget">EricMapWidget</a></td> 22 <td><a href="#EricMapWidget">EricMapWidget</a></td>
25 <td>Class implementing a base class for showing a document map.</td> 23 <td>Class implementing a base class for showing a document map.</td>
26 </tr> 24 </tr>
27 </table> 25 </table>
26
28 <h3>Functions</h3> 27 <h3>Functions</h3>
29
30 <table> 28 <table>
31 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
32 </table> 30 </table>
31
33 <hr /> 32 <hr />
34 <hr /> 33 <hr />
35 <a NAME="EricMapWidget" ID="EricMapWidget"></a> 34 <a NAME="EricMapWidget" ID="EricMapWidget"></a>
36 <h2>EricMapWidget</h2> 35 <h2>EricMapWidget</h2>
37
38 <p> 36 <p>
39 Class implementing a base class for showing a document map. 37 Class implementing a base class for showing a document map.
40 </p> 38 </p>
39
41 <h3>Derived from</h3> 40 <h3>Derived from</h3>
42 QWidget 41 QWidget
43 <h3>Class Attributes</h3> 42 <h3>Class Attributes</h3>
44
45 <table> 43 <table>
46 <tr><td>None</td></tr> 44 <tr><td>None</td></tr>
47 </table> 45 </table>
46
48 <h3>Class Methods</h3> 47 <h3>Class Methods</h3>
49
50 <table> 48 <table>
51 <tr><td>None</td></tr> 49 <tr><td>None</td></tr>
52 </table> 50 </table>
51
53 <h3>Methods</h3> 52 <h3>Methods</h3>
54
55 <table> 53 <table>
56
57 <tr> 54 <tr>
58 <td><a href="#EricMapWidget.__init__">EricMapWidget</a></td> 55 <td><a href="#EricMapWidget.__init__">EricMapWidget</a></td>
59 <td>Constructor</td> 56 <td>Constructor</td>
60 </tr> 57 </tr>
61 <tr> 58 <tr>
157 <tr> 154 <tr>
158 <td><a href="#EricMapWidget.width">width</a></td> 155 <td><a href="#EricMapWidget.width">width</a></td>
159 <td>Public method to get the widget's width.</td> 156 <td>Public method to get the widget's width.</td>
160 </tr> 157 </tr>
161 </table> 158 </table>
159
162 <h3>Static Methods</h3> 160 <h3>Static Methods</h3>
163
164 <table> 161 <table>
165 <tr><td>None</td></tr> 162 <tr><td>None</td></tr>
166 </table> 163 </table>
167 164
165
168 <a NAME="EricMapWidget.__init__" ID="EricMapWidget.__init__"></a> 166 <a NAME="EricMapWidget.__init__" ID="EricMapWidget.__init__"></a>
169 <h4>EricMapWidget (Constructor)</h4> 167 <h4>EricMapWidget (Constructor)</h4>
170 <b>EricMapWidget</b>(<i>parent=None</i>) 168 <b>EricMapWidget</b>(<i>parent=None</i>)
171
172 <p> 169 <p>
173 Constructor 170 Constructor
174 </p> 171 </p>
172
175 <dl> 173 <dl>
176 174
177 <dt><i>parent</i> (QWidget)</dt> 175 <dt><i>parent</i> (QWidget)</dt>
178 <dd> 176 <dd>
179 reference to the parent widget 177 reference to the parent widget
180 </dd> 178 </dd>
181 </dl> 179 </dl>
182 <a NAME="EricMapWidget.__generateSliderRange" ID="EricMapWidget.__generateSliderRange"></a> 180 <a NAME="EricMapWidget.__generateSliderRange" ID="EricMapWidget.__generateSliderRange"></a>
183 <h4>EricMapWidget.__generateSliderRange</h4> 181 <h4>EricMapWidget.__generateSliderRange</h4>
184 <b>__generateSliderRange</b>(<i>scrollbar</i>) 182 <b>__generateSliderRange</b>(<i>scrollbar</i>)
185
186 <p> 183 <p>
187 Private method to generate the slider rectangle. 184 Private method to generate the slider rectangle.
188 </p> 185 </p>
186
189 <dl> 187 <dl>
190 188
191 <dt><i>scrollbar</i> (QScrollBar)</dt> 189 <dt><i>scrollbar</i> (QScrollBar)</dt>
192 <dd> 190 <dd>
193 reference to the vertical scrollbar 191 reference to the vertical scrollbar
206 </dd> 204 </dd>
207 </dl> 205 </dl>
208 <a NAME="EricMapWidget.__setSliderColor" ID="EricMapWidget.__setSliderColor"></a> 206 <a NAME="EricMapWidget.__setSliderColor" ID="EricMapWidget.__setSliderColor"></a>
209 <h4>EricMapWidget.__setSliderColor</h4> 207 <h4>EricMapWidget.__setSliderColor</h4>
210 <b>__setSliderColor</b>(<i></i>) 208 <b>__setSliderColor</b>(<i></i>)
211
212 <p> 209 <p>
213 Private method to set the slider color depending upon the background 210 Private method to set the slider color depending upon the background
214 color. 211 color.
215 </p> 212 </p>
213
216 <a NAME="EricMapWidget.__updateControllerViewportWidth" ID="EricMapWidget.__updateControllerViewportWidth"></a> 214 <a NAME="EricMapWidget.__updateControllerViewportWidth" ID="EricMapWidget.__updateControllerViewportWidth"></a>
217 <h4>EricMapWidget.__updateControllerViewportWidth</h4> 215 <h4>EricMapWidget.__updateControllerViewportWidth</h4>
218 <b>__updateControllerViewportWidth</b>(<i></i>) 216 <b>__updateControllerViewportWidth</b>(<i></i>)
219
220 <p> 217 <p>
221 Private method to update the controller's viewport width. 218 Private method to update the controller's viewport width.
222 </p> 219 </p>
220
223 <a NAME="EricMapWidget._paintIt" ID="EricMapWidget._paintIt"></a> 221 <a NAME="EricMapWidget._paintIt" ID="EricMapWidget._paintIt"></a>
224 <h4>EricMapWidget._paintIt</h4> 222 <h4>EricMapWidget._paintIt</h4>
225 <b>_paintIt</b>(<i>painter</i>) 223 <b>_paintIt</b>(<i>painter</i>)
226
227 <p> 224 <p>
228 Protected method for painting the widget's indicators. 225 Protected method for painting the widget's indicators.
229 </p> 226 </p>
230 <p> 227 <p>
231 Note: This method should be implemented by subclasses. 228 Note: This method should be implemented by subclasses.
232 </p> 229 </p>
230
233 <dl> 231 <dl>
234 232
235 <dt><i>painter</i> (QPainter)</dt> 233 <dt><i>painter</i> (QPainter)</dt>
236 <dd> 234 <dd>
237 reference to the painter object 235 reference to the painter object
238 </dd> 236 </dd>
239 </dl> 237 </dl>
240 <a NAME="EricMapWidget.backgroundColor" ID="EricMapWidget.backgroundColor"></a> 238 <a NAME="EricMapWidget.backgroundColor" ID="EricMapWidget.backgroundColor"></a>
241 <h4>EricMapWidget.backgroundColor</h4> 239 <h4>EricMapWidget.backgroundColor</h4>
242 <b>backgroundColor</b>(<i></i>) 240 <b>backgroundColor</b>(<i></i>)
243
244 <p> 241 <p>
245 Public method to get the background color. 242 Public method to get the background color.
246 </p> 243 </p>
244
247 <dl> 245 <dl>
248 <dt>Return:</dt> 246 <dt>Return:</dt>
249 <dd> 247 <dd>
250 background color 248 background color
251 </dd> 249 </dd>
257 </dd> 255 </dd>
258 </dl> 256 </dl>
259 <a NAME="EricMapWidget.calculateGeometry" ID="EricMapWidget.calculateGeometry"></a> 257 <a NAME="EricMapWidget.calculateGeometry" ID="EricMapWidget.calculateGeometry"></a>
260 <h4>EricMapWidget.calculateGeometry</h4> 258 <h4>EricMapWidget.calculateGeometry</h4>
261 <b>calculateGeometry</b>(<i></i>) 259 <b>calculateGeometry</b>(<i></i>)
262
263 <p> 260 <p>
264 Public method to recalculate the map widget's geometry. 261 Public method to recalculate the map widget's geometry.
265 </p> 262 </p>
263
266 <a NAME="EricMapWidget.generateIndicatorRect" ID="EricMapWidget.generateIndicatorRect"></a> 264 <a NAME="EricMapWidget.generateIndicatorRect" ID="EricMapWidget.generateIndicatorRect"></a>
267 <h4>EricMapWidget.generateIndicatorRect</h4> 265 <h4>EricMapWidget.generateIndicatorRect</h4>
268 <b>generateIndicatorRect</b>(<i>position</i>) 266 <b>generateIndicatorRect</b>(<i>position</i>)
269
270 <p> 267 <p>
271 Public method to generate an indicator rectangle. 268 Public method to generate an indicator rectangle.
272 </p> 269 </p>
270
273 <dl> 271 <dl>
274 272
275 <dt><i>position</i> (int)</dt> 273 <dt><i>position</i> (int)</dt>
276 <dd> 274 <dd>
277 indicator position 275 indicator position
290 </dd> 288 </dd>
291 </dl> 289 </dl>
292 <a NAME="EricMapWidget.isEnabled" ID="EricMapWidget.isEnabled"></a> 290 <a NAME="EricMapWidget.isEnabled" ID="EricMapWidget.isEnabled"></a>
293 <h4>EricMapWidget.isEnabled</h4> 291 <h4>EricMapWidget.isEnabled</h4>
294 <b>isEnabled</b>(<i></i>) 292 <b>isEnabled</b>(<i></i>)
295
296 <p> 293 <p>
297 Public method to check the enabled state. 294 Public method to check the enabled state.
298 </p> 295 </p>
296
299 <dl> 297 <dl>
300 <dt>Return:</dt> 298 <dt>Return:</dt>
301 <dd> 299 <dd>
302 flag indicating the enabled state 300 flag indicating the enabled state
303 </dd> 301 </dd>
309 </dd> 307 </dd>
310 </dl> 308 </dl>
311 <a NAME="EricMapWidget.isOnRightSide" ID="EricMapWidget.isOnRightSide"></a> 309 <a NAME="EricMapWidget.isOnRightSide" ID="EricMapWidget.isOnRightSide"></a>
312 <h4>EricMapWidget.isOnRightSide</h4> 310 <h4>EricMapWidget.isOnRightSide</h4>
313 <b>isOnRightSide</b>(<i></i>) 311 <b>isOnRightSide</b>(<i></i>)
314
315 <p> 312 <p>
316 Public method to test, if the map is shown on the right side of the 313 Public method to test, if the map is shown on the right side of the
317 controller widget. 314 controller widget.
318 </p> 315 </p>
316
319 <dl> 317 <dl>
320 <dt>Return:</dt> 318 <dt>Return:</dt>
321 <dd> 319 <dd>
322 flag indicating that the map is to the right of the controller 320 flag indicating that the map is to the right of the controller
323 widget 321 widget
330 </dd> 328 </dd>
331 </dl> 329 </dl>
332 <a NAME="EricMapWidget.lineDimensions" ID="EricMapWidget.lineDimensions"></a> 330 <a NAME="EricMapWidget.lineDimensions" ID="EricMapWidget.lineDimensions"></a>
333 <h4>EricMapWidget.lineDimensions</h4> 331 <h4>EricMapWidget.lineDimensions</h4>
334 <b>lineDimensions</b>(<i></i>) 332 <b>lineDimensions</b>(<i></i>)
335
336 <p> 333 <p>
337 Public method to get the line (indicator) dimensions. 334 Public method to get the line (indicator) dimensions.
338 </p> 335 </p>
336
339 <dl> 337 <dl>
340 <dt>Return:</dt> 338 <dt>Return:</dt>
341 <dd> 339 <dd>
342 tuple with border width (integer) and line height 340 tuple with border width (integer) and line height
343 </dd> 341 </dd>
349 </dd> 347 </dd>
350 </dl> 348 </dl>
351 <a NAME="EricMapWidget.mouseMoveEvent" ID="EricMapWidget.mouseMoveEvent"></a> 349 <a NAME="EricMapWidget.mouseMoveEvent" ID="EricMapWidget.mouseMoveEvent"></a>
352 <h4>EricMapWidget.mouseMoveEvent</h4> 350 <h4>EricMapWidget.mouseMoveEvent</h4>
353 <b>mouseMoveEvent</b>(<i>event</i>) 351 <b>mouseMoveEvent</b>(<i>event</i>)
354
355 <p> 352 <p>
356 Protected method to handle a mouse moves. 353 Protected method to handle a mouse moves.
357 </p> 354 </p>
355
358 <dl> 356 <dl>
359 357
360 <dt><i>event</i> (QMouseEvent)</dt> 358 <dt><i>event</i> (QMouseEvent)</dt>
361 <dd> 359 <dd>
362 reference to the mouse event 360 reference to the mouse event
363 </dd> 361 </dd>
364 </dl> 362 </dl>
365 <a NAME="EricMapWidget.mousePressEvent" ID="EricMapWidget.mousePressEvent"></a> 363 <a NAME="EricMapWidget.mousePressEvent" ID="EricMapWidget.mousePressEvent"></a>
366 <h4>EricMapWidget.mousePressEvent</h4> 364 <h4>EricMapWidget.mousePressEvent</h4>
367 <b>mousePressEvent</b>(<i>event</i>) 365 <b>mousePressEvent</b>(<i>event</i>)
368
369 <p> 366 <p>
370 Protected method to handle a mouse button press. 367 Protected method to handle a mouse button press.
371 </p> 368 </p>
369
372 <dl> 370 <dl>
373 371
374 <dt><i>event</i> (QMouseEvent)</dt> 372 <dt><i>event</i> (QMouseEvent)</dt>
375 <dd> 373 <dd>
376 reference to the mouse event 374 reference to the mouse event
377 </dd> 375 </dd>
378 </dl> 376 </dl>
379 <a NAME="EricMapWidget.paintEvent" ID="EricMapWidget.paintEvent"></a> 377 <a NAME="EricMapWidget.paintEvent" ID="EricMapWidget.paintEvent"></a>
380 <h4>EricMapWidget.paintEvent</h4> 378 <h4>EricMapWidget.paintEvent</h4>
381 <b>paintEvent</b>(<i>event</i>) 379 <b>paintEvent</b>(<i>event</i>)
382
383 <p> 380 <p>
384 Protected method to handle a paint event. 381 Protected method to handle a paint event.
385 </p> 382 </p>
383
386 <dl> 384 <dl>
387 385
388 <dt><i>event</i> (QPaintEvent)</dt> 386 <dt><i>event</i> (QPaintEvent)</dt>
389 <dd> 387 <dd>
390 paint event 388 paint event
391 </dd> 389 </dd>
392 </dl> 390 </dl>
393 <a NAME="EricMapWidget.position2Value" ID="EricMapWidget.position2Value"></a> 391 <a NAME="EricMapWidget.position2Value" ID="EricMapWidget.position2Value"></a>
394 <h4>EricMapWidget.position2Value</h4> 392 <h4>EricMapWidget.position2Value</h4>
395 <b>position2Value</b>(<i>position, slider=False</i>) 393 <b>position2Value</b>(<i>position, slider=False</i>)
396
397 <p> 394 <p>
398 Public method to convert a position into a scrollbar value. 395 Public method to convert a position into a scrollbar value.
399 </p> 396 </p>
397
400 <dl> 398 <dl>
401 399
402 <dt><i>position</i> (int)</dt> 400 <dt><i>position</i> (int)</dt>
403 <dd> 401 <dd>
404 scrollbar position to convert 402 scrollbar position to convert
421 </dd> 419 </dd>
422 </dl> 420 </dl>
423 <a NAME="EricMapWidget.scaleFactor" ID="EricMapWidget.scaleFactor"></a> 421 <a NAME="EricMapWidget.scaleFactor" ID="EricMapWidget.scaleFactor"></a>
424 <h4>EricMapWidget.scaleFactor</h4> 422 <h4>EricMapWidget.scaleFactor</h4>
425 <b>scaleFactor</b>(<i>slider=False</i>) 423 <b>scaleFactor</b>(<i>slider=False</i>)
426
427 <p> 424 <p>
428 Public method to determine the scrollbar's scale factor. 425 Public method to determine the scrollbar's scale factor.
429 </p> 426 </p>
427
430 <dl> 428 <dl>
431 429
432 <dt><i>slider</i> (bool)</dt> 430 <dt><i>slider</i> (bool)</dt>
433 <dd> 431 <dd>
434 flag indicating to calculate the result for the slider 432 flag indicating to calculate the result for the slider
447 </dd> 445 </dd>
448 </dl> 446 </dl>
449 <a NAME="EricMapWidget.setBackgroundColor" ID="EricMapWidget.setBackgroundColor"></a> 447 <a NAME="EricMapWidget.setBackgroundColor" ID="EricMapWidget.setBackgroundColor"></a>
450 <h4>EricMapWidget.setBackgroundColor</h4> 448 <h4>EricMapWidget.setBackgroundColor</h4>
451 <b>setBackgroundColor</b>(<i>color</i>) 449 <b>setBackgroundColor</b>(<i>color</i>)
452
453 <p> 450 <p>
454 Public method to set the widget background color. 451 Public method to set the widget background color.
455 </p> 452 </p>
453
456 <dl> 454 <dl>
457 455
458 <dt><i>color</i> (QColor)</dt> 456 <dt><i>color</i> (QColor)</dt>
459 <dd> 457 <dd>
460 color for the background 458 color for the background
461 </dd> 459 </dd>
462 </dl> 460 </dl>
463 <a NAME="EricMapWidget.setController" ID="EricMapWidget.setController"></a> 461 <a NAME="EricMapWidget.setController" ID="EricMapWidget.setController"></a>
464 <h4>EricMapWidget.setController</h4> 462 <h4>EricMapWidget.setController</h4>
465 <b>setController</b>(<i>controller</i>) 463 <b>setController</b>(<i>controller</i>)
466
467 <p> 464 <p>
468 Public method to set the map controller widget. 465 Public method to set the map controller widget.
469 </p> 466 </p>
467
470 <dl> 468 <dl>
471 469
472 <dt><i>controller</i> (QAbstractScrollArea)</dt> 470 <dt><i>controller</i> (QAbstractScrollArea)</dt>
473 <dd> 471 <dd>
474 map controller widget 472 map controller widget
475 </dd> 473 </dd>
476 </dl> 474 </dl>
477 <a NAME="EricMapWidget.setEnabled" ID="EricMapWidget.setEnabled"></a> 475 <a NAME="EricMapWidget.setEnabled" ID="EricMapWidget.setEnabled"></a>
478 <h4>EricMapWidget.setEnabled</h4> 476 <h4>EricMapWidget.setEnabled</h4>
479 <b>setEnabled</b>(<i>enable</i>) 477 <b>setEnabled</b>(<i>enable</i>)
480
481 <p> 478 <p>
482 Public method to set the enabled state. 479 Public method to set the enabled state.
483 </p> 480 </p>
481
484 <dl> 482 <dl>
485 483
486 <dt><i>enable</i> (bool)</dt> 484 <dt><i>enable</i> (bool)</dt>
487 <dd> 485 <dd>
488 flag indicating the enabled state 486 flag indicating the enabled state
489 </dd> 487 </dd>
490 </dl> 488 </dl>
491 <a NAME="EricMapWidget.setLineDimensions" ID="EricMapWidget.setLineDimensions"></a> 489 <a NAME="EricMapWidget.setLineDimensions" ID="EricMapWidget.setLineDimensions"></a>
492 <h4>EricMapWidget.setLineDimensions</h4> 490 <h4>EricMapWidget.setLineDimensions</h4>
493 <b>setLineDimensions</b>(<i>border, height</i>) 491 <b>setLineDimensions</b>(<i>border, height</i>)
494
495 <p> 492 <p>
496 Public method to set the line (indicator) dimensions. 493 Public method to set the line (indicator) dimensions.
497 </p> 494 </p>
495
498 <dl> 496 <dl>
499 497
500 <dt><i>border</i> (int)</dt> 498 <dt><i>border</i> (int)</dt>
501 <dd> 499 <dd>
502 border width on each side in x-direction 500 border width on each side in x-direction
507 </dd> 505 </dd>
508 </dl> 506 </dl>
509 <a NAME="EricMapWidget.setMapPosition" ID="EricMapWidget.setMapPosition"></a> 507 <a NAME="EricMapWidget.setMapPosition" ID="EricMapWidget.setMapPosition"></a>
510 <h4>EricMapWidget.setMapPosition</h4> 508 <h4>EricMapWidget.setMapPosition</h4>
511 <b>setMapPosition</b>(<i>onRight</i>) 509 <b>setMapPosition</b>(<i>onRight</i>)
512
513 <p> 510 <p>
514 Public method to set, whether the map should be shown to the right or 511 Public method to set, whether the map should be shown to the right or
515 left of the controller widget. 512 left of the controller widget.
516 </p> 513 </p>
514
517 <dl> 515 <dl>
518 516
519 <dt><i>onRight</i> (bool)</dt> 517 <dt><i>onRight</i> (bool)</dt>
520 <dd> 518 <dd>
521 flag indicating to show the map on the right side of 519 flag indicating to show the map on the right side of
523 </dd> 521 </dd>
524 </dl> 522 </dl>
525 <a NAME="EricMapWidget.setWidth" ID="EricMapWidget.setWidth"></a> 523 <a NAME="EricMapWidget.setWidth" ID="EricMapWidget.setWidth"></a>
526 <h4>EricMapWidget.setWidth</h4> 524 <h4>EricMapWidget.setWidth</h4>
527 <b>setWidth</b>(<i>width</i>) 525 <b>setWidth</b>(<i>width</i>)
528
529 <p> 526 <p>
530 Public method to set the widget width. 527 Public method to set the widget width.
531 </p> 528 </p>
529
532 <dl> 530 <dl>
533 531
534 <dt><i>width</i> (int)</dt> 532 <dt><i>width</i> (int)</dt>
535 <dd> 533 <dd>
536 widget width 534 widget width
537 </dd> 535 </dd>
538 </dl> 536 </dl>
539 <a NAME="EricMapWidget.sizeHint" ID="EricMapWidget.sizeHint"></a> 537 <a NAME="EricMapWidget.sizeHint" ID="EricMapWidget.sizeHint"></a>
540 <h4>EricMapWidget.sizeHint</h4> 538 <h4>EricMapWidget.sizeHint</h4>
541 <b>sizeHint</b>(<i></i>) 539 <b>sizeHint</b>(<i></i>)
542
543 <p> 540 <p>
544 Public method to give an indication about the preferred size. 541 Public method to give an indication about the preferred size.
545 </p> 542 </p>
543
546 <dl> 544 <dl>
547 <dt>Return:</dt> 545 <dt>Return:</dt>
548 <dd> 546 <dd>
549 preferred size 547 preferred size
550 </dd> 548 </dd>
556 </dd> 554 </dd>
557 </dl> 555 </dl>
558 <a NAME="EricMapWidget.value2Position" ID="EricMapWidget.value2Position"></a> 556 <a NAME="EricMapWidget.value2Position" ID="EricMapWidget.value2Position"></a>
559 <h4>EricMapWidget.value2Position</h4> 557 <h4>EricMapWidget.value2Position</h4>
560 <b>value2Position</b>(<i>value, slider=False</i>) 558 <b>value2Position</b>(<i>value, slider=False</i>)
561
562 <p> 559 <p>
563 Public method to convert a scrollbar value into a position. 560 Public method to convert a scrollbar value into a position.
564 </p> 561 </p>
562
565 <dl> 563 <dl>
566 564
567 <dt><i>value</i> (int)</dt> 565 <dt><i>value</i> (int)</dt>
568 <dd> 566 <dd>
569 value to convert 567 value to convert
586 </dd> 584 </dd>
587 </dl> 585 </dl>
588 <a NAME="EricMapWidget.wheelEvent" ID="EricMapWidget.wheelEvent"></a> 586 <a NAME="EricMapWidget.wheelEvent" ID="EricMapWidget.wheelEvent"></a>
589 <h4>EricMapWidget.wheelEvent</h4> 587 <h4>EricMapWidget.wheelEvent</h4>
590 <b>wheelEvent</b>(<i>event</i>) 588 <b>wheelEvent</b>(<i>event</i>)
591
592 <p> 589 <p>
593 Protected slot handling mouse wheel events. 590 Protected slot handling mouse wheel events.
594 </p> 591 </p>
592
595 <dl> 593 <dl>
596 594
597 <dt><i>event</i> (QWheelEvent)</dt> 595 <dt><i>event</i> (QWheelEvent)</dt>
598 <dd> 596 <dd>
599 reference to the wheel event 597 reference to the wheel event
600 </dd> 598 </dd>
601 </dl> 599 </dl>
602 <a NAME="EricMapWidget.width" ID="EricMapWidget.width"></a> 600 <a NAME="EricMapWidget.width" ID="EricMapWidget.width"></a>
603 <h4>EricMapWidget.width</h4> 601 <h4>EricMapWidget.width</h4>
604 <b>width</b>(<i></i>) 602 <b>width</b>(<i></i>)
605
606 <p> 603 <p>
607 Public method to get the widget's width. 604 Public method to get the widget's width.
608 </p> 605 </p>
606
609 <dl> 607 <dl>
610 <dt>Return:</dt> 608 <dt>Return:</dt>
611 <dd> 609 <dd>
612 widget width 610 widget width
613 </dd> 611 </dd>

eric ide

mercurial