Class ControllersWidget

Inheritance Relationships

Base Type

  • public moveit_setup::SetupStepWidget

Class Documentation

class ControllersWidget : public moveit_setup::SetupStepWidget

Public Functions

void onInit() override
void changeScreen(int index)
virtual void focusGiven() override

Received when this widget is chosen from the navigation menu.

inline virtual SetupStep &getSetupStep() override

Protected Functions

QWidget *createContentsWidget()

Builds the main screen list widget.

void loadControllersTree()
void loadToControllersTree(const ControllerInfo &controller_it)
void showMainScreen()
void loadJointsScreen(ControllerInfo *this_controller)
void loadGroupsScreen(ControllerInfo *this_controller)
void loadControllerScreen(ControllerInfo *this_controller)

Protected Attributes

QTreeWidget *controllers_tree_

Main table for holding controllers.

QWidget *controllers_tree_widget_
QStackedWidget *stacked_widget_

For changing between table and different add/edit views.

ControllerEditWidget *controller_edit_widget_
QPushButton *btn_delete_
QPushButton *btn_add_
QPushButton *btn_edit_
QHBoxLayout *controls_layout_
DoubleListWidget *joints_widget_
DoubleListWidget *joint_groups_widget_
std::string current_edit_controller_

Remember what controller we are editing when an edit screen is being shown.

bool adding_new_controller_

Remember whethere we’re editing a controller or adding a new one.

std::shared_ptr<Controllers> setup_step_