#include <properties_model.h>
Public Slots | |
void | propertyChanged (QStandardItem *property_item) |
Signals | |
void | propertyChanged (const QStandardItem *property_item, const CloudComposerItem *parent_item_) |
Public Member Functions | |
void | addCategory (const QString category_name) |
Helper function for adding a new property category. | |
void | addProperty (const QString prop_name, const QVariant value, const Qt::ItemFlags flags=Qt::ItemIsSelectable, const QString category="") |
Helper function for adding a new property. | |
void | copyProperties (const PropertiesModel *to_copy) |
QVariant | getProperty (const QString prop_name) const |
Helper function to get a property. | |
PropertiesModel (QObject *parent=0) | |
Constructor used for tool parameters. | |
PropertiesModel (CloudComposerItem *parent_item, QObject *parent=0) | |
Constructor used for item parameters. | |
PropertiesModel (const PropertiesModel &to_copy) | |
virtual | ~PropertiesModel () |
Private Attributes | |
CloudComposerItem * | parent_item_ |
Definition at line 50 of file properties_model.h.
pcl::cloud_composer::PropertiesModel::PropertiesModel | ( | QObject * | parent = 0 | ) |
Constructor used for tool parameters.
Definition at line 5 of file properties_model.cpp.
pcl::cloud_composer::PropertiesModel::PropertiesModel | ( | CloudComposerItem * | parent_item, |
QObject * | parent = 0 |
||
) |
Constructor used for item parameters.
Definition at line 14 of file properties_model.cpp.
pcl::cloud_composer::PropertiesModel::PropertiesModel | ( | const PropertiesModel & | to_copy | ) |
Definition at line 26 of file properties_model.cpp.
pcl::cloud_composer::PropertiesModel::~PropertiesModel | ( | ) | [virtual] |
Definition at line 43 of file properties_model.cpp.
void pcl::cloud_composer::PropertiesModel::addCategory | ( | const QString | category_name | ) |
Helper function for adding a new property category.
Definition at line 77 of file properties_model.cpp.
void pcl::cloud_composer::PropertiesModel::addProperty | ( | const QString | prop_name, |
const QVariant | value, | ||
const Qt::ItemFlags | flags = Qt::ItemIsSelectable , |
||
const QString | category = "" |
||
) |
Helper function for adding a new property.
Definition at line 49 of file properties_model.cpp.
void pcl::cloud_composer::PropertiesModel::copyProperties | ( | const PropertiesModel * | to_copy | ) |
Definition at line 109 of file properties_model.cpp.
QVariant pcl::cloud_composer::PropertiesModel::getProperty | ( | const QString | prop_name | ) | const |
Helper function to get a property.
Definition at line 84 of file properties_model.cpp.
void pcl::cloud_composer::PropertiesModel::propertyChanged | ( | QStandardItem * | property_item | ) | [slot] |
Definition at line 131 of file properties_model.cpp.
void pcl::cloud_composer::PropertiesModel::propertyChanged | ( | const QStandardItem * | property_item, |
const CloudComposerItem * | parent_item_ | ||
) | [signal] |
Definition at line 87 of file properties_model.h.