Mantid
Loading...
Searching...
No Matches
IImageInfoWidget.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#pragma once
8
9#include "DllOption.h"
12#include <QTableWidget>
13
14namespace MantidQt {
15namespace MantidWidgets {
16
17class EXPORT_OPT_MANTIDQT_COMMON IImageInfoWidget : public QTableWidget {
18 Q_OBJECT
19public:
20 IImageInfoWidget(QWidget *parent = nullptr) : QTableWidget(0, 0, parent) {}
21
22 virtual void cursorAt(const double x, const double y, const double signal,
23 const QMap<QString, QString> &extraValues) = 0;
24 virtual void showInfo(const ImageInfoModel::ImageInfo &info) = 0;
25 virtual void setWorkspace(const Mantid::API::Workspace_sptr &ws) = 0;
26};
27
28} // namespace MantidWidgets
29} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
virtual void cursorAt(const double x, const double y, const double signal, const QMap< QString, QString > &extraValues)=0
virtual void setWorkspace(const Mantid::API::Workspace_sptr &ws)=0
virtual void showInfo(const ImageInfoModel::ImageInfo &info)=0
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