14#include <QRegularExpression>
15#include <QRegularExpressionValidator>
24 m_uiForm.leWorkspaceIndices->setValidator(
new QRegularExpressionValidator(QRegularExpression(validatorString),
this));
30 connect(
m_uiForm.pbClose, SIGNAL(clicked()),
this, SLOT(close()));
34 return m_uiForm.dsWorkspace->getCurrentDataName().toStdString();
46 m_uiForm.dsWorkspace->setLoadProperty(propName, enable);
50 auto const state =
m_uiForm.ckAllSpectra->isChecked() ? Qt::Checked : Qt::Unchecked;
58 m_uiForm.leWorkspaceIndices->setEnabled(
false);
60 m_uiForm.leWorkspaceIndices->setEnabled(
true);
84 if (
m_uiForm.ckAllSpectra->isChecked()) {
86 m_uiForm.leWorkspaceIndices->setEnabled(
false);
IPeaksWorkspace_sptr workspace