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

#include <TableWidgetValidators.h>

Inheritance diagram for MantidQt::MantidWidgets::RegexInputDelegate:

Public Member Functions

QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &, const QModelIndex &) const override
 
 RegexInputDelegate (QWidget *parent=nullptr, const std::string &validator=DEFAULT_REGEX)
 

Private Attributes

QRegExp m_validator
 

Detailed Description

Definition at line 26 of file TableWidgetValidators.h.

Constructor & Destructor Documentation

◆ RegexInputDelegate()

MantidQt::MantidWidgets::RegexInputDelegate::RegexInputDelegate ( QWidget *  parent = nullptr,
const std::string &  validator = DEFAULT_REGEX 
)

Definition at line 51 of file TableWidgetValidators.cpp.

Member Function Documentation

◆ createEditor()

QWidget * MantidQt::MantidWidgets::RegexInputDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  ,
const QModelIndex &   
) const
override

Definition at line 54 of file TableWidgetValidators.cpp.

References m_validator.

Member Data Documentation

◆ m_validator

QRegExp MantidQt::MantidWidgets::RegexInputDelegate::m_validator
private

Definition at line 32 of file TableWidgetValidators.h.

Referenced by createEditor().


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