View class for displaying properties of an item. More...
#include <item_inspector.h>
Public Slots | |
void | itemChanged (QStandardItem *item) |
void | selectionChanged (const QModelIndex ¤t, const QModelIndex &previous) |
void | setModel (ProjectModel *new_model) |
Public Member Functions | |
ItemInspector (QWidget *parent=0) | |
virtual | ~ItemInspector () |
Private Member Functions | |
void | createItemWidgets () |
void | removeTabs () |
Removes the extra tabs the item might have. | |
void | restoreTreeState () |
Retores the state of. | |
void | storeTreeState () |
Stores the state of the current tree view in item_treestate_map_. | |
void | updateView () |
Refreshes the data shown in the current displayed view widget. | |
Private Attributes | |
PropertiesModel * | current_item_properties_model_ |
ProjectModel * | current_project_model_ |
const QItemSelectionModel * | current_selection_model_ |
QMap< QStandardItemModel *, QList < QPersistentModelIndex > > | item_treestate_map_ |
QMap< QString, QWidget * > | itemtype_widget_map |
QTreeView * | parameter_view_ |
The tree object used to display/edit parameters. |
View class for displaying properties of an item.
Definition at line 54 of file item_inspector.h.
pcl::cloud_composer::ItemInspector::ItemInspector | ( | QWidget * | parent = 0 | ) |
Definition at line 6 of file item_inspector.cpp.
pcl::cloud_composer::ItemInspector::~ItemInspector | ( | ) | [virtual] |
Definition at line 19 of file item_inspector.cpp.
void pcl::cloud_composer::ItemInspector::createItemWidgets | ( | ) | [private] |
void pcl::cloud_composer::ItemInspector::itemChanged | ( | QStandardItem * | item | ) | [slot] |
Definition at line 95 of file item_inspector.cpp.
void pcl::cloud_composer::ItemInspector::removeTabs | ( | ) | [private] |
Removes the extra tabs the item might have.
Definition at line 102 of file item_inspector.cpp.
void pcl::cloud_composer::ItemInspector::restoreTreeState | ( | ) | [private] |
Retores the state of.
model | 's view from item_treestate_map_ |
Definition at line 78 of file item_inspector.cpp.
void pcl::cloud_composer::ItemInspector::selectionChanged | ( | const QModelIndex & | current, |
const QModelIndex & | previous | ||
) | [slot] |
Definition at line 50 of file item_inspector.cpp.
void pcl::cloud_composer::ItemInspector::setModel | ( | ProjectModel * | new_model | ) | [slot] |
Definition at line 25 of file item_inspector.cpp.
void pcl::cloud_composer::ItemInspector::storeTreeState | ( | ) | [private] |
Stores the state of the current tree view in item_treestate_map_.
Definition at line 61 of file item_inspector.cpp.
void pcl::cloud_composer::ItemInspector::updateView | ( | ) | [private] |
Refreshes the data shown in the current displayed view widget.
Definition at line 109 of file item_inspector.cpp.
Definition at line 92 of file item_inspector.h.
Definition at line 91 of file item_inspector.h.
const QItemSelectionModel* pcl::cloud_composer::ItemInspector::current_selection_model_ [private] |
Definition at line 93 of file item_inspector.h.
QMap<QStandardItemModel*, QList <QPersistentModelIndex> > pcl::cloud_composer::ItemInspector::item_treestate_map_ [private] |
Definition at line 95 of file item_inspector.h.
QMap<QString, QWidget*> pcl::cloud_composer::ItemInspector::itemtype_widget_map [private] |
Definition at line 94 of file item_inspector.h.
QTreeView* pcl::cloud_composer::ItemInspector::parameter_view_ [private] |
The tree object used to display/edit parameters.
Definition at line 88 of file item_inspector.h.