This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. 02 Nov, 2020 1 commit
    • Mathieu Tillet's avatar
      Fix issues with the pick tab on integration change · 103f7e2c
      Mathieu Tillet authored
      When switching from an integrable workspace to a non-integrable one,
      there was an issue with the top of the instrument widget, with was shown
      as an artifact.
      When switching from a non-integrable workspace to an integrable one, the
      mini-plot didn't expand correctly.
      103f7e2c
  2. 29 Oct, 2020 1 commit
    • Mathieu Tillet's avatar
      Remove need for the workspace to be passed · 461df748
      Mathieu Tillet authored
      The workspace to be added is no longer necessary, because it appears
      that calling afterReplaceHandle only slows the process while not doing
      anything noticeable.
      
      This commit thus simplify this, and thus quickens the execution of
      replace_workspace by some 30%.
      461df748
  3. 28 Oct, 2020 2 commits
  4. 23 Oct, 2020 1 commit
    • Mathieu Tillet's avatar
      Refactor XIntegration use in the instrument widget · 62b5a617
      Mathieu Tillet authored
      The Xintegration widget, which control the integration scroll at the
      bottom of the instrument view, should only appear when the workspace
      needs it.
      
      This was currently the case, but only if the instrument view was opened
      with this workspace : changing the underlying workspace midway, as
      intended by replaceWorkspace, was not managed.
      
      Thus, the way the integration range is managed was changed to a more
      concise and modular way, so that it is only hidden or shown when needed,
      but exists in all cases.
      62b5a617
  5. 22 Oct, 2020 1 commit
    • Mathieu Tillet's avatar
      Allow changing the instrument window title · 9a065365
      Mathieu Tillet authored
      When using replaceWorkspace to replace the workspace being shown in an
      instrument window using the python API, the user can specify the
      new title of the window.
      If none is specified, the name of the new workspace is used.
      9a065365
  6. 15 Oct, 2020 1 commit
  7. 08 Oct, 2020 1 commit
    • Mathieu Tillet's avatar
      Add explicit text comment for copy pasting · a7a618ac
      Mathieu Tillet authored
      In the instrument viewer, a text at the bottom tells the user how to
      interact with shapes (by clicking, dragging etc...), and now also
      instructs him how to copy and paste shapes.
      
      Since this becomes the longest text to be printed there, and since it
      does not appear at startup, the minimal size of the window has
      accordingly to be enlarged, manually this time, so it is not updated
      only when the user switches to another tab. This is done by setting the
      minimal width of the instrument display widget itself, since it cannot
      be set at the layout level.
      a7a618ac
  8. 14 Sep, 2020 1 commit
  9. 11 Sep, 2020 1 commit
  10. 07 Sep, 2020 2 commits
  11. 04 Sep, 2020 1 commit
  12. 28 Aug, 2020 1 commit
    • Mathieu Tillet's avatar
      Add a signal for pixel masking · 1ab96213
      Mathieu Tillet authored
      When picking a single pixel, 2 behaviours are possible : either it's for
      masking, and then the picked pixel must be masked on screen immediately,
      or it's for picking and then nothing happens to the instrument.
      Separating the signals allows for calling the appropriate slot depending
      on the current tab.
      1ab96213
  13. 27 Aug, 2020 1 commit
  14. 16 Jun, 2020 1 commit
    • Mathieu Tillet's avatar
      Modify the integration scroll bar removal process · 22024e52
      Mathieu Tillet authored
      When not setting an integration scroll bar, instead of just not showing
      it, rather not create it at all. This is mmore heavy handed, as it
      implies checking for the existence of the object each time it is called,
      but it is more reliable (as the non-created object cannot possibly
      occupy any space on screen).
      
      This solves the problem of the unclickable Render and Pick tabs.
      22024e52
  15. 15 Jun, 2020 1 commit
    • Mathieu Tillet's avatar
      Add saving and loading function · cf3877fe
      Mathieu Tillet authored
      When saving projects, the save has to register if the instrument window
      has an integration scroll bar or not, so when it loaded the loader won't
      attempt to add values to a non-existent bar, resulting in a segfault.
      Also, it remembers the mask tube and mask pixel buttons being checked
      and restores them to their previous state at loading, as for any other button.
      cf3877fe
  16. 16 Apr, 2020 1 commit
  17. 15 Apr, 2020 1 commit
    • Mathieu Tillet's avatar
      Fix missing reference to the instrument scroll bar · 428ccf75
      Mathieu Tillet authored
      This commit adresses the integration scroll bar on the instrument render
      tab. A previous commit deleted this bar altogether when it was not
      needed, mainly for monochromatic workspaces. But a few methods,
      especially in MantidPlot, actually depends upon the attribute being
      initialized.
      
      As such, the integration scroll bar object is again initialized in every
      case, but a flag "hidden" have been added, which allows it to be created
      as a mere shell, without any component that would show onscreen.
      428ccf75
  18. 08 Apr, 2020 1 commit
  19. 07 Apr, 2020 1 commit
    • Giovanni Di Siena's avatar
      Replace boost::shared with std::shared · 11994bc3
      Giovanni Di Siena authored and Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony committed
      In places other substitutions have been made, e.g
      Clang does not yet specialize std::shared_ptr for T[]. Vector
      has been used instead. The operator[] methods were incorrectly
      marked const but returning a non-const reference - this has been fixed.
      Refs #25842
      11994bc3
  20. 25 Mar, 2020 1 commit
  21. 20 Mar, 2020 1 commit
  22. 10 Mar, 2020 1 commit
  23. 14 Feb, 2020 1 commit
  24. 28 Jan, 2020 1 commit
  25. 27 Jan, 2020 1 commit
  26. 08 Nov, 2019 1 commit
  27. 25 Oct, 2019 1 commit
  28. 24 Oct, 2019 1 commit
  29. 08 Oct, 2019 1 commit
  30. 22 May, 2019 1 commit
  31. 08 Apr, 2019 1 commit
  32. 28 Mar, 2019 1 commit
  33. 27 Mar, 2019 1 commit
  34. 13 Mar, 2019 1 commit
  35. 28 Jan, 2019 1 commit
  36. 22 Jan, 2019 1 commit
  37. 21 Jan, 2019 1 commit
  38. 07 Jan, 2019 1 commit