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

#include <double_list_widget.h>

Inheritance diagram for moveit_setup_assistant::DoubleListWidget:
Inheritance graph
[legend]

Signals

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

Public Member Functions

void clearContents (void)
 
 DoubleListWidget (QWidget *parent, moveit_setup_assistant::MoveItConfigDataPtr config_data, QString long_name, QString short_name, bool add_ok_cancel=true)
 Constructor. More...
 
void setAvailable (const std::vector< std::string > &items)
 Loads the availble data list. More...
 
void setColumnNames (const QString &col1, const QString &col2)
 Set the names of the two columns in the widget. More...
 
void setSelected (const std::vector< std::string > &items)
 Set the right box. More...
 
void setTable (const std::vector< std::string > &items, QTableWidget *table)
 Convenience function for reusing set table code. More...
 

Public Attributes

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

Private Slots

void deselectDataButtonClicked ()
 Move selected data left. More...
 
void previewSelectedLeft (const QItemSelection &selected, const QItemSelection &deselected)
 Event when data table is clicked. More...
 
void previewSelectedRight (const QItemSelection &selected, const QItemSelection &deselected)
 
void selectDataButtonClicked ()
 Move selected data right. More...
 

Private Member Functions

void previewSelected (const QList< QTableWidgetItem * > &selected)
 Event when data table is clicked. More...
 

Private Attributes

moveit_setup_assistant::MoveItConfigDataPtr config_data_
 Contains all the configuration data for the setup assistant. More...
 

Detailed Description

Definition at line 50 of file double_list_widget.h.

Constructor & Destructor Documentation

moveit_setup_assistant::DoubleListWidget::DoubleListWidget ( QWidget *  parent,
moveit_setup_assistant::MoveItConfigDataPtr  config_data,
QString  long_name,
QString  short_name,
bool  add_ok_cancel = true 
)

Constructor.

Definition at line 53 of file double_list_widget.cpp.

Member Function Documentation

void moveit_setup_assistant::DoubleListWidget::cancelEditing ( )
signal

Event sent when user presses cancel button.

void moveit_setup_assistant::DoubleListWidget::clearContents ( void  )

Definition at line 189 of file double_list_widget.cpp.

void moveit_setup_assistant::DoubleListWidget::deselectDataButtonClicked ( )
privateslot

Move selected data left.

Definition at line 285 of file double_list_widget.cpp.

void moveit_setup_assistant::DoubleListWidget::doneEditing ( )
signal

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

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

Signal to highlight parts of robot.

void moveit_setup_assistant::DoubleListWidget::previewSelected ( const QList< QTableWidgetItem * > &  selected)
private

Event when data table is clicked.

Definition at line 320 of file double_list_widget.cpp.

void moveit_setup_assistant::DoubleListWidget::previewSelectedLeft ( const QItemSelection &  selected,
const QItemSelection &  deselected 
)
privateslot

Event when data table is clicked.

Definition at line 302 of file double_list_widget.cpp.

void moveit_setup_assistant::DoubleListWidget::previewSelectedRight ( const QItemSelection &  selected,
const QItemSelection &  deselected 
)
privateslot

Definition at line 311 of file double_list_widget.cpp.

void moveit_setup_assistant::DoubleListWidget::selectDataButtonClicked ( )
privateslot

Move selected data right.

Definition at line 244 of file double_list_widget.cpp.

void moveit_setup_assistant::DoubleListWidget::selectionUpdated ( )
signal

When the set of selected items has changed.

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

Loads the availble data list.

Definition at line 172 of file double_list_widget.cpp.

void moveit_setup_assistant::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_assistant::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_assistant::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.

Member Data Documentation

QLabel* moveit_setup_assistant::DoubleListWidget::column1_label_

Definition at line 87 of file double_list_widget.h.

QLabel* moveit_setup_assistant::DoubleListWidget::column2_label_

Definition at line 88 of file double_list_widget.h.

moveit_setup_assistant::MoveItConfigDataPtr moveit_setup_assistant::DoubleListWidget::config_data_
private

Contains all the configuration data for the setup assistant.

Definition at line 133 of file double_list_widget.h.

QTableWidget* moveit_setup_assistant::DoubleListWidget::data_table_

Definition at line 84 of file double_list_widget.h.

QString moveit_setup_assistant::DoubleListWidget::long_name_

Name of datatype.

Definition at line 91 of file double_list_widget.h.

QTableWidget* moveit_setup_assistant::DoubleListWidget::selected_data_table_

Definition at line 85 of file double_list_widget.h.

QString moveit_setup_assistant::DoubleListWidget::short_name_

Definition at line 92 of file double_list_widget.h.

QLabel* moveit_setup_assistant::DoubleListWidget::title_

Definition at line 86 of file double_list_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