Marlin
01.17.01
|
#include <ocoldelegate.h>
Public Member Functions | |
OColDelegate (const OColDelegate &)=default | |
OColDelegate & | operator= (const OColDelegate &)=default |
OColDelegate (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 ocoldelegate.h.
|
default |
OColDelegate::OColDelegate | ( | CCProcessor * | p, |
MarlinSteerCheck * | msc, | ||
QObject * | parent = 0 |
||
) |
Definition at line 8 of file ocoldelegate.cpp.
QWidget * OColDelegate::createEditor | ( | QWidget * | parent, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 14 of file ocoldelegate.cpp.
|
default |
void OColDelegate::setEditorData | ( | QWidget * | editor, |
const QModelIndex & | index | ||
) | const |
Definition at line 24 of file ocoldelegate.cpp.
References _p, _parent, marlin::CCProcessor::isActive(), and marlin::CCProcessor::isErrorCol().
void OColDelegate::setModelData | ( | QWidget * | editor, |
QAbstractItemModel * | model, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 37 of file ocoldelegate.cpp.
References _msc, _p, _parent, marlin::MarlinSteerCheck::consistencyCheck(), marlin::CCProcessor::getCols(), marlin::CCProcessor::isActive(), marlin::CCProcessor::isErrorCol(), and OUTPUT.
|
private |
Definition at line 35 of file ocoldelegate.h.
Referenced by OColDelegate(), and setModelData().
|
private |
Definition at line 34 of file ocoldelegate.h.
Referenced by OColDelegate(), setEditorData(), and setModelData().
|
private |
Definition at line 36 of file ocoldelegate.h.
Referenced by OColDelegate(), setEditorData(), and setModelData().