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

ENH: Refactor HomeWidget to support custom toolbars #70

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

jcfr
Copy link
Collaborator

@jcfr jcfr commented Aug 21, 2024

Improves the HomeWidget class by introducing convenient functions to managing custom toolbars in the application:

  • Adds toolbarNames property to dynamically manage toolbar names
  • Refactors the modifyWindowUI method to create and manage multiple custom toolbars, introducing the following functions:
    • insertToolBar: Helper method to insert a new custom toolbar between existing ones.
    • initializeSettingsToolBar: Creates the settings toolbar with the gear icon button to toggle visibility of the settings dialog.

@jcfr jcfr force-pushed the refactor-toolbar-customization branch 4 times, most recently from 46fff79 to ec771ad Compare August 21, 2024 15:43
@sjh26

This comment was marked as outdated.

@jcfr jcfr force-pushed the refactor-toolbar-customization branch 2 times, most recently from 0e03480 to c58f1ba Compare August 21, 2024 19:55
Improves the `HomeWidget` class by introducing convenient functions
to managing custom toolbars in the application:

- Adds `toolbarNames` property to dynamically manage toolbar names
- Refactors the `modifyWindowUI` method to create and manage multiple
  custom toolbars, introducing the following functions:
  - `insertToolBar`: Helper method to insert a new custom toolbar
    between existing ones.
  - `initializeSettingsToolBar`: Creates the settings toolbar with the gear icon button to toggle
    visibility of the settings dialog.

Co-authored-by: Tom Birdsong <[email protected]>
@jcfr jcfr force-pushed the refactor-toolbar-customization branch from c58f1ba to 43dc85d Compare August 21, 2024 19:57
@jcfr jcfr merged commit 91c17c7 into KitwareMedical:main Aug 21, 2024
3 checks passed
@jcfr jcfr deleted the refactor-toolbar-customization branch August 21, 2024 19:59
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.

2 participants