Marlin
01.17.01
|
#include <paramdelegate.h>
Public Member Functions | |
ParamDelegate (const ParamDelegate &)=default | |
ParamDelegate & | operator= (const ParamDelegate &)=default |
ParamDelegate (CCProcessor *p, 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 {} |
QTableWidget * | _parent {} |
Definition at line 19 of file paramdelegate.h.
|
default |
ParamDelegate::ParamDelegate | ( | CCProcessor * | p, |
QObject * | parent = 0 |
||
) |
Definition at line 5 of file paramdelegate.cpp.
QWidget * ParamDelegate::createEditor | ( | QWidget * | parent, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 10 of file paramdelegate.cpp.
|
default |
void ParamDelegate::setEditorData | ( | QWidget * | editor, |
const QModelIndex & | index | ||
) | const |
Definition at line 21 of file paramdelegate.cpp.
void ParamDelegate::setModelData | ( | QWidget * | editor, |
QAbstractItemModel * | model, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 27 of file paramdelegate.cpp.
References _p, _parent, marlin::CCProcessor::getParameters(), and std::vector< T >::push_back().
|
private |
Definition at line 33 of file paramdelegate.h.
Referenced by ParamDelegate(), and setModelData().
|
private |
Definition at line 34 of file paramdelegate.h.
Referenced by ParamDelegate(), and setModelData().