Public Member Functions | Public Attributes | Private Slots | Private Member Functions | Private Attributes | List of all members
moveit_setup_assistant::EndEffectorsWidget Class Reference

#include <end_effectors_widget.h>

Inheritance diagram for moveit_setup_assistant::EndEffectorsWidget:
Inheritance graph
[legend]

Public Member Functions

 EndEffectorsWidget (QWidget *parent, moveit_setup_assistant::MoveItConfigDataPtr config_data)
 
virtual void focusGiven ()
 Received when this widget is chosen from the navigation menu. More...
 
- Public Member Functions inherited from SetupScreenWidget
virtual bool focusLost ()
 function called when widget lost focus, allows to accept/reject changes and to reject switching (returning false) More...
 
 SetupScreenWidget (QWidget *parent)
 

Public Attributes

QPushButton * btn_cancel_
 
QPushButton * btn_delete_
 
QPushButton * btn_edit_
 
QPushButton * btn_save_
 
QTableWidget * data_table_
 
QWidget * effector_edit_widget_
 
QWidget * effector_list_widget_
 
QLineEdit * effector_name_field_
 
QComboBox * group_name_field_
 
QComboBox * parent_group_name_field_
 
QComboBox * parent_name_field_
 
QStackedLayout * stacked_layout_
 

Private Slots

void cancelEditing ()
 Cancel changes. More...
 
void deleteSelected ()
 Delete currently editing ite. More...
 
void doneEditing ()
 Save editing changes. More...
 
void editDoubleClicked (int row, int column)
 Edit the double clicked element. More...
 
void editSelected ()
 Edit whatever element is selected. More...
 
void previewClicked (int row, int column)
 Preview whatever element is selected. More...
 
void previewClickedString (const QString &name)
 Preview the planning group that is selected. More...
 
void showNewScreen ()
 Show edit screen. More...
 

Private Member Functions

QWidget * createContentsWidget ()
 
QWidget * createEditWidget ()
 
void edit (const std::string &name)
 
srdf::Model::EndEffectorfindEffectorByName (const std::string &name)
 
void loadDataTable ()
 
void loadGroupsComboBox ()
 
void loadParentComboBox ()
 

Private Attributes

moveit_setup_assistant::MoveItConfigDataPtr config_data_
 Contains all the configuration data for the setup assistant. More...
 
std::string current_edit_effector_
 Orignal name of effector currently being edited. This is used to find the element in the vector. More...
 

Additional Inherited Members

- Signals inherited from SetupScreenWidget
void highlightGroup (const std::string &name)
 Event for telling rviz to highlight a group of the robot. More...
 
void highlightLink (const std::string &name, const QColor &)
 Event for telling rviz to highlight a link of the robot. More...
 
void isModal (bool isModal)
 Event for when the current screen is in modal view. Essential disabled the left navigation. More...
 
void unhighlightAll ()
 Event for telling rviz to unhighlight all links of the robot. More...
 

Detailed Description

Definition at line 63 of file end_effectors_widget.h.

Constructor & Destructor Documentation

moveit_setup_assistant::EndEffectorsWidget::EndEffectorsWidget ( QWidget *  parent,
moveit_setup_assistant::MoveItConfigDataPtr  config_data 
)

Definition at line 49 of file end_effectors_widget.cpp.

Member Function Documentation

void moveit_setup_assistant::EndEffectorsWidget::cancelEditing ( )
privateslot

Cancel changes.

Definition at line 586 of file end_effectors_widget.cpp.

QWidget * moveit_setup_assistant::EndEffectorsWidget::createContentsWidget ( )
private

Create the main list view of effectors for robot

Returns
the widget

Definition at line 88 of file end_effectors_widget.cpp.

QWidget * moveit_setup_assistant::EndEffectorsWidget::createEditWidget ( )
private

Create the screen for editing effectors

Returns
the widget

Definition at line 158 of file end_effectors_widget.cpp.

void moveit_setup_assistant::EndEffectorsWidget::deleteSelected ( )
privateslot

Delete currently editing ite.

Definition at line 426 of file end_effectors_widget.cpp.

void moveit_setup_assistant::EndEffectorsWidget::doneEditing ( )
privateslot

Save editing changes.

Definition at line 468 of file end_effectors_widget.cpp.

void moveit_setup_assistant::EndEffectorsWidget::edit ( const std::string &  name)
private

Edit the effector with the input name

Parameters
namename of effector

Definition at line 312 of file end_effectors_widget.cpp.

void moveit_setup_assistant::EndEffectorsWidget::editDoubleClicked ( int  row,
int  column 
)
privateslot

Edit the double clicked element.

Definition at line 250 of file end_effectors_widget.cpp.

void moveit_setup_assistant::EndEffectorsWidget::editSelected ( )
privateslot

Edit whatever element is selected.

Definition at line 296 of file end_effectors_widget.cpp.

srdf::Model::EndEffector * moveit_setup_assistant::EndEffectorsWidget::findEffectorByName ( const std::string &  name)
private

Find the associated data by name

Parameters
name- name of data to find in datastructure
Returns
pointer to data in datastructure

Definition at line 398 of file end_effectors_widget.cpp.

void moveit_setup_assistant::EndEffectorsWidget::focusGiven ( )
virtual

Received when this widget is chosen from the navigation menu.

Reimplemented from SetupScreenWidget.

Definition at line 654 of file end_effectors_widget.cpp.

void moveit_setup_assistant::EndEffectorsWidget::loadDataTable ( )
private

Load the robot effectors into the table

Definition at line 601 of file end_effectors_widget.cpp.

void moveit_setup_assistant::EndEffectorsWidget::loadGroupsComboBox ( )
private

Populate the combo dropdown box with avail group names

Definition at line 360 of file end_effectors_widget.cpp.

void moveit_setup_assistant::EndEffectorsWidget::loadParentComboBox ( )
private

Populate the combo dropdown box with avail parent links

Definition at line 379 of file end_effectors_widget.cpp.

void moveit_setup_assistant::EndEffectorsWidget::previewClicked ( int  row,
int  column 
)
privateslot

Preview whatever element is selected.

Definition at line 258 of file end_effectors_widget.cpp.

void moveit_setup_assistant::EndEffectorsWidget::previewClickedString ( const QString &  name)
privateslot

Preview the planning group that is selected.

Definition at line 280 of file end_effectors_widget.cpp.

void moveit_setup_assistant::EndEffectorsWidget::showNewScreen ( )
privateslot

Show edit screen.

Definition at line 229 of file end_effectors_widget.cpp.

Member Data Documentation

QPushButton* moveit_setup_assistant::EndEffectorsWidget::btn_cancel_

Definition at line 84 of file end_effectors_widget.h.

QPushButton* moveit_setup_assistant::EndEffectorsWidget::btn_delete_

Definition at line 82 of file end_effectors_widget.h.

QPushButton* moveit_setup_assistant::EndEffectorsWidget::btn_edit_

Definition at line 81 of file end_effectors_widget.h.

QPushButton* moveit_setup_assistant::EndEffectorsWidget::btn_save_

Definition at line 83 of file end_effectors_widget.h.

moveit_setup_assistant::MoveItConfigDataPtr moveit_setup_assistant::EndEffectorsWidget::config_data_
private

Contains all the configuration data for the setup assistant.

Definition at line 129 of file end_effectors_widget.h.

std::string moveit_setup_assistant::EndEffectorsWidget::current_edit_effector_
private

Orignal name of effector currently being edited. This is used to find the element in the vector.

Definition at line 132 of file end_effectors_widget.h.

QTableWidget* moveit_setup_assistant::EndEffectorsWidget::data_table_

Definition at line 80 of file end_effectors_widget.h.

QWidget* moveit_setup_assistant::EndEffectorsWidget::effector_edit_widget_

Definition at line 91 of file end_effectors_widget.h.

QWidget* moveit_setup_assistant::EndEffectorsWidget::effector_list_widget_

Definition at line 90 of file end_effectors_widget.h.

QLineEdit* moveit_setup_assistant::EndEffectorsWidget::effector_name_field_

Definition at line 86 of file end_effectors_widget.h.

QComboBox* moveit_setup_assistant::EndEffectorsWidget::group_name_field_

Definition at line 89 of file end_effectors_widget.h.

QComboBox* moveit_setup_assistant::EndEffectorsWidget::parent_group_name_field_

Definition at line 88 of file end_effectors_widget.h.

QComboBox* moveit_setup_assistant::EndEffectorsWidget::parent_name_field_

Definition at line 87 of file end_effectors_widget.h.

QStackedLayout* moveit_setup_assistant::EndEffectorsWidget::stacked_layout_

Definition at line 85 of file end_effectors_widget.h.


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


moveit_setup_assistant
Author(s): Dave Coleman
autogenerated on Sun Oct 18 2020 13:19:28