12#include <QTableWidget>
33 const QMap<QString, QString> &extraValues) {
43 if (
auto matrixWS = std::dynamic_pointer_cast<MatrixWorkspace>(
workspace))
44 m_model = std::make_unique<ImageInfoModelMatrixWS>(matrixWS);
46 m_model = std::make_unique<ImageInfoModelMD>();
58 const auto &itemCount(info.
size());
60 for (
int i = 0; i < itemCount; ++i) {
62 if (
name ==
"Signal") {
69 auto header =
new QTableWidgetItem(
name);
70 header->setFlags(header->flags() & ~Qt::ItemIsEditable);
72 auto value =
new QTableWidgetItem(info.
value(i));
73 value->setFlags(header->flags() & ~Qt::ItemIsEditable);
double value
The value of the point.
IPeaksWorkspace_sptr workspace
Base MatrixWorkspace Abstract Class.
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace