Ticket #4342 (closed: fixed)
SliceViewer Python Interface: add simple method for use within mantidplot
Reported by: | Janik Zikovsky | Owned by: | Janik Zikovsky |
---|---|---|---|
Priority: | major | Milestone: | Release 2.0 |
Component: | MantidPlot | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Andrei Savici |
Description
Simple command like plotBin()
Change History
comment:1 Changed 9 years ago by Janik Zikovsky
- Status changed from new to accepted
- Component changed from Mantid to MantidPlot
comment:2 Changed 9 years ago by Janik Zikovsky
Refs #4342: plotSlice() method from MantidPlot
Changeset: 37a2169c68d57637c5747a86a772ccadfef12af4
comment:3 Changed 9 years ago by Janik Zikovsky
Refs #4342 improvements to plotSlice() from MantidPlot
Includes having the windows close with the app, and lots of parameters
Changeset: 91fe259b2076fbc14970e300c88621836fe137e6
comment:4 Changed 9 years ago by Janik Zikovsky
Refs #4342, #4277: Proxy object for safety around widgets
QtProxyObject wraps the underlying C++ QWidget so that it does not segfault if something deletes the underlying object
Changeset: 1b9278e6543b825eca0362f924f684ce072ebace
comment:5 Changed 9 years ago by Janik Zikovsky
Refs #4342 give a label when creating the plot
Also tried to make a method to return a vector of all open windows but sip is too dumb
Changeset: 9f5e549b95614ee58dc9060d118627b45240bcf3
comment:6 Changed 9 years ago by Janik Zikovsky
Refs #4342 not sure why some sip version tolerate tabs
Changeset: 2d406fc17a7af38cc1233e52ec68dff63b16503f
comment:7 Changed 9 years ago by Janik Zikovsky
Refs #4342: Wrapped SliceViewerWindow to pass through methods
to the contained SliceViewer widget, making it easier to use. Added more python docs. Generating text for pasting to wiki.
Changeset: 81a761891ef5ddb6e2176d41840c6744873b7d10
comment:8 Changed 9 years ago by Janik Zikovsky
- Status changed from accepted to verify
- Resolution set to fixed
OK this is done and is even unit-tested!
Methods from MantidPlot are plotSlice(), getSliceViewer() and closeAllSliceViewers(). Described in Mantid wiki.
comment:9 Changed 9 years ago by Andrei Savici
- Status changed from verify to verifying
- Tester set to Andrei Savici
comment:10 Changed 9 years ago by Andrei Savici
- Status changed from verifying to closed
I was able to create a sliceViewer from MantidPlot, and access some of it's functions
comment:11 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 5189