19#include <QPersistentModelIndex>
21#include <QStyleOptionViewItem>
22#include <QStyledItemDelegate>
23#include <QTableWidget>
24#include <QTableWidgetItem>
27namespace MantidWidgets {
51 [[nodiscard]] std::vector<FitDomainIndex> allRows()
const;
52 [[nodiscard]] std::vector<FitDomainIndex> selectedRows()
const;
55 [[nodiscard]]
bool hasLoadedData()
const;
57 [[nodiscard]] QString selectedDomainFunctionPrefix()
const;
59 void renameWorkspace(QString
const &workspaceName, QString
const &newName);
65 void formatSelection();
66 void resetSelection();
68 void setFunctionPrefixVisible(
bool visible);
74 void handleItemClicked(QTableWidgetItem *item);
75 void handleItemSelectionChanged();
78 bool eventFilter(QObject *widget, QEvent *event)
override;
79 QPersistentModelIndex hoveredRowIndex(QEvent *event);
81 void updateVerticalHeaders();
85 void setSelectedXValue(
double xValue);
111 QWidget *
createEditor(QWidget *parent, QStyleOptionViewItem
const &option, QModelIndex
const &
index)
const override;
112 void paint(QPainter *painter, QStyleOptionViewItem
const &option, QModelIndex
const &
index)
const override;
#define EXPORT_OPT_MANTIDQT_COMMON
std::map< DeltaEMode::Type, std::string > index
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
void renameWorkspace(const IAlgorithm_sptr &renamer, const Workspace_sptr &workspace, const std::string &newName)