#include <end_effectors_widget.h>
Public Member Functions | |
EndEffectorsWidget (QWidget *parent, moveit_setup_assistant::MoveItConfigDataPtr config_data) | |
virtual void | focusGiven () |
Recieved when this widget is chosen from the navigation menu. | |
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. | |
void | deleteSelected () |
Delete currently editing ite. | |
void | doneEditing () |
Save editing changes. | |
void | editDoubleClicked (int row, int column) |
Edit the double clicked element. | |
void | editSelected () |
Edit whatever element is selected. | |
void | previewClicked (int row, int column) |
Preview whatever element is selected. | |
void | previewClickedString (const QString &name) |
Preview the planning group that is selected. | |
void | showNewScreen () |
Show edit screen. | |
Private Member Functions | |
QWidget * | createContentsWidget () |
QWidget * | createEditWidget () |
void | edit (const std::string &name) |
srdf::Model::EndEffector * | findEffectorByName (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. | |
std::string | current_edit_effector_ |
Orignal name of effector currently being edited. This is used to find the element in the vector. |
Definition at line 64 of file end_effectors_widget.h.
moveit_setup_assistant::EndEffectorsWidget::EndEffectorsWidget | ( | QWidget * | parent, |
moveit_setup_assistant::MoveItConfigDataPtr | config_data | ||
) |
Definition at line 50 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::cancelEditing | ( | ) | [private, slot] |
Cancel changes.
Definition at line 579 of file end_effectors_widget.cpp.
QWidget * moveit_setup_assistant::EndEffectorsWidget::createContentsWidget | ( | ) | [private] |
Create the main list view of effectors for robot
Definition at line 88 of file end_effectors_widget.cpp.
QWidget * moveit_setup_assistant::EndEffectorsWidget::createEditWidget | ( | ) | [private] |
Create the screen for editing effectors
Definition at line 159 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::deleteSelected | ( | ) | [private, slot] |
Delete currently editing ite.
Definition at line 430 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::doneEditing | ( | ) | [private, slot] |
Save editing changes.
Definition at line 473 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::edit | ( | const std::string & | name | ) | [private] |
Edit the effector with the input name
name | name of effector |
Definition at line 314 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::editDoubleClicked | ( | int | row, |
int | column | ||
) | [private, slot] |
Edit the double clicked element.
Definition at line 252 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::editSelected | ( | ) | [private, slot] |
Edit whatever element is selected.
Definition at line 298 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
name | - name of data to find in datastructure |
Definition at line 402 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::focusGiven | ( | ) | [virtual] |
Recieved when this widget is chosen from the navigation menu.
Reimplemented from SetupScreenWidget.
Definition at line 647 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::loadDataTable | ( | ) | [private] |
Load the robot effectors into the table
Definition at line 594 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 362 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 382 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::previewClicked | ( | int | row, |
int | column | ||
) | [private, slot] |
Preview whatever element is selected.
Definition at line 260 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::previewClickedString | ( | const QString & | name | ) | [private, slot] |
Preview the planning group that is selected.
Definition at line 282 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::showNewScreen | ( | ) | [private, slot] |
Show edit screen.
Definition at line 231 of file end_effectors_widget.cpp.
Definition at line 85 of file end_effectors_widget.h.
Definition at line 83 of file end_effectors_widget.h.
Definition at line 82 of file end_effectors_widget.h.
Definition at line 84 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 131 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 134 of file end_effectors_widget.h.
QTableWidget* moveit_setup_assistant::EndEffectorsWidget::data_table_ |
Definition at line 81 of file end_effectors_widget.h.
Definition at line 92 of file end_effectors_widget.h.
Definition at line 91 of file end_effectors_widget.h.
Definition at line 87 of file end_effectors_widget.h.
Definition at line 90 of file end_effectors_widget.h.
Definition at line 89 of file end_effectors_widget.h.
Definition at line 88 of file end_effectors_widget.h.
QStackedLayout* moveit_setup_assistant::EndEffectorsWidget::stacked_layout_ |
Definition at line 86 of file end_effectors_widget.h.