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

#include <controller_edit_widget.h>

Inheritance diagram for moveit_setup_assistant::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, const 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 50 of file controller_edit_widget.h.

Constructor & Destructor Documentation

◆ ControllerEditWidget()

moveit_setup_assistant::ControllerEditWidget::ControllerEditWidget ( QWidget *  parent,
const MoveItConfigDataPtr &  config_data 
)

Constructor.

Definition at line 84 of file controller_edit_widget.cpp.

Member Function Documentation

◆ cancelEditing

void moveit_setup_assistant::ControllerEditWidget::cancelEditing ( )
signal

Event sent when user presses cancel button.

◆ deleteController

void moveit_setup_assistant::ControllerEditWidget::deleteController ( )
signal

Event sent when delete is being requested for controller.

◆ getControllerName()

std::string moveit_setup_assistant::ControllerEditWidget::getControllerName ( )

Get controller name.

Definition at line 276 of file controller_edit_widget.cpp.

◆ getControllerType()

std::string moveit_setup_assistant::ControllerEditWidget::getControllerType ( )

Get controller type.

Definition at line 281 of file controller_edit_widget.cpp.

◆ hideDelete()

void moveit_setup_assistant::ControllerEditWidget::hideDelete ( )

Hide delete controller button.

Definition at line 241 of file controller_edit_widget.cpp.

◆ hideNewButtonsWidget()

void moveit_setup_assistant::ControllerEditWidget::hideNewButtonsWidget ( )

Hide new buttons widget.

Definition at line 251 of file controller_edit_widget.cpp.

◆ hideSave()

void moveit_setup_assistant::ControllerEditWidget::hideSave ( )

Hide save controller button.

Definition at line 246 of file controller_edit_widget.cpp.

◆ loadControllersTypesComboBox()

void moveit_setup_assistant::ControllerEditWidget::loadControllersTypesComboBox ( )

Populate the combo dropdown box with controllers types.

Definition at line 221 of file controller_edit_widget.cpp.

◆ save

void moveit_setup_assistant::ControllerEditWidget::save ( )
signal

Button event for just saving, when in edit mode.

◆ saveJoints

void moveit_setup_assistant::ControllerEditWidget::saveJoints ( )
signal

Button event for new groups, progressing to adding joints.

◆ saveJointsGroups

void moveit_setup_assistant::ControllerEditWidget::saveJointsGroups ( )
signal

Button event for new groups, progressing to adding subgroups.

◆ setSelected()

void moveit_setup_assistant::ControllerEditWidget::setSelected ( const std::string &  controller_name)

Set the previous data.

Definition at line 192 of file controller_edit_widget.cpp.

◆ setTitle()

void moveit_setup_assistant::ControllerEditWidget::setTitle ( const QString &  title)

Set widget title.

Definition at line 271 of file controller_edit_widget.cpp.

◆ showDelete()

void moveit_setup_assistant::ControllerEditWidget::showDelete ( )

Show delete controller button.

Definition at line 256 of file controller_edit_widget.cpp.

◆ showNewButtonsWidget()

void moveit_setup_assistant::ControllerEditWidget::showNewButtonsWidget ( )

Show new buttons widget.

Definition at line 266 of file controller_edit_widget.cpp.

◆ showSave()

void moveit_setup_assistant::ControllerEditWidget::showSave ( )

Show save controller button.

Definition at line 261 of file controller_edit_widget.cpp.

Member Data Documentation

◆ btn_delete_

QPushButton* moveit_setup_assistant::ControllerEditWidget::btn_delete_
private

Definition at line 130 of file controller_edit_widget.h.

◆ btn_save_

QPushButton* moveit_setup_assistant::ControllerEditWidget::btn_save_
private

Definition at line 131 of file controller_edit_widget.h.

◆ config_data_

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

Contains all the configuration data for the setup assistant.

Definition at line 141 of file controller_edit_widget.h.

◆ controller_name_field_

QLineEdit* moveit_setup_assistant::ControllerEditWidget::controller_name_field_
private

Definition at line 128 of file controller_edit_widget.h.

◆ controller_type_field_

QComboBox* moveit_setup_assistant::ControllerEditWidget::controller_type_field_
private

Definition at line 129 of file controller_edit_widget.h.

◆ has_loaded_

bool moveit_setup_assistant::ControllerEditWidget::has_loaded_ = false
private

Definition at line 139 of file controller_edit_widget.h.

◆ new_buttons_widget_

QWidget* moveit_setup_assistant::ControllerEditWidget::new_buttons_widget_
private

Definition at line 132 of file controller_edit_widget.h.

◆ title_

QLabel* moveit_setup_assistant::ControllerEditWidget::title_
private

Definition at line 127 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 Sat May 3 2025 02:28:05