#include <parameter_dialog.h>
Public Member Functions | |
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
ParameterDelegate (std::map< std::string, Parameter * > ¶meterMap, QObject *parent=0) | |
void | setEditorData (QWidget *editor, const QModelIndex &index) const |
void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Protected Member Functions | |
void | initStyleOption (QStyleOptionViewItem *option, const QModelIndex &index) const |
Private Member Functions | |
Parameter * | getCurrentParameter (const QModelIndex &index) const |
Private Attributes | |
std::map< std::string, Parameter * > & | parameter_map_ |
Definition at line 83 of file parameter_dialog.h.
pcl::modeler::ParameterDelegate::ParameterDelegate | ( | std::map< std::string, Parameter * > & | parameterMap, |
QObject * | parent = 0 |
||
) |
Definition at line 166 of file parameter_dialog.cpp.
QWidget * pcl::modeler::ParameterDelegate::createEditor | ( | QWidget * | parent, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 174 of file parameter_dialog.cpp.
pcl::modeler::Parameter * pcl::modeler::ParameterDelegate::getCurrentParameter | ( | const QModelIndex & | index | ) | const [private] |
Definition at line 150 of file parameter_dialog.cpp.
void pcl::modeler::ParameterDelegate::initStyleOption | ( | QStyleOptionViewItem * | option, |
const QModelIndex & | index | ||
) | const [protected] |
Definition at line 202 of file parameter_dialog.cpp.
void pcl::modeler::ParameterDelegate::setEditorData | ( | QWidget * | editor, |
const QModelIndex & | index | ||
) | const |
Definition at line 181 of file parameter_dialog.cpp.
void pcl::modeler::ParameterDelegate::setModelData | ( | QWidget * | editor, |
QAbstractItemModel * | model, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 188 of file parameter_dialog.cpp.
void pcl::modeler::ParameterDelegate::updateEditorGeometry | ( | QWidget * | editor, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 195 of file parameter_dialog.cpp.
std::map<std::string, Parameter*>& pcl::modeler::ParameterDelegate::parameter_map_ [private] |
Definition at line 109 of file parameter_dialog.h.