acquire.acquire.gui.base
¶
Module Contents¶
Classes¶
- exception acquire.acquire.gui.base.GUIError¶
Bases:
RuntimeError
Unspecified run-time error.
- class acquire.acquire.gui.base.GUI¶
- thread = None¶
- folder = None¶
- ready = False¶
- auto_upload = None¶
- upload_available = False¶
- property shard: int¶
Returns the shard of the progress bar.
- wait_for_start(args: argparse.Namespace) tuple[str, bool, bool] ¶
Starts GUI thread and waits for start button to be clicked.
- abstract message(message: str) None ¶
Starts GUI thread and waits for start button to be clicked.
- wait_for_quit() None ¶
Closes the GUI and waits for the thread to join.
- abstract show() None ¶
Subclass needs to implement this.
- abstract finish() None ¶
Finishes the progress bar and closes the GUI.
- class acquire.acquire.gui.base.Stub¶
Bases:
GUI
Minimal GUI implementation.
- message(message: str) None ¶
Starts GUI thread and waits for start button to be clicked.
- wait_for_start(args: argparse.Namespace) tuple[str, bool, bool] ¶
Starts GUI thread and waits for start button to be clicked.
- wait_for_quit() None ¶
Closes the GUI and waits for the thread to join.
- finish() None ¶
Finishes the progress bar and closes the GUI.