@@ -362,122 +362,128 @@ def setupUi(self, PlayerWindow):
362
362
self .actionInvert_Color .setObjectName ("actionInvert_Color" )
363
363
self .actionMono_Filter = QtWidgets .QAction (PlayerWindow )
364
364
self .actionMono_Filter .setCheckable (True )
365
+ icon20 = QtGui .QIcon ()
366
+ icon20 .addPixmap (QtGui .QPixmap (":/imgFMV/images/mono.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
367
+ self .actionMono_Filter .setIcon (icon20 )
365
368
self .actionMono_Filter .setObjectName ("actionMono_Filter" )
366
369
self .actionCanny_edge_detection = QtWidgets .QAction (PlayerWindow )
367
370
self .actionCanny_edge_detection .setCheckable (True )
371
+ icon21 = QtGui .QIcon ()
372
+ icon21 .addPixmap (QtGui .QPixmap (":/imgFMV/images/canny.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
373
+ self .actionCanny_edge_detection .setIcon (icon21 )
368
374
self .actionCanny_edge_detection .setObjectName ("actionCanny_edge_detection" )
369
375
self .actionZoom_Rectangle = QtWidgets .QAction (PlayerWindow )
370
376
self .actionZoom_Rectangle .setCheckable (True )
371
377
self .actionZoom_Rectangle .setEnabled (True )
372
378
self .actionZoom_Rectangle .setObjectName ("actionZoom_Rectangle" )
373
379
self .actionMagnifying_glass = QtWidgets .QAction (PlayerWindow )
374
380
self .actionMagnifying_glass .setCheckable (True )
375
- icon20 = QtGui .QIcon ()
376
- icon20 .addPixmap (QtGui .QPixmap (":/imgFMV/images/magnifier-glass.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
377
- self .actionMagnifying_glass .setIcon (icon20 )
381
+ icon22 = QtGui .QIcon ()
382
+ icon22 .addPixmap (QtGui .QPixmap (":/imgFMV/images/magnifier-glass.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
383
+ self .actionMagnifying_glass .setIcon (icon22 )
378
384
self .actionMagnifying_glass .setObjectName ("actionMagnifying_glass" )
379
385
self .actionAuto_Contrast_Filter = QtWidgets .QAction (PlayerWindow )
380
386
self .actionAuto_Contrast_Filter .setCheckable (True )
381
- icon21 = QtGui .QIcon ()
382
- icon21 .addPixmap (QtGui .QPixmap (":/imgFMV/images/automatic-contrast.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
383
- self .actionAuto_Contrast_Filter .setIcon (icon21 )
387
+ icon23 = QtGui .QIcon ()
388
+ icon23 .addPixmap (QtGui .QPixmap (":/imgFMV/images/automatic-contrast.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
389
+ self .actionAuto_Contrast_Filter .setIcon (icon23 )
384
390
self .actionAuto_Contrast_Filter .setObjectName ("actionAuto_Contrast_Filter" )
385
391
self .actionCreate_Mosaic = QtWidgets .QAction (PlayerWindow )
386
392
self .actionCreate_Mosaic .setIcon (icon3 )
387
393
self .actionCreate_Mosaic .setObjectName ("actionCreate_Mosaic" )
388
394
self .actionDraw_Pinpoint = QtWidgets .QAction (PlayerWindow )
389
395
self .actionDraw_Pinpoint .setCheckable (True )
390
- icon22 = QtGui .QIcon ()
391
- icon22 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-point.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
392
- self .actionDraw_Pinpoint .setIcon (icon22 )
396
+ icon24 = QtGui .QIcon ()
397
+ icon24 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-point.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
398
+ self .actionDraw_Pinpoint .setIcon (icon24 )
393
399
self .actionDraw_Pinpoint .setObjectName ("actionDraw_Pinpoint" )
394
400
self .actionDraw_Line = QtWidgets .QAction (PlayerWindow )
395
401
self .actionDraw_Line .setCheckable (True )
396
- icon23 = QtGui .QIcon ()
397
- icon23 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polyline.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
398
- self .actionDraw_Line .setIcon (icon23 )
402
+ icon25 = QtGui .QIcon ()
403
+ icon25 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polyline.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
404
+ self .actionDraw_Line .setIcon (icon25 )
399
405
self .actionDraw_Line .setObjectName ("actionDraw_Line" )
400
406
self .actionDraw_Polygon = QtWidgets .QAction (PlayerWindow )
401
407
self .actionDraw_Polygon .setCheckable (True )
402
- icon24 = QtGui .QIcon ()
403
- icon24 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polygon.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
404
- self .actionDraw_Polygon .setIcon (icon24 )
408
+ icon26 = QtGui .QIcon ()
409
+ icon26 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polygon.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
410
+ self .actionDraw_Polygon .setIcon (icon26 )
405
411
self .actionDraw_Polygon .setObjectName ("actionDraw_Polygon" )
406
412
self .actionObject_Tracking = QtWidgets .QAction (PlayerWindow )
407
413
self .actionObject_Tracking .setCheckable (True )
408
- icon25 = QtGui .QIcon ()
409
- icon25 .addPixmap (QtGui .QPixmap (":/imgFMV/images/object-tracking.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
410
- self .actionObject_Tracking .setIcon (icon25 )
414
+ icon27 = QtGui .QIcon ()
415
+ icon27 .addPixmap (QtGui .QPixmap (":/imgFMV/images/object-tracking.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
416
+ self .actionObject_Tracking .setIcon (icon27 )
411
417
self .actionObject_Tracking .setObjectName ("actionObject_Tracking" )
412
418
self .actionRuler = QtWidgets .QAction (PlayerWindow )
413
419
self .actionRuler .setCheckable (True )
414
- icon26 = QtGui .QIcon ()
415
- icon26 .addPixmap (QtGui .QPixmap (":/imgFMV/images/ruler.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
416
- self .actionRuler .setIcon (icon26 )
420
+ icon28 = QtGui .QIcon ()
421
+ icon28 .addPixmap (QtGui .QPixmap (":/imgFMV/images/ruler.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
422
+ self .actionRuler .setIcon (icon28 )
417
423
self .actionRuler .setObjectName ("actionRuler" )
418
424
self .actionMirroredH = QtWidgets .QAction (PlayerWindow )
419
425
self .actionMirroredH .setCheckable (True )
420
- icon27 = QtGui .QIcon ()
421
- icon27 .addPixmap (QtGui .QPixmap (":/imgFMV/images/mirrored.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
422
- self .actionMirroredH .setIcon (icon27 )
426
+ icon29 = QtGui .QIcon ()
427
+ icon29 .addPixmap (QtGui .QPixmap (":/imgFMV/images/mirrored.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
428
+ self .actionMirroredH .setIcon (icon29 )
423
429
self .actionMirroredH .setObjectName ("actionMirroredH" )
424
430
self .actionCensure = QtWidgets .QAction (PlayerWindow )
425
431
self .actionCensure .setCheckable (True )
426
- icon28 = QtGui .QIcon ()
427
- icon28 .addPixmap (QtGui .QPixmap (":/imgFMV/images/censure-pencil.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
428
- self .actionCensure .setIcon (icon28 )
432
+ icon30 = QtGui .QIcon ()
433
+ icon30 .addPixmap (QtGui .QPixmap (":/imgFMV/images/censure-pencil.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
434
+ self .actionCensure .setIcon (icon30 )
429
435
self .actionCensure .setObjectName ("actionCensure" )
430
436
self .actionRemove_Last_censured = QtWidgets .QAction (PlayerWindow )
431
- icon29 = QtGui .QIcon ()
432
- icon29 .addPixmap (QtGui .QPixmap (":/imgFMV/images/censure-pencil-remove-last.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
433
- self .actionRemove_Last_censured .setIcon (icon29 )
437
+ icon31 = QtGui .QIcon ()
438
+ icon31 .addPixmap (QtGui .QPixmap (":/imgFMV/images/censure-pencil-remove-last.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
439
+ self .actionRemove_Last_censured .setIcon (icon31 )
434
440
self .actionRemove_Last_censured .setObjectName ("actionRemove_Last_censured" )
435
441
self .actionRemove_All_censured = QtWidgets .QAction (PlayerWindow )
436
- icon30 = QtGui .QIcon ()
437
- icon30 .addPixmap (QtGui .QPixmap (":/imgFMV/images/censure-pencil-remove-all.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
438
- self .actionRemove_All_censured .setIcon (icon30 )
442
+ icon32 = QtGui .QIcon ()
443
+ icon32 .addPixmap (QtGui .QPixmap (":/imgFMV/images/censure-pencil-remove-all.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
444
+ self .actionRemove_All_censured .setIcon (icon32 )
439
445
self .actionRemove_All_censured .setObjectName ("actionRemove_All_censured" )
440
446
self .actionDraw_Polygon_remove_last = QtWidgets .QAction (PlayerWindow )
441
447
self .actionDraw_Polygon_remove_last .setCheckable (False )
442
- icon31 = QtGui .QIcon ()
443
- icon31 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polygon-remove-last.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
444
- self .actionDraw_Polygon_remove_last .setIcon (icon31 )
448
+ icon33 = QtGui .QIcon ()
449
+ icon33 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polygon-remove-last.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
450
+ self .actionDraw_Polygon_remove_last .setIcon (icon33 )
445
451
self .actionDraw_Polygon_remove_last .setObjectName ("actionDraw_Polygon_remove_last" )
446
452
self .actionDraw_Polygon_remove_all = QtWidgets .QAction (PlayerWindow )
447
453
self .actionDraw_Polygon_remove_all .setCheckable (False )
448
- icon32 = QtGui .QIcon ()
449
- icon32 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polygon-remove-all.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
450
- self .actionDraw_Polygon_remove_all .setIcon (icon32 )
454
+ icon34 = QtGui .QIcon ()
455
+ icon34 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polygon-remove-all.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
456
+ self .actionDraw_Polygon_remove_all .setIcon (icon34 )
451
457
self .actionDraw_Polygon_remove_all .setObjectName ("actionDraw_Polygon_remove_all" )
452
458
self .actionRemove_Last_Pinpoint = QtWidgets .QAction (PlayerWindow )
453
459
self .actionRemove_Last_Pinpoint .setCheckable (False )
454
- icon33 = QtGui .QIcon ()
455
- icon33 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-point-remove-last.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
456
- self .actionRemove_Last_Pinpoint .setIcon (icon33 )
460
+ icon35 = QtGui .QIcon ()
461
+ icon35 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-point-remove-last.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
462
+ self .actionRemove_Last_Pinpoint .setIcon (icon35 )
457
463
self .actionRemove_Last_Pinpoint .setObjectName ("actionRemove_Last_Pinpoint" )
458
464
self .actionRemove_All_Pinpoint = QtWidgets .QAction (PlayerWindow )
459
465
self .actionRemove_All_Pinpoint .setCheckable (False )
460
- icon34 = QtGui .QIcon ()
461
- icon34 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-point-remove-all.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
462
- self .actionRemove_All_Pinpoint .setIcon (icon34 )
466
+ icon36 = QtGui .QIcon ()
467
+ icon36 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-point-remove-all.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
468
+ self .actionRemove_All_Pinpoint .setIcon (icon36 )
463
469
self .actionRemove_All_Pinpoint .setObjectName ("actionRemove_All_Pinpoint" )
464
470
self .actionRemove_All_Line = QtWidgets .QAction (PlayerWindow )
465
471
self .actionRemove_All_Line .setCheckable (False )
466
- icon35 = QtGui .QIcon ()
467
- icon35 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polyline-remove-all.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
468
- self .actionRemove_All_Line .setIcon (icon35 )
472
+ icon37 = QtGui .QIcon ()
473
+ icon37 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polyline-remove-all.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
474
+ self .actionRemove_All_Line .setIcon (icon37 )
469
475
self .actionRemove_All_Line .setObjectName ("actionRemove_All_Line" )
470
476
self .actionLast_Segment_Line = QtWidgets .QAction (PlayerWindow )
471
477
self .actionLast_Segment_Line .setCheckable (False )
472
- icon36 = QtGui .QIcon ()
473
- icon36 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polyline-remove-last-segment.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
474
- self .actionLast_Segment_Line .setIcon (icon36 )
478
+ icon38 = QtGui .QIcon ()
479
+ icon38 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polyline-remove-last-segment.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
480
+ self .actionLast_Segment_Line .setIcon (icon38 )
475
481
self .actionLast_Segment_Line .setObjectName ("actionLast_Segment_Line" )
476
482
self .actionRemove_Last_Line = QtWidgets .QAction (PlayerWindow )
477
483
self .actionRemove_Last_Line .setCheckable (False )
478
- icon37 = QtGui .QIcon ()
479
- icon37 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polyline-remove-last.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
480
- self .actionRemove_Last_Line .setIcon (icon37 )
484
+ icon39 = QtGui .QIcon ()
485
+ icon39 .addPixmap (QtGui .QPixmap (":/imgFMV/images/draw-polyline-remove-last.png" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
486
+ self .actionRemove_Last_Line .setIcon (icon39 )
481
487
self .actionRemove_Last_Line .setObjectName ("actionRemove_Last_Line" )
482
488
self .toolBtn_DPoint .addAction (self .actionDraw_Pinpoint )
483
489
self .toolBtn_DPoint .addAction (self .actionRemove_Last_Pinpoint )
0 commit comments