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

Closes #70: add methods to remove widgets from forms #93

Merged
merged 29 commits into from
Oct 30, 2023

Conversation

DanicaSTFC
Copy link
Collaborator

@DanicaSTFC DanicaSTFC commented Oct 17, 2023

  • Adds method to remove widgets from forms.
  • Adds method to extract the number of widgets from forms.
  • Adds addSpanningWidget method to FormDockWidget.
  • Adds example to remove widgets from the FormDialog and the FormDockWidget.
  • Adds the unit test for the removal of widgets from the forms.

@DanicaSTFC
Copy link
Collaborator Author

Please review and I will delete/fix the comments during the review process.

Copy link
Member

@lauramurgatroyd lauramurgatroyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, just made some suggestions

Copy link
Member

@lauramurgatroyd lauramurgatroyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

My only suggestion is that the dialog example could be improved slightly. I found that if the spanning widget is removed, then it is not clear that the ok button will remove the "user input" widget:
image

Could be fixed with the addition of a simple extra line of text.

@DanicaSTFC DanicaSTFC merged commit ec2c5a1 into main Oct 30, 2023
@DanicaSTFC DanicaSTFC deleted the remove-widget-from-form branch October 30, 2023 15:27
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.

3 participants