Public Slots | Public Member Functions | Private Member Functions | Private Attributes
pcl::cloud_composer::ItemInspector Class Reference

View class for displaying properties of an item. More...

#include <item_inspector.h>

List of all members.

Public Slots

void itemChanged (QStandardItem *item)
void selectionChanged (const QModelIndex &current, 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

PropertiesModelcurrent_item_properties_model_
ProjectModelcurrent_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.

Detailed Description

View class for displaying properties of an item.

Author:
Jeremie Papon

Definition at line 54 of file item_inspector.h.


Constructor & Destructor Documentation

Definition at line 6 of file item_inspector.cpp.

Definition at line 19 of file item_inspector.cpp.


Member Function Documentation

void pcl::cloud_composer::ItemInspector::itemChanged ( QStandardItem *  item) [slot]

Definition at line 95 of file item_inspector.cpp.

Removes the extra tabs the item might have.

Definition at line 102 of file item_inspector.cpp.

Retores the state of.

Parameters:
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.

Definition at line 25 of file item_inspector.cpp.

Stores the state of the current tree view in item_treestate_map_.

Definition at line 61 of file item_inspector.cpp.

Refreshes the data shown in the current displayed view widget.

Definition at line 109 of file item_inspector.cpp.


Member Data Documentation

Definition at line 92 of file item_inspector.h.

Definition at line 91 of file item_inspector.h.

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.

Definition at line 94 of file item_inspector.h.

The tree object used to display/edit parameters.

Definition at line 88 of file item_inspector.h.


The documentation for this class was generated from the following files:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:43:47