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

[Plot] Add Legend widget and bottom toolbar to PlotWindow as in PyMca #59

Merged
merged 34 commits into from
May 4, 2016

Conversation

t20100
Copy link
Member

@t20100 t20100 commented May 4, 2016

This PR adds:

  • A LegendDockWidget inherited from PyMca
  • Actions to toggle crosshair cursor, pan with arrow keys
  • A widget displaying X, Y coordinates with optional way to display values computed from X, Y.
  • A bottom toolbar to PlotWindow with an 'Options' button providing a submenu and X, Y coords display as in PyMca PlotWindow.

Qt tests updated: TestCaseQt moved to testutils.py module + add a way to allow some tests to have remaining widgets at the end of the test in TestCaseQt.

- Add PlotTools.PositionInfo widget with settable displayed fields
- Add it as a bottom toolbar to PlotWindow enabled with the position argument
- Add test of the docstring of PositionInfo
This avoids issue with import
- Added RenameCurveDialog from PyMca
- Added LegendSelectorAction to link LegendSelector with PlotWindow
- Adapted from PyMca __main__ for RenameCurveDialog
- Fix TestCaseQt
…urve

Double click with left button on a show/hide checkbox was making curve visibility and checkbox not being synchronized any more.
…redDict

+ For curve, keep it in hidden curve if already there
@vasole vasole merged commit 2e21a3e into silx-kit:master May 4, 2016
@t20100 t20100 deleted the plot+legend branch May 19, 2016 07:23
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

2 participants