10#include "ui_UserFunctionDialog.h"
20namespace MantidWidgets {
30 QStringList categories()
const;
31 QString
getFormula()
const {
return m_uiForm.teUserFunction->toPlainText(); }
34 void selectCategory(
const QString &cat);
35 void selectFunction(
const QString &fun);
38 void removeCurrentFunction();
39 void updateCategories();
40 void updateFunction();
44 bool eventFilter(QObject *
obj, QEvent *ev)
override;
47 void checkParameters(QString &expr);
48 QSet<QString> categoryNames()
const;
49 QSet<QString> functionNames(
const QString &cat)
const;
50 QString getCurrentCategory()
const;
51 QString getFunction(
const QString &cat,
const QString &fun)
const;
52 QString getComment(
const QString &cat,
const QString &fun)
const;
53 void setFunction(
const QString &cat,
const QString &fun,
const QString &expr,
const QString &comment =
"");
54 bool isBuiltin(
const QString &cat)
const;
73 void getFunctionName(QString &category, QString &name, QString &comment);
#define EXPORT_OPT_MANTIDQT_COMMON
double obj
the value of the quadratic function
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...