moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Signals | Public Member Functions | Public Attributes | List of all members
moveit_setup::DoubleListWidget Class Reference

#include <double_list_widget.hpp>

Inheritance diagram for moveit_setup::DoubleListWidget:
Inheritance graph
[legend]
Collaboration diagram for moveit_setup::DoubleListWidget:
Collaboration graph
[legend]

Signals

void doneEditing ()
 Event sent when this widget is done making data changes and parent widget can save.
 
void cancelEditing ()
 Event sent when user presses cancel button.
 
void previewSelected (std::vector< std::string >)
 Signal to highlight parts of robot.
 
void selectionUpdated ()
 When the set of selected items has changed.
 

Public Member Functions

 DoubleListWidget (QWidget *parent, const QString &long_name, const QString &short_name, bool add_ok_cancel=true)
 Constructor.
 
void setAvailable (const std::vector< std::string > &items)
 Loads the available data list.
 
void setSelected (const std::vector< std::string > &items)
 Set the right box.
 
void clearContents ()
 
void setTable (const std::vector< std::string > &items, QTableWidget *table)
 Convenience function for reusing set table code.
 
void setColumnNames (const QString &col1, const QString &col2)
 Set the names of the two columns in the widget.
 
std::vector< std::string > getSelectedValues () const
 Return all the values that are in the "selected" subset.
 

Public Attributes

QTableWidget * data_table_
 
QTableWidget * selected_data_table_
 
QLabel * title_
 
QLabel * column1_label_
 
QLabel * column2_label_
 
QString long_name_
 Name of datatype.
 
QString short_name_
 

Detailed Description

Definition at line 47 of file double_list_widget.hpp.

Constructor & Destructor Documentation

◆ DoubleListWidget()

moveit_setup::DoubleListWidget::DoubleListWidget ( QWidget *  parent,
const QString &  long_name,
const QString &  short_name,
bool  add_ok_cancel = true 
)

Constructor.

Definition at line 55 of file double_list_widget.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ cancelEditing

void moveit_setup::DoubleListWidget::cancelEditing ( )
signal

Event sent when user presses cancel button.

Here is the caller graph for this function:

◆ clearContents()

void moveit_setup::DoubleListWidget::clearContents ( )

Definition at line 189 of file double_list_widget.cpp.

Here is the caller graph for this function:

◆ doneEditing

void moveit_setup::DoubleListWidget::doneEditing ( )
signal

Event sent when this widget is done making data changes and parent widget can save.

Here is the caller graph for this function:

◆ getSelectedValues()

std::vector< std::string > moveit_setup::DoubleListWidget::getSelectedValues ( ) const

Return all the values that are in the "selected" subset.

Definition at line 337 of file double_list_widget.cpp.

◆ previewSelected

void moveit_setup::DoubleListWidget::previewSelected ( std::vector< std::string >  )
signal

Signal to highlight parts of robot.

◆ selectionUpdated

void moveit_setup::DoubleListWidget::selectionUpdated ( )
signal

When the set of selected items has changed.

◆ setAvailable()

void moveit_setup::DoubleListWidget::setAvailable ( const std::vector< std::string > &  items)

Loads the available data list.

Definition at line 172 of file double_list_widget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setColumnNames()

void moveit_setup::DoubleListWidget::setColumnNames ( const QString &  col1,
const QString &  col2 
)

Set the names of the two columns in the widget.

Definition at line 195 of file double_list_widget.cpp.

Here is the caller graph for this function:

◆ setSelected()

void moveit_setup::DoubleListWidget::setSelected ( const std::vector< std::string > &  items)

Set the right box.

Definition at line 184 of file double_list_widget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTable()

void moveit_setup::DoubleListWidget::setTable ( const std::vector< std::string > &  items,
QTableWidget *  table 
)

Convenience function for reusing set table code.

Definition at line 204 of file double_list_widget.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ column1_label_

QLabel* moveit_setup::DoubleListWidget::column1_label_

Definition at line 86 of file double_list_widget.hpp.

◆ column2_label_

QLabel* moveit_setup::DoubleListWidget::column2_label_

Definition at line 87 of file double_list_widget.hpp.

◆ data_table_

QTableWidget* moveit_setup::DoubleListWidget::data_table_

Definition at line 83 of file double_list_widget.hpp.

◆ long_name_

QString moveit_setup::DoubleListWidget::long_name_

Name of datatype.

Definition at line 90 of file double_list_widget.hpp.

◆ selected_data_table_

QTableWidget* moveit_setup::DoubleListWidget::selected_data_table_

Definition at line 84 of file double_list_widget.hpp.

◆ short_name_

QString moveit_setup::DoubleListWidget::short_name_

Definition at line 91 of file double_list_widget.hpp.

◆ title_

QLabel* moveit_setup::DoubleListWidget::title_

Definition at line 85 of file double_list_widget.hpp.


The documentation for this class was generated from the following files: