Mantid
Loading...
Searching...
No Matches
ImageInfoPresenter.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2020 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7
8#pragma once
9
10#include "DllOption.h"
13
14namespace MantidQt {
15namespace MantidWidgets {
16
22
23public:
25
26 inline const ImageInfoModel &model() { return *m_model; }
27
28 void cursorAt(const double x, const double y, const double signal, const QMap<QString, QString> extraValues);
29 void setWorkspace(const Mantid::API::Workspace_sptr &ws);
30
31private:
32 std::unique_ptr<ImageInfoModel> m_model;
34};
35
36} // namespace MantidWidgets
37} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
A table widget containing information about the pixel the mouse is over in an image.
std::unique_ptr< ImageInfoModel > m_model
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
Definition: Workspace_fwd.h:20