Ticket #7433 (closed: fixed)
Expose MWRunFiles to python
Reported by: | Russell Taylor | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | critical | Milestone: | Release 2.6 |
Component: | GUI | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Michael Reuter |
Description
I want to use it in the DGS Reduction GUI (and later extend it as well).
Change History
comment:2 Changed 7 years ago by Russell Taylor
Re #7433. Expose MWRunFiles to python and test.
Changeset: 91d9a2c5b3efb5f2381cb6fb5dc3bbc708c7b8d4
comment:3 Changed 7 years ago by Russell Taylor
Re #7433. Try to fix test.
Changeset: 6ca69a1eaaa2de84ec63398867dc4039d28597d2
comment:4 Changed 7 years ago by Russell Taylor
- Status changed from accepted to verify
- Resolution set to fixed
Tester: Branch is feature/7433_expose_mwrunfiles_to_python
The MWRunFiles widget (the one used in, e.g., Load to select the data file) is now available via python. Test it from MantidPlot using code along these lines:
import mantidqtpython w = gui_cmd( mantidqtpython.MantidQt.MantidWidgets.MWRunFiles ) print type(w) <class 'mantidqtpython.MWRunFiles'> gui_cmd( w.show ) gui_cmd( w.setText, 'Hello' )
Note: See
TracTickets for help on using
tickets.