hpp-gui  4.15.1
Graphical interface for HPP
hpp.gui::ConfigurationListWidget Class Reference

Widget to define initial and goal configurations of the problem. More...

#include </local/robotpkg/var/tmp/robotpkg/graphics/py-qt-hpp-gui/work/hpp-gui-4.15.1/plugins/hppwidgetsplugin/configurationlistwidget.hh>

Inheritance diagram for hpp.gui::ConfigurationListWidget:
Collaboration diagram for hpp.gui::ConfigurationListWidget:

Public Slots

void onSaveClicked ()
 Save the current configuration of the robot. More...
 
void updateCurrentConfig (QListWidgetItem *current, QListWidgetItem *previous)
 
void fetchInitAndGoalConfigs ()
 

Public Member Functions

QListWidget * list ()
 Get the list of configurations. More...
 
void setInitConfig (hpp::floatSeq &config)
 Set the initial configuration in the problem. More...
 
 ConfigurationListWidget (HppWidgetsPlugin *plugin, QWidget *parent=0)
 
virtual ~ConfigurationListWidget ()
 

Static Public Member Functions

static QListWidgetItem * makeItem (QString text, const hpp::floatSeq &q)
 
static hpp::floatSeq & getConfig (QListWidgetItem *item)
 

Static Public Attributes

static const int ConfigRole
 

Detailed Description

Widget to define initial and goal configurations of the problem.

Constructor & Destructor Documentation

◆ ConfigurationListWidget()

hpp.gui::ConfigurationListWidget::ConfigurationListWidget ( HppWidgetsPlugin plugin,
QWidget *  parent = 0 
)

◆ ~ConfigurationListWidget()

virtual hpp.gui::ConfigurationListWidget::~ConfigurationListWidget ( )
virtual

Member Function Documentation

◆ fetchInitAndGoalConfigs

void hpp.gui::ConfigurationListWidget::fetchInitAndGoalConfigs ( )
slot

◆ getConfig()

static hpp::floatSeq& hpp.gui::ConfigurationListWidget::getConfig ( QListWidgetItem *  item)
static

◆ list()

QListWidget* hpp.gui::ConfigurationListWidget::list ( )
inline

Get the list of configurations.

◆ makeItem()

static QListWidgetItem* hpp.gui::ConfigurationListWidget::makeItem ( QString  text,
const hpp::floatSeq &  q 
)
static

◆ onSaveClicked

void hpp.gui::ConfigurationListWidget::onSaveClicked ( )
slot

Save the current configuration of the robot.

◆ setInitConfig()

void hpp.gui::ConfigurationListWidget::setInitConfig ( hpp::floatSeq &  config)

Set the initial configuration in the problem.

◆ updateCurrentConfig

void hpp.gui::ConfigurationListWidget::updateCurrentConfig ( QListWidgetItem *  current,
QListWidgetItem *  previous 
)
slot

Change the configuration displayed in the viewer.

Parameters
currentnew configuration
previousprevious configuration

Member Data Documentation

◆ ConfigRole

const int hpp.gui::ConfigurationListWidget::ConfigRole
static

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