Signals | Public Member Functions | Private Attributes | List of all members
moveit_ros_control::ControllerEditWidget Class Reference

#include <controller_edit_widget.h>

Inheritance diagram for moveit_ros_control::ControllerEditWidget:
Inheritance graph
[legend]

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_
 

Detailed Description

Definition at line 51 of file controller_edit_widget.h.

Constructor & Destructor Documentation

moveit_ros_control::ControllerEditWidget::ControllerEditWidget ( QWidget *  parent,
moveit_setup_assistant::MoveItConfigDataPtr  config_data 
)

Constructor.

Definition at line 49 of file controller_edit_widget.cpp.

Member Function Documentation

void moveit_ros_control::ControllerEditWidget::cancelEditing ( )
signal

Event sent when user presses cancel button.

void moveit_ros_control::ControllerEditWidget::deleteController ( )
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.

void moveit_ros_control::ControllerEditWidget::save ( )
signal

Button event for just saving, when in edit mode.

void moveit_ros_control::ControllerEditWidget::saveJoints ( )
signal

Button event for new groups, progressing to adding joints.

void moveit_ros_control::ControllerEditWidget::saveJointsGroups ( )
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.

Member Data Documentation

QPushButton* moveit_ros_control::ControllerEditWidget::btn_delete_
private

Definition at line 131 of file controller_edit_widget.h.

QPushButton* moveit_ros_control::ControllerEditWidget::btn_save_
private

Definition at line 132 of file controller_edit_widget.h.

moveit_setup_assistant::MoveItConfigDataPtr moveit_ros_control::ControllerEditWidget::config_data_
private

Contains all the configuration data for the setup assistant.

Definition at line 142 of file controller_edit_widget.h.

QLineEdit* moveit_ros_control::ControllerEditWidget::controller_name_field_
private

Definition at line 129 of file controller_edit_widget.h.

QComboBox* moveit_ros_control::ControllerEditWidget::controller_type_field_
private

Definition at line 130 of file controller_edit_widget.h.

bool moveit_ros_control::ControllerEditWidget::has_loaded_ = false
private

Definition at line 140 of file controller_edit_widget.h.

QWidget* moveit_ros_control::ControllerEditWidget::new_buttons_widget_
private

Definition at line 133 of file controller_edit_widget.h.

QLabel* moveit_ros_control::ControllerEditWidget::title_
private

Definition at line 128 of file controller_edit_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