QXRD
0.11.16
|
#include <qxrdroitypedelegate.h>
Public Member Functions | |
QxrdROITypeDelegate (QWidget *parent=0) | |
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const Q_DECL_OVERRIDE |
void | setEditorData (QWidget *editor, const QModelIndex &index) const Q_DECL_OVERRIDE |
void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const Q_DECL_OVERRIDE |
Private Slots | |
void | typeChanged (int newType) |
Definition at line 6 of file qxrdroitypedelegate.h.
QxrdROITypeDelegate::QxrdROITypeDelegate | ( | QWidget * | parent = 0 | ) |
Definition at line 7 of file qxrdroitypedelegate.cpp.
QWidget * QxrdROITypeDelegate::createEditor | ( | QWidget * | parent, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 13 of file qxrdroitypedelegate.cpp.
References QxrdROICoordinates::roiTypeCount(), QxrdROICoordinates::roiTypeName, and QxrdROICoordinatesListModel::TypeCol.
void QxrdROITypeDelegate::setEditorData | ( | QWidget * | editor, |
const QModelIndex & | index | ||
) | const |
Definition at line 30 of file qxrdroitypedelegate.cpp.
References typeChanged(), and QxrdROICoordinatesListModel::TypeCol.
void QxrdROITypeDelegate::setModelData | ( | QWidget * | editor, |
QAbstractItemModel * | model, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 52 of file qxrdroitypedelegate.cpp.
References QxrdROICoordinatesListModel::TypeCol.
|
privateslot |
Definition at line 68 of file qxrdroitypedelegate.cpp.
Referenced by setEditorData().