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.8.0/plugins/hppwidgetsplugin/configurationlistwidget.hh>
Public Slots | |
void | onSaveClicked () |
Save the current configuration of the robot. More... | |
void | updateCurrentConfig (QListWidgetItem *current, QListWidgetItem *previous) |
Change the configuration displayed in the viewer. More... | |
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 |
Widget to define initial and goal configurations of the problem.
hpp.gui::ConfigurationListWidget::ConfigurationListWidget | ( | HppWidgetsPlugin * | plugin, |
QWidget * | parent = 0 |
||
) |
|
virtual |
|
slot |
|
static |
|
inline |
Get the list of configurations.
|
static |
|
slot |
Save the current configuration of the robot.
void hpp.gui::ConfigurationListWidget::setInitConfig | ( | hpp::floatSeq & | config | ) |
Set the initial configuration in the problem.
|
slot |
Change the configuration displayed in the viewer.
current | new configuration |
previous | previous configuration |
|
static |