Ticket #7433 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

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:1 Changed 7 years ago by Russell Taylor

  • Status changed from new to accepted

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' )

comment:5 Changed 7 years ago by Michael Reuter

  • Status changed from verify to verifying
  • Tester set to Michael Reuter

comment:6 Changed 7 years ago by Michael Reuter

This looks like it is working fine.

comment:7 Changed 7 years ago by Michael Reuter

  • Status changed from verifying to closed

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8279

Note: See TracTickets for help on using tickets.