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

Partial-Disable toolbar functionalities during 'Start Registration' - 771 #1 #826

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bhavana-github-acc
Copy link

@bhavana-github-acc bhavana-github-acc commented Aug 20, 2024

Partial-Disable toolbar functionalities during registration; partial solution.

  1. Updated the ObjectToolBar class to disable toolbar buttons (zoom, rotate, move, etc.) when StartRegistration is active.
  2. Passed an argument from StartRegistration to _EnableState to manage toolbar state based on registration activity.
  3. Attempted to implement a warning message popup using the wx library to notify users that toolbar buttons are disabled when 'StartRegistration' is active, but was unable to get the popup to work even after many tries.

This commit addresses part of issue #771 by disabling toolbar functionality during 'StartRegistration'. Further changes are needed to implement the warning message.

Please Note! The PR has made some formatting changes such as extra spaces and quote replacements. These were automatically applied and are not related to the functional changes. Please let me know if this harms the code in any way.
I have made changes only to the frame.py and task_navigator.py files. I was using PyCharm for the fork; if I am to use a different IDE which not cause any formatting changes, please let me know; I will edit it again.

…on of issue invesalius#771

- Updated the ObjectToolBar class to disable toolbar buttons (zoom, rotate, move, etc.) when StartRegistration is active.
- Passed an argument from StartRegistration to _EnableState to manage toolbar state based on registration activity.
- Attempted to implement a warning message popup using the wx library to notify users that toolbar buttons are disabled when 'StartRegistration' is active, but was unable to get the popup to work even after many tries.

This commit addresses part of issue invesalius#771 by disabling toolbar functionality during 'StartRegistration'. Further changes are needed to implement the warning message.
@bhavana-github-acc bhavana-github-acc changed the title Disable toolbar functionalities during 'Start Registration' - 771 #1 Partial-Disable toolbar functionalities during 'Start Registration' - 771 #1 Aug 20, 2024
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