src.utils.waiting_while_processing package

Submodules

src.utils.waiting_while_processing.waiting_while_processing_controller module

Waiting while processing controller

class src.utils.waiting_while_processing.waiting_while_processing_controller.waitingWhileProcessingController(processing_title, finish_method=None)[source]

Bases: utils.waiting_while_processing.waiting_while_processing_listener.waitingWhileProcessingListener

continue_button_clicked()[source]

Close the window and send the information to the main controller if no error occurred and a method is provided.

set_listener(listener)[source]

Set the main listener so that the controller is able to communicate with the main controller. :param listener: main listener :type listener: mainController

stop_progress_bar(processing_title_finished, error=False)[source]

Stop the progress bar of the waiting window. :param processing_title_finished: The title displayed on the window. :type processing_title_finished: str :param error: Set to True if an error occurred, avoid to call the finish method. :type error: bool

src.utils.waiting_while_processing.waiting_while_processing_listener module

Waiting while processing listener

class src.utils.waiting_while_processing.waiting_while_processing_listener.waitingWhileProcessingListener[source]

Bases: abc.ABC

Listener doing the connection between the controller and the view for the waiting window It retrieves the information from the view to send it to the controller.

continue_button_clicked()[source]

src.utils.waiting_while_processing.waiting_while_processing_view module

Waiting while processing view

class src.utils.waiting_while_processing.waiting_while_processing_view.waitingWhileProcessingView(processing_title)[source]

Bases: PyQt5.QtWidgets.QWidget

continue_button_trigger()[source]

Close the window.

set_listener(listener)[source]

Set the listener to the controller. :param listener: Listener to the controller. :type listener: controller

stop_progress_bar(processing_title_finished)[source]

Stop the progress bar of the waiting window. :param processing_title_finished: The title displayed on the window. :type processing_title_finished: str

Module contents