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

Add plugin global settings for ExampleViewOpenGl plugin #17

Merged
merged 4 commits into from
Jan 22, 2024

Conversation

ThomasKroes
Copy link
Contributor

@ThomasKroes ThomasKroes commented Jan 22, 2024

This PR adds new features and addresses some issues:

  • Adds two global plugin settings to the ExampleViewOpenGl:
    • Default point size
    • Default point opacity
  • Simplifies the SettingsAction by deriving from GroupAction, thereby eliminating the need to create a widget manually
  • Fixes some small copy-paste typos

Add default point size action to the global settings action
Initialize point size from global settings default point size
Simplified the SettingsAction (derive from group action instead of WidgetAction)
Correctly connect lambdas to ExampleViewGLPlugin::updatePlot() in SettingsAction
Add ExampleViewGLPlugin SettingsAction as a docking widget
@ThomasKroes ThomasKroes added the enhancement New feature or request label Jan 22, 2024
@ThomasKroes ThomasKroes self-assigned this Jan 22, 2024
@ThomasKroes ThomasKroes merged commit 5d757a2 into master Jan 22, 2024
0 of 6 checks passed
@ThomasKroes ThomasKroes deleted the feature/add_plugin_global_settings branch January 22, 2024 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant