Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #133

Merged
merged 8 commits into from
Jan 28, 2025
Merged

Dev #133

merged 8 commits into from
Jan 28, 2025

Conversation

Jordan-Pierce
Copy link
Owner

No description provided.

Modify `coralnet_toolbox/QtPatchSamplerDialog.py` to use `InputMarginWidget` from `QtCommon.py` and display annotations directly on the `AnnotationWindow` instead of using `QGraphicsViewer`.

* Remove `QGraphicsViewer` and related code for displaying annotations.
* Add `InputMarginWidget` for margin inputs and connect its signals to `preview_annotations`.
* Update `preview_annotations` and `accept_annotations` methods to use `InputMarginWidget` for margin values.
* Modify `draw_annotation_previews` to display annotations directly on the `AnnotationWindow`.
Update Patch Sampling to use InputMarginWidget and AnnotationWindow
Add version display to the title window in `QtMainWindow.py`.

* **coralnet_toolbox/__init__.py**
  - Add `get_version()` function to return `__version__`.

* **coralnet_toolbox/main.py**
  - Import `get_version` from `coralnet_toolbox`.
  - Pass `get_version()` to `MainWindow` constructor.

* **coralnet_toolbox/QtMainWindow.py**
  - Add `version` parameter to `MainWindow` constructor.
  - Update the window title to include the `version`.
@Jordan-Pierce Jordan-Pierce merged commit f0c86bf into main Jan 28, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant