mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
207 stars 121 forks source link

Use RunWidget in Data Processor interface #37624

Closed adriazalvarez closed 2 days ago

adriazalvarez commented 5 days ago

Description of work

This PR adds the runwidget as a substitute for the run button on the tabs of the Data Processor interface. The presenter of the runwidget is held by the parent data processor class. The view of the run button is created on the automatic ui file created by qt. Additionally, there's a refactor of the

Part of #37381.

Further detail of work

To test:


Reviewer

Please comment on the points listed below (full description). Your comments will be used as part of the gatekeeper process, so please comment clearly on what you have checked during your review. If changes are made to the PR during the review process then your final comment will be the most important for gatekeepers. In this comment you should make it clear why any earlier review is still valid, or confirm that all requested changes have been addressed.

Code Review

Functional Tests

Does everything look good? Mark the review as Approve. A member of @mantidproject/gatekeepers will take care of it.

Gatekeeper

If you need to request changes to a PR then please add a comment and set the review status to "Request changes". This will stop the PR from showing up in the list for other gatekeepers.

adriazalvarez commented 3 days ago

There were unused signal connections on absorption corrections, giving qt warnings on runtime. I have removed those ones too.

robertapplin commented 3 days ago

There were unused signal connections on absorption corrections, giving qt warnings on runtime. I have removed those ones too.

Thanks for spotting that 👍

robertapplin commented 3 days ago

I seem to be getting a crash on the Moments tab when I load data. Do you see the same?

adriazalvarez commented 3 days ago

Yes, sorry. I missed adding the call to validate through the run presenter.