src.operations package

Submodules

src.operations.form_ui module

class src.operations.form_ui.FormUI

Bases: object

The FormUI class implements the base form for operation UI classes.

form_ui(child_ui)

Create a base form for operation UI classes.

The method creates main widget objects in the proper containers and assigns the object names to them.

Parameters

child_ui – The operation UI class

src.operations.operation module

class src.operations.operation.Operation

Bases: object

The Operation class represents the base logic for operation classes.

accept_changes()

Accept changed image data to the original one.

update_hist()

Update histogram canvas visibility whenever rbtn_show_hist clicked.

update_img_preview()

Update image preview window.

  • Convert new image data to PyQt5.QtGui.QImage.

  • Reload the image to the preview window.

src.operations.operation_ui module

class src.operations.operation_ui.OperationUI

Bases: object

The OperationUI class represents the base UI for operation UI classes.

operation_ui(child_ui)

Create a base user interface for operation UI classes.

The method creates main widget objects in the proper containers and assigns the object names to them.

Parameters

child_ui – The operation UI class

Module contents