29namespace MantidWidgets {
83 bool canMerge(
const Interval & )
const;
92 std::set<int> getIntSet()
const;
97 bool contains(
const Interval & )
const;
100 std::string toStdString()
const;
102 QString toQString()
const;
106 void init(
int ,
int );
124 int totalIntervalLength()
const;
128 std::string toStdString(
int numOfIntervals = 6)
const;
132 QString toQString(
int numOfIntervals = 6)
const;
135 void addInterval(
int single);
139 void addInterval(
int start,
int end);
141 void addIntervals(QString );
152 std::set<int> getIntSet()
const;
157 bool contains(
const Interval & )
const;
165 static bool isParsable(
const QString & );
170 static bool isParsable(
const QString & ,
const IntervalList & );
193 State validate(QString & ,
int & )
const override;
218 void setError(
const QString &
error);
267 const bool showWaterfallOption =
false,
const bool showTiledOption =
false,
268 const bool isAdvanced =
false);
277 bool is1DPlotSelected()
const;
279 bool isWaterfallPlotSelected()
const;
281 bool plotRequested();
283 bool plotAllRequested();
285 bool validatePlotOptions();
287 bool isTiledPlotSelected()
const;
289 bool isSurfacePlotSelected()
const;
291 bool isContourPlotSelected()
const;
293 bool isErrorBarsSelected()
const;
297 void editedWsField();
299 void editedSpectraField();
301 void onLogSelected(
const QString &logName);
303 void onPlotOptionChanged(
const QString &logName);
309 void initWorkspaceBox();
311 void initSpectraBox();
313 void initOptionsBoxes();
317 void populateLogComboBox();
321 bool isSuitableForContourOrSurfacePlot()
const;
323 bool isSuitableForLogValues(
const QString &plotOption)
const;
325 const QString getAxisName()
const;
327 const QString getLogName()
const;
329 const std::set<double> getCustomLogValues()
const;
331 void showPlotOptionsError(
const QString &message);
333 int getPlotIndex()
const;
336 void checkForSpectraAxes();
340 void generateWsIndexIntervals();
343 void generateSpectraNumIntervals();
346 bool usingSpectraNumbers()
const;
361 QLabel *m_wsMessage, *m_spectraMessage, *m_orMessage, *m_plotOptionLabel, *m_logLabel, *
m_customLogLabel,
365 QVBoxLayout *m_outer, *m_wsBox, *m_spectraBox, *
m_logBox, *m_optionsBox;
378 bool m_usingWsIndexChoice =
false, m_usingSprectraNumChoice =
false;
387 const bool showWaterfallOption =
false,
const bool showPlotAll =
true,
388 const bool showTiledOption =
false,
const bool isAdvanced =
false);
396 bool is1DPlotSelected()
const;
398 bool isWaterfallPlotSelected()
const;
400 bool isTiledPlotSelected()
const;
402 bool isSurfacePlotSelected()
const;
404 bool isContourPlotSelected()
const;
406 bool isErrorBarsSelected()
const;
416 void init(
bool isAdvanced);
#define EXPORT_OPT_MANTIDQT_COMMON
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)