|
Mantid
|
#include <TableWidgetValidators.h>
Public Member Functions | |
| QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &, const QModelIndex &) const override |
| NumericInputDelegate (QWidget *parent=nullptr, int=DEFAULT_NUMERICAL_PRECISION) | |
| void | setEditorData (QWidget *editor, const QModelIndex &index) const override |
Private Attributes | |
| int | m_precision |
Definition at line 35 of file TableWidgetValidators.h.
| MantidQt::MantidWidgets::NumericInputDelegate::NumericInputDelegate | ( | QWidget * | parent = nullptr, |
| int | precision = DEFAULT_NUMERICAL_PRECISION |
||
| ) |
Definition at line 62 of file TableWidgetValidators.cpp.
|
override |
Definition at line 65 of file TableWidgetValidators.cpp.
References m_precision.
|
override |
Definition at line 76 of file TableWidgetValidators.cpp.
References index, m_precision, MantidQt::MantidWidgets::makeQStringNumber(), and value.
|
private |
Definition at line 42 of file TableWidgetValidators.h.
Referenced by createEditor(), and setEditorData().