10#include <qstyleditemdelegate.h>
14const std::string DEFAULT_REGEX =
"(0|[1-9][0-9]*)";
15constexpr auto DEFAULT_NUMERICAL_PRECISION = 6;
19namespace MantidWidgets {
28 RegexInputDelegate(QWidget *parent =
nullptr,
const std::string &validator = DEFAULT_REGEX);
29 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &,
const QModelIndex &)
const override;
38 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &,
const QModelIndex &)
const override;
39 void setEditorData(QWidget *editor,
const QModelIndex &
index)
const override;
#define EXPORT_OPT_MANTIDQT_COMMON
double value
The value of the point.
std::map< DeltaEMode::Type, std::string > index
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...