#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 63 of file end_effectors_widget.h.
moveit_setup_assistant::EndEffectorsWidget::EndEffectorsWidget | ( | QWidget * | parent, |
moveit_setup_assistant::MoveItConfigDataPtr | config_data | ||
) |
Definition at line 49 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::cancelEditing | ( | ) | [private, slot] |
Cancel changes.
Definition at line 582 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 84 of file end_effectors_widget.cpp.
QWidget * moveit_setup_assistant::EndEffectorsWidget::createEditWidget | ( | ) | [private] |
Create the screen for editing effectors
Definition at line 154 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::deleteSelected | ( | ) | [private, slot] |
Delete currently editing ite.
Definition at line 422 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::doneEditing | ( | ) | [private, slot] |
Save editing changes.
Definition at line 464 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 308 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 246 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::editSelected | ( | ) | [private, slot] |
Edit whatever element is selected.
Definition at line 292 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 394 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 650 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::loadDataTable | ( | ) | [private] |
Load the robot effectors into the table
Definition at line 597 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 356 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 375 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 254 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 276 of file end_effectors_widget.cpp.
void moveit_setup_assistant::EndEffectorsWidget::showNewScreen | ( | ) | [private, slot] |
Show edit screen.
Definition at line 225 of file end_effectors_widget.cpp.
Definition at line 84 of file end_effectors_widget.h.
Definition at line 82 of file end_effectors_widget.h.
Definition at line 81 of file end_effectors_widget.h.
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.
Definition at line 91 of file end_effectors_widget.h.
Definition at line 90 of file end_effectors_widget.h.
Definition at line 86 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.
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.