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 DockMixin.position_dock and reset of expanded items #12

Merged
merged 7 commits into from Apr 14, 2020
Merged

Add DockMixin.position_dock and reset of expanded items #12

merged 7 commits into from Apr 14, 2020

Conversation

Chilipp
Copy link
Member

@Chilipp Chilipp commented Apr 13, 2020

This method adds a new method to the DockMixin to set the position of the DockWidget. By default, this is implemented as

    def position_dock(self, main, *args, **kwargs):
        main.addDockWidget(self.dock_position, self.dock, *args, **kwargs)

and called in the to_dock method.

Furthermore, the DatasetTree now does not collapse the items anymore after the project as been updated.

  • Tests added (for all bug fixes or enhancements)
  • Tests passed (for all non-documentation changes)
  • Fully documented, including CHANGELOG.rst for all changes

@Chilipp Chilipp merged commit d43f6cc into psyplot:master Apr 14, 2020
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.

None yet

1 participant