#include <controller_edit_widget.h>
Signals | |
void | cancelEditing () |
Event sent when user presses cancel button. More... | |
void | deleteController () |
Event sent when delete is being requested for controller. More... | |
void | save () |
Button event for just saving, when in edit mode. More... | |
void | saveJoints () |
Button event for new groups, progressing to adding joints. More... | |
void | saveJointsGroups () |
Button event for new groups, progressing to adding subgroups. More... | |
Public Member Functions | |
ControllerEditWidget (QWidget *parent, moveit_setup_assistant::MoveItConfigDataPtr config_data) | |
Constructor. More... | |
std::string | getControllerName () |
Get controller name. More... | |
std::string | getControllerType () |
Get controller type. More... | |
void | hideDelete () |
Hide delete controller button. More... | |
void | hideNewButtonsWidget () |
Hide new buttons widget. More... | |
void | hideSave () |
Hide save controller button. More... | |
void | loadControllersTypesComboBox () |
Populate the combo dropdown box with controllers types. More... | |
void | setSelected (const std::string &controller_name) |
Set the previous data. More... | |
void | setTitle (const QString &title) |
Set widget title. More... | |
void | showDelete () |
Show delete controller button. More... | |
void | showNewButtonsWidget () |
Show new buttons widget. More... | |
void | showSave () |
Show save controller button. More... | |
Private Attributes | |
QPushButton * | btn_delete_ |
QPushButton * | btn_save_ |
moveit_setup_assistant::MoveItConfigDataPtr | config_data_ |
Contains all the configuration data for the setup assistant. More... | |
QLineEdit * | controller_name_field_ |
QComboBox * | controller_type_field_ |
bool | has_loaded_ = false |
QWidget * | new_buttons_widget_ |
QLabel * | title_ |
Definition at line 51 of file controller_edit_widget.h.
moveit_ros_control::ControllerEditWidget::ControllerEditWidget | ( | QWidget * | parent, |
moveit_setup_assistant::MoveItConfigDataPtr | config_data | ||
) |
Constructor.
Definition at line 49 of file controller_edit_widget.cpp.
|
signal |
Event sent when user presses cancel button.
|
signal |
Event sent when delete is being requested for controller.
std::string moveit_ros_control::ControllerEditWidget::getControllerName | ( | ) |
Get controller name.
Definition at line 251 of file controller_edit_widget.cpp.
std::string moveit_ros_control::ControllerEditWidget::getControllerType | ( | ) |
Get controller type.
Definition at line 256 of file controller_edit_widget.cpp.
void moveit_ros_control::ControllerEditWidget::hideDelete | ( | ) |
Hide delete controller button.
Definition at line 216 of file controller_edit_widget.cpp.
void moveit_ros_control::ControllerEditWidget::hideNewButtonsWidget | ( | ) |
Hide new buttons widget.
Definition at line 226 of file controller_edit_widget.cpp.
void moveit_ros_control::ControllerEditWidget::hideSave | ( | ) |
Hide save controller button.
Definition at line 221 of file controller_edit_widget.cpp.
void moveit_ros_control::ControllerEditWidget::loadControllersTypesComboBox | ( | ) |
Populate the combo dropdown box with controllers types.
Definition at line 191 of file controller_edit_widget.cpp.
|
signal |
Button event for just saving, when in edit mode.
|
signal |
Button event for new groups, progressing to adding joints.
|
signal |
Button event for new groups, progressing to adding subgroups.
void moveit_ros_control::ControllerEditWidget::setSelected | ( | const std::string & | controller_name | ) |
Set the previous data.
Definition at line 161 of file controller_edit_widget.cpp.
void moveit_ros_control::ControllerEditWidget::setTitle | ( | const QString & | title | ) |
Set widget title.
Definition at line 246 of file controller_edit_widget.cpp.
void moveit_ros_control::ControllerEditWidget::showDelete | ( | ) |
Show delete controller button.
Definition at line 231 of file controller_edit_widget.cpp.
void moveit_ros_control::ControllerEditWidget::showNewButtonsWidget | ( | ) |
Show new buttons widget.
Definition at line 241 of file controller_edit_widget.cpp.
void moveit_ros_control::ControllerEditWidget::showSave | ( | ) |
Show save controller button.
Definition at line 236 of file controller_edit_widget.cpp.
|
private |
Definition at line 131 of file controller_edit_widget.h.
|
private |
Definition at line 132 of file controller_edit_widget.h.
|
private |
Contains all the configuration data for the setup assistant.
Definition at line 142 of file controller_edit_widget.h.
|
private |
Definition at line 129 of file controller_edit_widget.h.
|
private |
Definition at line 130 of file controller_edit_widget.h.
|
private |
Definition at line 140 of file controller_edit_widget.h.
|
private |
Definition at line 133 of file controller_edit_widget.h.
|
private |
Definition at line 128 of file controller_edit_widget.h.