#include <parameter.h>
Public Member Functions | |
virtual QWidget * | createEditor (QWidget *parent) |
EnumParameter (const std::string &name, const std::string &description, T value, const std::map< T, std::string > &candidates) | |
operator T () const | |
virtual void | setEditorData (QWidget *editor) |
virtual std::pair< QVariant, int > | toModelData () |
virtual std::string | valueTip () |
~EnumParameter () | |
Protected Member Functions | |
virtual void | getEditorData (QWidget *editor) |
Protected Attributes | |
const std::map< T, std::string > | candidates_ |
Definition at line 172 of file parameter.h.
pcl::modeler::EnumParameter< T >::EnumParameter | ( | const std::string & | name, |
const std::string & | description, | ||
T | value, | ||
const std::map< T, std::string > & | candidates | ||
) | [inline] |
Definition at line 175 of file parameter.h.
pcl::modeler::EnumParameter< T >::~EnumParameter | ( | ) | [inline] |
Definition at line 177 of file parameter.h.
QWidget * pcl::modeler::EnumParameter< T >::createEditor | ( | QWidget * | parent | ) | [virtual] |
Implements pcl::modeler::Parameter.
Definition at line 66 of file parameter.hpp.
void pcl::modeler::EnumParameter< T >::getEditorData | ( | QWidget * | editor | ) | [protected, virtual] |
Implements pcl::modeler::Parameter.
Definition at line 91 of file parameter.hpp.
pcl::modeler::EnumParameter< T >::operator T | ( | ) | const [inline] |
Definition at line 179 of file parameter.h.
void pcl::modeler::EnumParameter< T >::setEditorData | ( | QWidget * | editor | ) | [virtual] |
Implements pcl::modeler::Parameter.
Definition at line 81 of file parameter.hpp.
std::pair< QVariant, int > pcl::modeler::EnumParameter< T >::toModelData | ( | ) | [virtual] |
Implements pcl::modeler::Parameter.
Definition at line 100 of file parameter.hpp.
std::string pcl::modeler::EnumParameter< T >::valueTip | ( | ) | [virtual] |
Implements pcl::modeler::Parameter.
Definition at line 48 of file parameter.hpp.
const std::map<T, std::string> pcl::modeler::EnumParameter< T >::candidates_ [protected] |
Definition at line 197 of file parameter.h.