moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
#include <double_list_widget.hpp>
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_ |
Definition at line 47 of file double_list_widget.hpp.
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.
|
signal |
Event sent when user presses cancel button.
void moveit_setup::DoubleListWidget::clearContents | ( | ) |
|
signal |
Event sent when this widget is done making data changes and parent widget can save.
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.
|
signal |
Signal to highlight parts of robot.
|
signal |
When the set of selected items has changed.
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.
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.
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.
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.
QLabel* moveit_setup::DoubleListWidget::column1_label_ |
Definition at line 86 of file double_list_widget.hpp.
QLabel* moveit_setup::DoubleListWidget::column2_label_ |
Definition at line 87 of file double_list_widget.hpp.
QTableWidget* moveit_setup::DoubleListWidget::data_table_ |
Definition at line 83 of file double_list_widget.hpp.
QString moveit_setup::DoubleListWidget::long_name_ |
Name of datatype.
Definition at line 90 of file double_list_widget.hpp.
QTableWidget* moveit_setup::DoubleListWidget::selected_data_table_ |
Definition at line 84 of file double_list_widget.hpp.
QString moveit_setup::DoubleListWidget::short_name_ |
Definition at line 91 of file double_list_widget.hpp.
QLabel* moveit_setup::DoubleListWidget::title_ |
Definition at line 85 of file double_list_widget.hpp.