Marlin
01.17.01
|
#include <icoldelegate.h>
Public Slots | |
void | addCollection () |
void | remCollection () |
Public Member Functions | |
IColDelegate (const IColDelegate &)=default | |
IColDelegate & | operator= (const IColDelegate &)=default |
IColDelegate (CCProcessor *p, MarlinSteerCheck *msc, const QString &name, const QString &type, 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 | |
std::string | _name {} |
std::string | _type {} |
CCProcessor * | _p {} |
MarlinSteerCheck * | _msc {} |
QTableWidget * | _parent {} |
Definition at line 20 of file icoldelegate.h.
|
default |
IColDelegate::IColDelegate | ( | CCProcessor * | p, |
MarlinSteerCheck * | msc, | ||
const QString & | name, | ||
const QString & | type, | ||
QObject * | parent = 0 |
||
) |
|
slot |
Definition at line 87 of file icoldelegate.cpp.
References _msc, _name, _p, _parent, _type, marlin::CCProcessor::addCol(), std::set< K >::begin(), marlin::MarlinSteerCheck::consistencyCheck(), marlin::MarlinSteerCheck::getColsSet(), INPUT, marlin::CCProcessor::isActive(), marlin::CCProcessor::isErrorCol(), and std::set< K >::size().
QWidget * IColDelegate::createEditor | ( | QWidget * | parent, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 16 of file icoldelegate.cpp.
References _msc, _name, _p, _type, std::set< K >::begin(), std::set< K >::end(), and marlin::MarlinSteerCheck::getColsSet().
|
default |
|
slot |
Definition at line 110 of file icoldelegate.cpp.
References _name, _p, _parent, INPUT, and marlin::CCProcessor::remCol().
void IColDelegate::setEditorData | ( | QWidget * | editor, |
const QModelIndex & | index | ||
) | const |
Definition at line 34 of file icoldelegate.cpp.
References _p, _parent, _type, marlin::CCProcessor::isActive(), and marlin::CCProcessor::isErrorCol().
void IColDelegate::setModelData | ( | QWidget * | editor, |
QAbstractItemModel * | model, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 62 of file icoldelegate.cpp.
References _msc, _name, _p, _parent, _type, marlin::MarlinSteerCheck::consistencyCheck(), marlin::CCProcessor::getCols(), INPUT, marlin::CCProcessor::isActive(), and marlin::CCProcessor::isErrorCol().
|
private |
Definition at line 41 of file icoldelegate.h.
Referenced by addCollection(), createEditor(), IColDelegate(), and setModelData().
|
private |
Definition at line 38 of file icoldelegate.h.
Referenced by addCollection(), createEditor(), IColDelegate(), remCollection(), and setModelData().
|
private |
Definition at line 40 of file icoldelegate.h.
Referenced by addCollection(), createEditor(), IColDelegate(), remCollection(), setEditorData(), and setModelData().
|
private |
Definition at line 42 of file icoldelegate.h.
Referenced by addCollection(), IColDelegate(), remCollection(), setEditorData(), and setModelData().
|
private |
Definition at line 39 of file icoldelegate.h.
Referenced by addCollection(), createEditor(), IColDelegate(), setEditorData(), and setModelData().