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
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
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
Close the window.