Marlin
01.17.01
|
#include <icoltdelegate.h>
Public Member Functions | |
IColTDelegate (const IColTDelegate &)=default | |
IColTDelegate & | operator= (const IColTDelegate &)=default |
IColTDelegate (CCProcessor *p, MarlinSteerCheck *msc, QObject *parent=0) | |
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
void | setEditorData (QWidget *editor, const QModelIndex &index) const |
void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
Private Attributes | |
CCProcessor * | _p {} |
MarlinSteerCheck * | _msc {} |
QTableWidget * | _parent {} |
Definition at line 20 of file icoltdelegate.h.
|
default |
IColTDelegate::IColTDelegate | ( | CCProcessor * | p, |
MarlinSteerCheck * | msc, | ||
QObject * | parent = 0 |
||
) |
Definition at line 8 of file icoltdelegate.cpp.
QWidget * IColTDelegate::createEditor | ( | QWidget * | parent, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 14 of file icoltdelegate.cpp.
References _msc, _p, _parent, std::set< K >::begin(), std::set< K >::end(), and marlin::MarlinSteerCheck::getColsSet().
|
default |
void IColTDelegate::setEditorData | ( | QWidget * | editor, |
const QModelIndex & | index | ||
) | const |
Definition at line 38 of file icoltdelegate.cpp.
References _p, _parent, marlin::CCProcessor::isActive(), and marlin::CCProcessor::isErrorCol().
void IColTDelegate::setModelData | ( | QWidget * | editor, |
QAbstractItemModel * | model, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 76 of file icoltdelegate.cpp.
References _msc, _p, _parent, marlin::MarlinSteerCheck::consistencyCheck(), marlin::CCProcessor::getCols(), INPUT, marlin::CCProcessor::isActive(), and marlin::CCProcessor::isErrorCol().
|
private |
Definition at line 35 of file icoltdelegate.h.
Referenced by createEditor(), IColTDelegate(), and setModelData().
|
private |
Definition at line 34 of file icoltdelegate.h.
Referenced by createEditor(), IColTDelegate(), setEditorData(), and setModelData().
|
private |
Definition at line 36 of file icoltdelegate.h.
Referenced by createEditor(), IColTDelegate(), setEditorData(), and setModelData().