Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MantidQt::MantidWidgets::IntervalListValidator Class Reference

#include <MantidWSIndexDialog.h>

Inheritance diagram for MantidQt::MantidWidgets::IntervalListValidator:

Public Member Functions

 IntervalListValidator (QObject *parent, IntervalList intervals)
 Constructor - This object must know its parent QObject, as well as the IntervalList it is validating against. More...
 
State validate (QString &, int &) const override
 Overriden method to validate a given QString, at a particular position. More...
 

Private Attributes

IntervalList m_intervalList
 The IntervalList against which to validate. More...
 

Detailed Description

Definition at line 184 of file MantidWSIndexDialog.h.

Constructor & Destructor Documentation

◆ IntervalListValidator()

MantidQt::MantidWidgets::IntervalListValidator::IntervalListValidator ( QObject *  parent,
IntervalList  intervals 
)

Constructor - This object must know its parent QObject, as well as the IntervalList it is validating against.

Definition at line 1216 of file MantidWSIndexDialog.cpp.

Member Function Documentation

◆ validate()

QValidator::State MantidQt::MantidWidgets::IntervalListValidator::validate ( QString &  input,
int &  pos 
) const
override

Overriden method to validate a given QString, at a particular position.

Definition at line 1219 of file MantidWSIndexDialog.cpp.

References MantidQt::MantidWidgets::IntervalList::isParsable(), m_intervalList, and UNUSED_ARG.

Member Data Documentation

◆ m_intervalList

IntervalList MantidQt::MantidWidgets::IntervalListValidator::m_intervalList
private

The IntervalList against which to validate.

Definition at line 197 of file MantidWSIndexDialog.h.

Referenced by validate().


The documentation for this class was generated from the following files: