#include <virtual_joints_widget.h>
Signals | |
void | referenceFrameChanged () |
Event sent when this widget updated the root joint, which changes the frame of reference for the model. | |
Public Member Functions | |
virtual void | focusGiven () |
Recieved when this widget is chosen from the navigation menu. | |
VirtualJointsWidget (QWidget *parent, moveit_setup_assistant::MoveItConfigDataPtr config_data) | |
Public Attributes | |
QPushButton * | btn_cancel_ |
QPushButton * | btn_delete_ |
QPushButton * | btn_edit_ |
QPushButton * | btn_save_ |
QComboBox * | child_link_field_ |
QTableWidget * | data_table_ |
QComboBox * | joint_type_field_ |
QLineEdit * | parent_name_field_ |
QStackedLayout * | stacked_layout_ |
QWidget * | vjoint_edit_widget_ |
QWidget * | vjoint_list_widget_ |
QLineEdit * | vjoint_name_field_ |
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 | showNewScreen () |
Show edit screen. | |
Private Member Functions | |
QWidget * | createContentsWidget () |
QWidget * | createEditWidget () |
void | edit (const std::string &name) |
srdf::Model::VirtualJoint * | findVJointByName (const std::string &name) |
void | loadChildLinksComboBox () |
void | loadDataTable () |
void | loadJointTypesComboBox () |
Private Attributes | |
moveit_setup_assistant::MoveItConfigDataPtr | config_data_ |
Contains all the configuration data for the setup assistant. | |
std::string | current_edit_vjoint_ |
Orignal name of vjoint currently being edited. This is used to find the element in the vector. |
Definition at line 62 of file virtual_joints_widget.h.
moveit_setup_assistant::VirtualJointsWidget::VirtualJointsWidget | ( | QWidget * | parent, |
moveit_setup_assistant::MoveItConfigDataPtr | config_data | ||
) |
Definition at line 50 of file virtual_joints_widget.cpp.
void moveit_setup_assistant::VirtualJointsWidget::cancelEditing | ( | ) | [private, slot] |
Cancel changes.
Definition at line 559 of file virtual_joints_widget.cpp.
QWidget * moveit_setup_assistant::VirtualJointsWidget::createContentsWidget | ( | ) | [private] |
Create the main list view of vjoints for robot
Definition at line 87 of file virtual_joints_widget.cpp.
QWidget * moveit_setup_assistant::VirtualJointsWidget::createEditWidget | ( | ) | [private] |
Create the screen for editing vjoints
Definition at line 158 of file virtual_joints_widget.cpp.
void moveit_setup_assistant::VirtualJointsWidget::deleteSelected | ( | ) | [private, slot] |
Delete currently editing ite.
Definition at line 409 of file virtual_joints_widget.cpp.
void moveit_setup_assistant::VirtualJointsWidget::doneEditing | ( | ) | [private, slot] |
Save editing changes.
Definition at line 452 of file virtual_joints_widget.cpp.
void moveit_setup_assistant::VirtualJointsWidget::edit | ( | const std::string & | name | ) | [private] |
Edit the vjoint with the input name
name | name of vjoint |
Definition at line 307 of file virtual_joints_widget.cpp.
void moveit_setup_assistant::VirtualJointsWidget::editDoubleClicked | ( | int | row, |
int | column | ||
) | [private, slot] |
Edit the double clicked element.
Definition at line 252 of file virtual_joints_widget.cpp.
void moveit_setup_assistant::VirtualJointsWidget::editSelected | ( | ) | [private, slot] |
Edit whatever element is selected.
Definition at line 291 of file virtual_joints_widget.cpp.
srdf::Model::VirtualJoint * moveit_setup_assistant::VirtualJointsWidget::findVJointByName | ( | const std::string & | name | ) | [private] |
Find the associated data by name
name | - name of data to find in datastructure |
Definition at line 381 of file virtual_joints_widget.cpp.
void moveit_setup_assistant::VirtualJointsWidget::focusGiven | ( | ) | [virtual] |
Recieved when this widget is chosen from the navigation menu.
Reimplemented from SetupScreenWidget.
Definition at line 624 of file virtual_joints_widget.cpp.
void moveit_setup_assistant::VirtualJointsWidget::loadChildLinksComboBox | ( | ) | [private] |
Populate the combo dropdown box with avail parent links
Definition at line 361 of file virtual_joints_widget.cpp.
void moveit_setup_assistant::VirtualJointsWidget::loadDataTable | ( | ) | [private] |
Load the robot vjoints into the table
Definition at line 571 of file virtual_joints_widget.cpp.
void moveit_setup_assistant::VirtualJointsWidget::loadJointTypesComboBox | ( | ) | [private] |
Populate the combo dropdown box with avail group names
Definition at line 347 of file virtual_joints_widget.cpp.
void moveit_setup_assistant::VirtualJointsWidget::previewClicked | ( | int | row, |
int | column | ||
) | [private, slot] |
Preview whatever element is selected.
Definition at line 260 of file virtual_joints_widget.cpp.
void moveit_setup_assistant::VirtualJointsWidget::referenceFrameChanged | ( | ) | [signal] |
Event sent when this widget updated the root joint, which changes the frame of reference for the model.
void moveit_setup_assistant::VirtualJointsWidget::showNewScreen | ( | ) | [private, slot] |
Show edit screen.
Definition at line 231 of file virtual_joints_widget.cpp.
Definition at line 83 of file virtual_joints_widget.h.
Definition at line 81 of file virtual_joints_widget.h.
Definition at line 80 of file virtual_joints_widget.h.
Definition at line 82 of file virtual_joints_widget.h.
Definition at line 87 of file virtual_joints_widget.h.
moveit_setup_assistant::MoveItConfigDataPtr moveit_setup_assistant::VirtualJointsWidget::config_data_ [private] |
Contains all the configuration data for the setup assistant.
Definition at line 135 of file virtual_joints_widget.h.
std::string moveit_setup_assistant::VirtualJointsWidget::current_edit_vjoint_ [private] |
Orignal name of vjoint currently being edited. This is used to find the element in the vector.
Definition at line 138 of file virtual_joints_widget.h.
QTableWidget* moveit_setup_assistant::VirtualJointsWidget::data_table_ |
Definition at line 79 of file virtual_joints_widget.h.
Definition at line 88 of file virtual_joints_widget.h.
Definition at line 86 of file virtual_joints_widget.h.
QStackedLayout* moveit_setup_assistant::VirtualJointsWidget::stacked_layout_ |
Definition at line 84 of file virtual_joints_widget.h.
Definition at line 90 of file virtual_joints_widget.h.
Definition at line 89 of file virtual_joints_widget.h.
Definition at line 85 of file virtual_joints_widget.h.