src/eric7/Documentation/Source/eric7.IconEditor.IconEditorWindow.html

branch
eric7
changeset 10479
856476537696
parent 10428
a071d4065202
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.IconEditor.IconEditorWindow</h1> 9 <h1>eric7.IconEditor.IconEditorWindow</h1>
10
11 <p> 10 <p>
12 Module implementing the icon editor main window. 11 Module implementing the icon editor main window.
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="#IconEditorWindow">IconEditorWindow</a></td> 22 <td><a href="#IconEditorWindow">IconEditorWindow</a></td>
25 <td>Class implementing the web browser main window.</td> 23 <td>Class implementing the web browser main window.</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="IconEditorWindow" ID="IconEditorWindow"></a> 34 <a NAME="IconEditorWindow" ID="IconEditorWindow"></a>
36 <h2>IconEditorWindow</h2> 35 <h2>IconEditorWindow</h2>
37
38 <p> 36 <p>
39 Class implementing the web browser main window. 37 Class implementing the web browser main window.
40 </p> 38 </p>
39
41 <h3>Signals</h3> 40 <h3>Signals</h3>
42 <dl> 41 <dl>
43 42
44 <dt>editorClosed()</dt> 43 <dt>editorClosed()</dt>
45 <dd> 44 <dd>
47 </dd> 46 </dd>
48 </dl> 47 </dl>
49 <h3>Derived from</h3> 48 <h3>Derived from</h3>
50 EricMainWindow 49 EricMainWindow
51 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
52
53 <table> 51 <table>
54 <tr><td>windows</td></tr> 52 <tr><td>windows</td></tr>
55 </table> 53 </table>
54
56 <h3>Class Methods</h3> 55 <h3>Class Methods</h3>
57
58 <table> 56 <table>
59 <tr><td>None</td></tr> 57 <tr><td>None</td></tr>
60 </table> 58 </table>
59
61 <h3>Methods</h3> 60 <h3>Methods</h3>
62
63 <table> 61 <table>
64
65 <tr> 62 <tr>
66 <td><a href="#IconEditorWindow.__init__">IconEditorWindow</a></td> 63 <td><a href="#IconEditorWindow.__init__">IconEditorWindow</a></td>
67 <td>Constructor</td> 64 <td>Constructor</td>
68 </tr> 65 </tr>
69 <tr> 66 <tr>
221 <tr> 218 <tr>
222 <td><a href="#IconEditorWindow.wheelEvent">wheelEvent</a></td> 219 <td><a href="#IconEditorWindow.wheelEvent">wheelEvent</a></td>
223 <td>Protected method to handle wheel events.</td> 220 <td>Protected method to handle wheel events.</td>
224 </tr> 221 </tr>
225 </table> 222 </table>
223
226 <h3>Static Methods</h3> 224 <h3>Static Methods</h3>
227
228 <table> 225 <table>
229 <tr><td>None</td></tr> 226 <tr><td>None</td></tr>
230 </table> 227 </table>
231 228
229
232 <a NAME="IconEditorWindow.__init__" ID="IconEditorWindow.__init__"></a> 230 <a NAME="IconEditorWindow.__init__" ID="IconEditorWindow.__init__"></a>
233 <h4>IconEditorWindow (Constructor)</h4> 231 <h4>IconEditorWindow (Constructor)</h4>
234 <b>IconEditorWindow</b>(<i>fileName="", parent=None, fromEric=False, initShortcutsOnly=False, project=None, </i>) 232 <b>IconEditorWindow</b>(<i>fileName="", parent=None, fromEric=False, initShortcutsOnly=False, project=None, </i>)
235
236 <p> 233 <p>
237 Constructor 234 Constructor
238 </p> 235 </p>
236
239 <dl> 237 <dl>
240 238
241 <dt><i>fileName</i> (str)</dt> 239 <dt><i>fileName</i> (str)</dt>
242 <dd> 240 <dd>
243 name of a file to load on startup 241 name of a file to load on startup
262 </dd> 260 </dd>
263 </dl> 261 </dl>
264 <a NAME="IconEditorWindow.__about" ID="IconEditorWindow.__about"></a> 262 <a NAME="IconEditorWindow.__about" ID="IconEditorWindow.__about"></a>
265 <h4>IconEditorWindow.__about</h4> 263 <h4>IconEditorWindow.__about</h4>
266 <b>__about</b>(<i></i>) 264 <b>__about</b>(<i></i>)
267
268 <p> 265 <p>
269 Private slot to show a little About message. 266 Private slot to show a little About message.
270 </p> 267 </p>
268
271 <a NAME="IconEditorWindow.__aboutQt" ID="IconEditorWindow.__aboutQt"></a> 269 <a NAME="IconEditorWindow.__aboutQt" ID="IconEditorWindow.__aboutQt"></a>
272 <h4>IconEditorWindow.__aboutQt</h4> 270 <h4>IconEditorWindow.__aboutQt</h4>
273 <b>__aboutQt</b>(<i></i>) 271 <b>__aboutQt</b>(<i></i>)
274
275 <p> 272 <p>
276 Private slot to handle the About Qt dialog. 273 Private slot to handle the About Qt dialog.
277 </p> 274 </p>
275
278 <a NAME="IconEditorWindow.__checkActions" ID="IconEditorWindow.__checkActions"></a> 276 <a NAME="IconEditorWindow.__checkActions" ID="IconEditorWindow.__checkActions"></a>
279 <h4>IconEditorWindow.__checkActions</h4> 277 <h4>IconEditorWindow.__checkActions</h4>
280 <b>__checkActions</b>(<i></i>) 278 <b>__checkActions</b>(<i></i>)
281
282 <p> 279 <p>
283 Private slot to check some actions for their enable/disable status. 280 Private slot to check some actions for their enable/disable status.
284 </p> 281 </p>
282
285 <a NAME="IconEditorWindow.__closeAll" ID="IconEditorWindow.__closeAll"></a> 283 <a NAME="IconEditorWindow.__closeAll" ID="IconEditorWindow.__closeAll"></a>
286 <h4>IconEditorWindow.__closeAll</h4> 284 <h4>IconEditorWindow.__closeAll</h4>
287 <b>__closeAll</b>(<i></i>) 285 <b>__closeAll</b>(<i></i>)
288
289 <p> 286 <p>
290 Private slot to close all windows. 287 Private slot to close all windows.
291 </p> 288 </p>
289
292 <a NAME="IconEditorWindow.__closeOthers" ID="IconEditorWindow.__closeOthers"></a> 290 <a NAME="IconEditorWindow.__closeOthers" ID="IconEditorWindow.__closeOthers"></a>
293 <h4>IconEditorWindow.__closeOthers</h4> 291 <h4>IconEditorWindow.__closeOthers</h4>
294 <b>__closeOthers</b>(<i></i>) 292 <b>__closeOthers</b>(<i></i>)
295
296 <p> 293 <p>
297 Private slot to close all other windows. 294 Private slot to close all other windows.
298 </p> 295 </p>
296
299 <a NAME="IconEditorWindow.__createPaletteDock" ID="IconEditorWindow.__createPaletteDock"></a> 297 <a NAME="IconEditorWindow.__createPaletteDock" ID="IconEditorWindow.__createPaletteDock"></a>
300 <h4>IconEditorWindow.__createPaletteDock</h4> 298 <h4>IconEditorWindow.__createPaletteDock</h4>
301 <b>__createPaletteDock</b>(<i></i>) 299 <b>__createPaletteDock</b>(<i></i>)
302
303 <p> 300 <p>
304 Private method to initialize the palette dock widget. 301 Private method to initialize the palette dock widget.
305 </p> 302 </p>
303
306 <a NAME="IconEditorWindow.__createStatusBar" ID="IconEditorWindow.__createStatusBar"></a> 304 <a NAME="IconEditorWindow.__createStatusBar" ID="IconEditorWindow.__createStatusBar"></a>
307 <h4>IconEditorWindow.__createStatusBar</h4> 305 <h4>IconEditorWindow.__createStatusBar</h4>
308 <b>__createStatusBar</b>(<i></i>) 306 <b>__createStatusBar</b>(<i></i>)
309
310 <p> 307 <p>
311 Private method to initialize the status bar. 308 Private method to initialize the status bar.
312 </p> 309 </p>
310
313 <a NAME="IconEditorWindow.__initActions" ID="IconEditorWindow.__initActions"></a> 311 <a NAME="IconEditorWindow.__initActions" ID="IconEditorWindow.__initActions"></a>
314 <h4>IconEditorWindow.__initActions</h4> 312 <h4>IconEditorWindow.__initActions</h4>
315 <b>__initActions</b>(<i></i>) 313 <b>__initActions</b>(<i></i>)
316
317 <p> 314 <p>
318 Private method to define the user interface actions. 315 Private method to define the user interface actions.
319 </p> 316 </p>
317
320 <a NAME="IconEditorWindow.__initEditActions" ID="IconEditorWindow.__initEditActions"></a> 318 <a NAME="IconEditorWindow.__initEditActions" ID="IconEditorWindow.__initEditActions"></a>
321 <h4>IconEditorWindow.__initEditActions</h4> 319 <h4>IconEditorWindow.__initEditActions</h4>
322 <b>__initEditActions</b>(<i></i>) 320 <b>__initEditActions</b>(<i></i>)
323
324 <p> 321 <p>
325 Private method to create the Edit actions. 322 Private method to create the Edit actions.
326 </p> 323 </p>
324
327 <a NAME="IconEditorWindow.__initFileActions" ID="IconEditorWindow.__initFileActions"></a> 325 <a NAME="IconEditorWindow.__initFileActions" ID="IconEditorWindow.__initFileActions"></a>
328 <h4>IconEditorWindow.__initFileActions</h4> 326 <h4>IconEditorWindow.__initFileActions</h4>
329 <b>__initFileActions</b>(<i></i>) 327 <b>__initFileActions</b>(<i></i>)
330
331 <p> 328 <p>
332 Private method to define the file related user interface actions. 329 Private method to define the file related user interface actions.
333 </p> 330 </p>
331
334 <a NAME="IconEditorWindow.__initFileFilters" ID="IconEditorWindow.__initFileFilters"></a> 332 <a NAME="IconEditorWindow.__initFileFilters" ID="IconEditorWindow.__initFileFilters"></a>
335 <h4>IconEditorWindow.__initFileFilters</h4> 333 <h4>IconEditorWindow.__initFileFilters</h4>
336 <b>__initFileFilters</b>(<i></i>) 334 <b>__initFileFilters</b>(<i></i>)
337
338 <p> 335 <p>
339 Private method to define the supported image file filters. 336 Private method to define the supported image file filters.
340 </p> 337 </p>
338
341 <a NAME="IconEditorWindow.__initHelpActions" ID="IconEditorWindow.__initHelpActions"></a> 339 <a NAME="IconEditorWindow.__initHelpActions" ID="IconEditorWindow.__initHelpActions"></a>
342 <h4>IconEditorWindow.__initHelpActions</h4> 340 <h4>IconEditorWindow.__initHelpActions</h4>
343 <b>__initHelpActions</b>(<i></i>) 341 <b>__initHelpActions</b>(<i></i>)
344
345 <p> 342 <p>
346 Private method to create the Help actions. 343 Private method to create the Help actions.
347 </p> 344 </p>
345
348 <a NAME="IconEditorWindow.__initMenus" ID="IconEditorWindow.__initMenus"></a> 346 <a NAME="IconEditorWindow.__initMenus" ID="IconEditorWindow.__initMenus"></a>
349 <h4>IconEditorWindow.__initMenus</h4> 347 <h4>IconEditorWindow.__initMenus</h4>
350 <b>__initMenus</b>(<i></i>) 348 <b>__initMenus</b>(<i></i>)
351
352 <p> 349 <p>
353 Private method to create the menus. 350 Private method to create the menus.
354 </p> 351 </p>
352
355 <a NAME="IconEditorWindow.__initToolbars" ID="IconEditorWindow.__initToolbars"></a> 353 <a NAME="IconEditorWindow.__initToolbars" ID="IconEditorWindow.__initToolbars"></a>
356 <h4>IconEditorWindow.__initToolbars</h4> 354 <h4>IconEditorWindow.__initToolbars</h4>
357 <b>__initToolbars</b>(<i></i>) 355 <b>__initToolbars</b>(<i></i>)
358
359 <p> 356 <p>
360 Private method to create the toolbars. 357 Private method to create the toolbars.
361 </p> 358 </p>
359
362 <a NAME="IconEditorWindow.__initToolsActions" ID="IconEditorWindow.__initToolsActions"></a> 360 <a NAME="IconEditorWindow.__initToolsActions" ID="IconEditorWindow.__initToolsActions"></a>
363 <h4>IconEditorWindow.__initToolsActions</h4> 361 <h4>IconEditorWindow.__initToolsActions</h4>
364 <b>__initToolsActions</b>(<i></i>) 362 <b>__initToolsActions</b>(<i></i>)
365
366 <p> 363 <p>
367 Private method to create the View actions. 364 Private method to create the View actions.
368 </p> 365 </p>
366
369 <a NAME="IconEditorWindow.__initViewActions" ID="IconEditorWindow.__initViewActions"></a> 367 <a NAME="IconEditorWindow.__initViewActions" ID="IconEditorWindow.__initViewActions"></a>
370 <h4>IconEditorWindow.__initViewActions</h4> 368 <h4>IconEditorWindow.__initViewActions</h4>
371 <b>__initViewActions</b>(<i></i>) 369 <b>__initViewActions</b>(<i></i>)
372
373 <p> 370 <p>
374 Private method to create the View actions. 371 Private method to create the View actions.
375 </p> 372 </p>
373
376 <a NAME="IconEditorWindow.__loadIconFile" ID="IconEditorWindow.__loadIconFile"></a> 374 <a NAME="IconEditorWindow.__loadIconFile" ID="IconEditorWindow.__loadIconFile"></a>
377 <h4>IconEditorWindow.__loadIconFile</h4> 375 <h4>IconEditorWindow.__loadIconFile</h4>
378 <b>__loadIconFile</b>(<i>fileName</i>) 376 <b>__loadIconFile</b>(<i>fileName</i>)
379
380 <p> 377 <p>
381 Private method to load an icon file. 378 Private method to load an icon file.
382 </p> 379 </p>
380
383 <dl> 381 <dl>
384 382
385 <dt><i>fileName</i> (str)</dt> 383 <dt><i>fileName</i> (str)</dt>
386 <dd> 384 <dd>
387 name of the icon file to load 385 name of the icon file to load
388 </dd> 386 </dd>
389 </dl> 387 </dl>
390 <a NAME="IconEditorWindow.__maybeSave" ID="IconEditorWindow.__maybeSave"></a> 388 <a NAME="IconEditorWindow.__maybeSave" ID="IconEditorWindow.__maybeSave"></a>
391 <h4>IconEditorWindow.__maybeSave</h4> 389 <h4>IconEditorWindow.__maybeSave</h4>
392 <b>__maybeSave</b>(<i></i>) 390 <b>__maybeSave</b>(<i></i>)
393
394 <p> 391 <p>
395 Private method to ask the user to save the file, if it was modified. 392 Private method to ask the user to save the file, if it was modified.
396 </p> 393 </p>
394
397 <dl> 395 <dl>
398 <dt>Return:</dt> 396 <dt>Return:</dt>
399 <dd> 397 <dd>
400 flag indicating, if it is ok to continue 398 flag indicating, if it is ok to continue
401 </dd> 399 </dd>
407 </dd> 405 </dd>
408 </dl> 406 </dl>
409 <a NAME="IconEditorWindow.__modificationChanged" ID="IconEditorWindow.__modificationChanged"></a> 407 <a NAME="IconEditorWindow.__modificationChanged" ID="IconEditorWindow.__modificationChanged"></a>
410 <h4>IconEditorWindow.__modificationChanged</h4> 408 <h4>IconEditorWindow.__modificationChanged</h4>
411 <b>__modificationChanged</b>(<i>m</i>) 409 <b>__modificationChanged</b>(<i>m</i>)
412
413 <p> 410 <p>
414 Private slot to handle the modificationChanged signal. 411 Private slot to handle the modificationChanged signal.
415 </p> 412 </p>
413
416 <dl> 414 <dl>
417 415
418 <dt><i>m</i> (bool)</dt> 416 <dt><i>m</i> (bool)</dt>
419 <dd> 417 <dd>
420 modification status 418 modification status
421 </dd> 419 </dd>
422 </dl> 420 </dl>
423 <a NAME="IconEditorWindow.__newIcon" ID="IconEditorWindow.__newIcon"></a> 421 <a NAME="IconEditorWindow.__newIcon" ID="IconEditorWindow.__newIcon"></a>
424 <h4>IconEditorWindow.__newIcon</h4> 422 <h4>IconEditorWindow.__newIcon</h4>
425 <b>__newIcon</b>(<i></i>) 423 <b>__newIcon</b>(<i></i>)
426
427 <p> 424 <p>
428 Private slot to create a new icon. 425 Private slot to create a new icon.
429 </p> 426 </p>
427
430 <a NAME="IconEditorWindow.__newWindow" ID="IconEditorWindow.__newWindow"></a> 428 <a NAME="IconEditorWindow.__newWindow" ID="IconEditorWindow.__newWindow"></a>
431 <h4>IconEditorWindow.__newWindow</h4> 429 <h4>IconEditorWindow.__newWindow</h4>
432 <b>__newWindow</b>(<i></i>) 430 <b>__newWindow</b>(<i></i>)
433
434 <p> 431 <p>
435 Private slot called to open a new icon editor window. 432 Private slot called to open a new icon editor window.
436 </p> 433 </p>
434
437 <a NAME="IconEditorWindow.__openIcon" ID="IconEditorWindow.__openIcon"></a> 435 <a NAME="IconEditorWindow.__openIcon" ID="IconEditorWindow.__openIcon"></a>
438 <h4>IconEditorWindow.__openIcon</h4> 436 <h4>IconEditorWindow.__openIcon</h4>
439 <b>__openIcon</b>(<i></i>) 437 <b>__openIcon</b>(<i></i>)
440
441 <p> 438 <p>
442 Private slot to open an icon file. 439 Private slot to open an icon file.
443 </p> 440 </p>
441
444 <a NAME="IconEditorWindow.__saveIcon" ID="IconEditorWindow.__saveIcon"></a> 442 <a NAME="IconEditorWindow.__saveIcon" ID="IconEditorWindow.__saveIcon"></a>
445 <h4>IconEditorWindow.__saveIcon</h4> 443 <h4>IconEditorWindow.__saveIcon</h4>
446 <b>__saveIcon</b>(<i></i>) 444 <b>__saveIcon</b>(<i></i>)
447
448 <p> 445 <p>
449 Private slot to save the icon. 446 Private slot to save the icon.
450 </p> 447 </p>
448
451 <dl> 449 <dl>
452 <dt>Return:</dt> 450 <dt>Return:</dt>
453 <dd> 451 <dd>
454 flag indicating success 452 flag indicating success
455 </dd> 453 </dd>
461 </dd> 459 </dd>
462 </dl> 460 </dl>
463 <a NAME="IconEditorWindow.__saveIconAs" ID="IconEditorWindow.__saveIconAs"></a> 461 <a NAME="IconEditorWindow.__saveIconAs" ID="IconEditorWindow.__saveIconAs"></a>
464 <h4>IconEditorWindow.__saveIconAs</h4> 462 <h4>IconEditorWindow.__saveIconAs</h4>
465 <b>__saveIconAs</b>(<i></i>) 463 <b>__saveIconAs</b>(<i></i>)
466
467 <p> 464 <p>
468 Private slot to save the icon with a new name. 465 Private slot to save the icon with a new name.
469 </p> 466 </p>
467
470 <dl> 468 <dl>
471 <dt>Return:</dt> 469 <dt>Return:</dt>
472 <dd> 470 <dd>
473 flag indicating success 471 flag indicating success
474 </dd> 472 </dd>
480 </dd> 478 </dd>
481 </dl> 479 </dl>
482 <a NAME="IconEditorWindow.__saveIconFile" ID="IconEditorWindow.__saveIconFile"></a> 480 <a NAME="IconEditorWindow.__saveIconFile" ID="IconEditorWindow.__saveIconFile"></a>
483 <h4>IconEditorWindow.__saveIconFile</h4> 481 <h4>IconEditorWindow.__saveIconFile</h4>
484 <b>__saveIconFile</b>(<i>fileName</i>) 482 <b>__saveIconFile</b>(<i>fileName</i>)
485
486 <p> 483 <p>
487 Private method to save to the given file. 484 Private method to save to the given file.
488 </p> 485 </p>
486
489 <dl> 487 <dl>
490 488
491 <dt><i>fileName</i> (str)</dt> 489 <dt><i>fileName</i> (str)</dt>
492 <dd> 490 <dd>
493 name of the file to save to 491 name of the file to save to
506 </dd> 504 </dd>
507 </dl> 505 </dl>
508 <a NAME="IconEditorWindow.__setCurrentFile" ID="IconEditorWindow.__setCurrentFile"></a> 506 <a NAME="IconEditorWindow.__setCurrentFile" ID="IconEditorWindow.__setCurrentFile"></a>
509 <h4>IconEditorWindow.__setCurrentFile</h4> 507 <h4>IconEditorWindow.__setCurrentFile</h4>
510 <b>__setCurrentFile</b>(<i>fileName</i>) 508 <b>__setCurrentFile</b>(<i>fileName</i>)
511
512 <p> 509 <p>
513 Private method to register the file name of the current file. 510 Private method to register the file name of the current file.
514 </p> 511 </p>
512
515 <dl> 513 <dl>
516 514
517 <dt><i>fileName</i> (str)</dt> 515 <dt><i>fileName</i> (str)</dt>
518 <dd> 516 <dd>
519 name of the file to register 517 name of the file to register
520 </dd> 518 </dd>
521 </dl> 519 </dl>
522 <a NAME="IconEditorWindow.__strippedName" ID="IconEditorWindow.__strippedName"></a> 520 <a NAME="IconEditorWindow.__strippedName" ID="IconEditorWindow.__strippedName"></a>
523 <h4>IconEditorWindow.__strippedName</h4> 521 <h4>IconEditorWindow.__strippedName</h4>
524 <b>__strippedName</b>(<i>fullFileName</i>) 522 <b>__strippedName</b>(<i>fullFileName</i>)
525
526 <p> 523 <p>
527 Private method to return the filename part of the given path. 524 Private method to return the filename part of the given path.
528 </p> 525 </p>
526
529 <dl> 527 <dl>
530 528
531 <dt><i>fullFileName</i> (str)</dt> 529 <dt><i>fullFileName</i> (str)</dt>
532 <dd> 530 <dd>
533 full pathname of the given file 531 full pathname of the given file
546 </dd> 544 </dd>
547 </dl> 545 </dl>
548 <a NAME="IconEditorWindow.__updatePosition" ID="IconEditorWindow.__updatePosition"></a> 546 <a NAME="IconEditorWindow.__updatePosition" ID="IconEditorWindow.__updatePosition"></a>
549 <h4>IconEditorWindow.__updatePosition</h4> 547 <h4>IconEditorWindow.__updatePosition</h4>
550 <b>__updatePosition</b>(<i>x, y</i>) 548 <b>__updatePosition</b>(<i>x, y</i>)
551
552 <p> 549 <p>
553 Private slot to show the current cursor position. 550 Private slot to show the current cursor position.
554 </p> 551 </p>
552
555 <dl> 553 <dl>
556 554
557 <dt><i>x</i> (int)</dt> 555 <dt><i>x</i> (int)</dt>
558 <dd> 556 <dd>
559 x-coordinate 557 x-coordinate
564 </dd> 562 </dd>
565 </dl> 563 </dl>
566 <a NAME="IconEditorWindow.__updateSize" ID="IconEditorWindow.__updateSize"></a> 564 <a NAME="IconEditorWindow.__updateSize" ID="IconEditorWindow.__updateSize"></a>
567 <h4>IconEditorWindow.__updateSize</h4> 565 <h4>IconEditorWindow.__updateSize</h4>
568 <b>__updateSize</b>(<i>w, h</i>) 566 <b>__updateSize</b>(<i>w, h</i>)
569
570 <p> 567 <p>
571 Private slot to show the current icon size. 568 Private slot to show the current icon size.
572 </p> 569 </p>
570
573 <dl> 571 <dl>
574 572
575 <dt><i>w</i> (int)</dt> 573 <dt><i>w</i> (int)</dt>
576 <dd> 574 <dd>
577 width of the icon 575 width of the icon
582 </dd> 580 </dd>
583 </dl> 581 </dl>
584 <a NAME="IconEditorWindow.__updateZoom" ID="IconEditorWindow.__updateZoom"></a> 582 <a NAME="IconEditorWindow.__updateZoom" ID="IconEditorWindow.__updateZoom"></a>
585 <h4>IconEditorWindow.__updateZoom</h4> 583 <h4>IconEditorWindow.__updateZoom</h4>
586 <b>__updateZoom</b>(<i></i>) 584 <b>__updateZoom</b>(<i></i>)
587
588 <p> 585 <p>
589 Private slot to show the current zoom factor. 586 Private slot to show the current zoom factor.
590 </p> 587 </p>
588
591 <a NAME="IconEditorWindow.__whatsThis" ID="IconEditorWindow.__whatsThis"></a> 589 <a NAME="IconEditorWindow.__whatsThis" ID="IconEditorWindow.__whatsThis"></a>
592 <h4>IconEditorWindow.__whatsThis</h4> 590 <h4>IconEditorWindow.__whatsThis</h4>
593 <b>__whatsThis</b>(<i></i>) 591 <b>__whatsThis</b>(<i></i>)
594
595 <p> 592 <p>
596 Private slot called in to enter Whats This mode. 593 Private slot called in to enter Whats This mode.
597 </p> 594 </p>
595
598 <a NAME="IconEditorWindow.__zoomIn" ID="IconEditorWindow.__zoomIn"></a> 596 <a NAME="IconEditorWindow.__zoomIn" ID="IconEditorWindow.__zoomIn"></a>
599 <h4>IconEditorWindow.__zoomIn</h4> 597 <h4>IconEditorWindow.__zoomIn</h4>
600 <b>__zoomIn</b>(<i></i>) 598 <b>__zoomIn</b>(<i></i>)
601
602 <p> 599 <p>
603 Private slot called to handle the zoom in action. 600 Private slot called to handle the zoom in action.
604 </p> 601 </p>
602
605 <a NAME="IconEditorWindow.__zoomOut" ID="IconEditorWindow.__zoomOut"></a> 603 <a NAME="IconEditorWindow.__zoomOut" ID="IconEditorWindow.__zoomOut"></a>
606 <h4>IconEditorWindow.__zoomOut</h4> 604 <h4>IconEditorWindow.__zoomOut</h4>
607 <b>__zoomOut</b>(<i></i>) 605 <b>__zoomOut</b>(<i></i>)
608
609 <p> 606 <p>
610 Private slot called to handle the zoom out action. 607 Private slot called to handle the zoom out action.
611 </p> 608 </p>
609
612 <a NAME="IconEditorWindow.__zoomReset" ID="IconEditorWindow.__zoomReset"></a> 610 <a NAME="IconEditorWindow.__zoomReset" ID="IconEditorWindow.__zoomReset"></a>
613 <h4>IconEditorWindow.__zoomReset</h4> 611 <h4>IconEditorWindow.__zoomReset</h4>
614 <b>__zoomReset</b>(<i></i>) 612 <b>__zoomReset</b>(<i></i>)
615
616 <p> 613 <p>
617 Private slot called to handle the zoom reset action. 614 Private slot called to handle the zoom reset action.
618 </p> 615 </p>
616
619 <a NAME="IconEditorWindow.closeEvent" ID="IconEditorWindow.closeEvent"></a> 617 <a NAME="IconEditorWindow.closeEvent" ID="IconEditorWindow.closeEvent"></a>
620 <h4>IconEditorWindow.closeEvent</h4> 618 <h4>IconEditorWindow.closeEvent</h4>
621 <b>closeEvent</b>(<i>evt</i>) 619 <b>closeEvent</b>(<i>evt</i>)
622
623 <p> 620 <p>
624 Protected event handler for the close event. 621 Protected event handler for the close event.
625 </p> 622 </p>
623
626 <dl> 624 <dl>
627 625
628 <dt><i>evt</i> (QCloseEvent)</dt> 626 <dt><i>evt</i> (QCloseEvent)</dt>
629 <dd> 627 <dd>
630 the close event 628 the close event
633 </dd> 631 </dd>
634 </dl> 632 </dl>
635 <a NAME="IconEditorWindow.event" ID="IconEditorWindow.event"></a> 633 <a NAME="IconEditorWindow.event" ID="IconEditorWindow.event"></a>
636 <h4>IconEditorWindow.event</h4> 634 <h4>IconEditorWindow.event</h4>
637 <b>event</b>(<i>evt</i>) 635 <b>event</b>(<i>evt</i>)
638
639 <p> 636 <p>
640 Public method handling events. 637 Public method handling events.
641 </p> 638 </p>
639
642 <dl> 640 <dl>
643 641
644 <dt><i>evt</i> (QEvent)</dt> 642 <dt><i>evt</i> (QEvent)</dt>
645 <dd> 643 <dd>
646 reference to the event 644 reference to the event
659 </dd> 657 </dd>
660 </dl> 658 </dl>
661 <a NAME="IconEditorWindow.gestureEvent" ID="IconEditorWindow.gestureEvent"></a> 659 <a NAME="IconEditorWindow.gestureEvent" ID="IconEditorWindow.gestureEvent"></a>
662 <h4>IconEditorWindow.gestureEvent</h4> 660 <h4>IconEditorWindow.gestureEvent</h4>
663 <b>gestureEvent</b>(<i>evt</i>) 661 <b>gestureEvent</b>(<i>evt</i>)
664
665 <p> 662 <p>
666 Protected method handling gesture events. 663 Protected method handling gesture events.
667 </p> 664 </p>
665
668 <dl> 666 <dl>
669 667
670 <dt><i>evt</i> (QGestureEvent)</dt> 668 <dt><i>evt</i> (QGestureEvent)</dt>
671 <dd> 669 <dd>
672 reference to the gesture event 670 reference to the gesture event
673 </dd> 671 </dd>
674 </dl> 672 </dl>
675 <a NAME="IconEditorWindow.setRecentPaths" ID="IconEditorWindow.setRecentPaths"></a> 673 <a NAME="IconEditorWindow.setRecentPaths" ID="IconEditorWindow.setRecentPaths"></a>
676 <h4>IconEditorWindow.setRecentPaths</h4> 674 <h4>IconEditorWindow.setRecentPaths</h4>
677 <b>setRecentPaths</b>(<i>openPath, savePath</i>) 675 <b>setRecentPaths</b>(<i>openPath, savePath</i>)
678
679 <p> 676 <p>
680 Public method to set the last open and save paths. 677 Public method to set the last open and save paths.
681 </p> 678 </p>
679
682 <dl> 680 <dl>
683 681
684 <dt><i>openPath</i> (str)</dt> 682 <dt><i>openPath</i> (str)</dt>
685 <dd> 683 <dd>
686 least recently used open path 684 least recently used open path
691 </dd> 689 </dd>
692 </dl> 690 </dl>
693 <a NAME="IconEditorWindow.wheelEvent" ID="IconEditorWindow.wheelEvent"></a> 691 <a NAME="IconEditorWindow.wheelEvent" ID="IconEditorWindow.wheelEvent"></a>
694 <h4>IconEditorWindow.wheelEvent</h4> 692 <h4>IconEditorWindow.wheelEvent</h4>
695 <b>wheelEvent</b>(<i>evt</i>) 693 <b>wheelEvent</b>(<i>evt</i>)
696
697 <p> 694 <p>
698 Protected method to handle wheel events. 695 Protected method to handle wheel events.
699 </p> 696 </p>
697
700 <dl> 698 <dl>
701 699
702 <dt><i>evt</i> (QWheelEvent)</dt> 700 <dt><i>evt</i> (QWheelEvent)</dt>
703 <dd> 701 <dd>
704 reference to the wheel event 702 reference to the wheel event

eric ide

mercurial