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

#include <toolbox_model.h>

List of all members.

Public Slots

void activeProjectChanged (ProjectModel *new_model, ProjectModel *previous_model)
void modelChanged ()
 This slot is called whenever the current project model emits layoutChanged, and calls updateEnabledTools.
void selectedItemChanged (const QItemSelection &selected, const QItemSelection &deselected)
 This slot is called when the selection in cloud browser changes. Updates enabling of tools.
void selectedToolChanged (const QModelIndex &current, const QModelIndex &previous)
void toolAction ()

Signals

void enqueueToolAction (AbstractTool *tool)

Public Member Functions

void addTool (ToolFactory *tool_factory)
void enableAllTools ()
void setSelectionModel (QItemSelectionModel *selection_model)
 ToolBoxModel (QTreeView *tool_view=0, QTreeView *parameter_view=0, QObject *parent=0)
 ToolBoxModel (const ToolBoxModel &to_copy)
void updateEnabledTools (const QItemSelection current_selection)
 Enables/Disables Tools based on currently selected items from model.
virtual ~ToolBoxModel ()

Private Member Functions

QStandardItem * addToolGroup (QString tool_group_name)

Private Attributes

QTreeView * parameter_view_
ProjectModelproject_model_
QItemSelectionModel * selection_model_
QSet< QStandardItem * > tool_items
QTreeView * tool_view_

Detailed Description

Definition at line 62 of file toolbox_model.h.


Constructor & Destructor Documentation

pcl::cloud_composer::ToolBoxModel::ToolBoxModel ( QTreeView *  tool_view = 0,
QTreeView *  parameter_view = 0,
QObject *  parent = 0 
)

Definition at line 8 of file toolbox_model.cpp.

Definition at line 17 of file toolbox_model.cpp.

Definition at line 22 of file toolbox_model.cpp.


Member Function Documentation

void pcl::cloud_composer::ToolBoxModel::activeProjectChanged ( ProjectModel new_model,
ProjectModel previous_model 
) [slot]

Definition at line 76 of file toolbox_model.cpp.

Definition at line 27 of file toolbox_model.cpp.

QStandardItem * pcl::cloud_composer::ToolBoxModel::addToolGroup ( QString  tool_group_name) [private]

Definition at line 54 of file toolbox_model.cpp.

Definition at line 141 of file toolbox_model.cpp.

This slot is called whenever the current project model emits layoutChanged, and calls updateEnabledTools.

Definition at line 150 of file toolbox_model.cpp.

void pcl::cloud_composer::ToolBoxModel::selectedItemChanged ( const QItemSelection &  selected,
const QItemSelection &  deselected 
) [slot]

This slot is called when the selection in cloud browser changes. Updates enabling of tools.

Definition at line 135 of file toolbox_model.cpp.

void pcl::cloud_composer::ToolBoxModel::selectedToolChanged ( const QModelIndex &  current,
const QModelIndex &  previous 
) [slot]

Definition at line 103 of file toolbox_model.cpp.

void pcl::cloud_composer::ToolBoxModel::setSelectionModel ( QItemSelectionModel *  selection_model)

Definition at line 48 of file toolbox_model.cpp.

Definition at line 118 of file toolbox_model.cpp.

void pcl::cloud_composer::ToolBoxModel::updateEnabledTools ( const QItemSelection  current_selection)

Enables/Disables Tools based on currently selected items from model.

Definition at line 155 of file toolbox_model.cpp.


Member Data Documentation

Definition at line 110 of file toolbox_model.h.

Definition at line 114 of file toolbox_model.h.

Definition at line 111 of file toolbox_model.h.

QSet<QStandardItem*> pcl::cloud_composer::ToolBoxModel::tool_items [private]

Definition at line 112 of file toolbox_model.h.

Definition at line 109 of file toolbox_model.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:48