hpp-gui
4.13.0
Graphical interface for HPP
jointbounddialog.hh
Go to the documentation of this file.
1
//
2
// Copyright (c) CNRS
3
// Author: Joseph Mirabel
4
//
5
6
#ifndef HPP_GUI_JOINTBOUNDDIALOG_HH
7
#define HPP_GUI_JOINTBOUNDDIALOG_HH
8
9
#include <QDialog>
10
#include <QDoubleSpinBox>
11
#include <QLabel>
12
#include <hpp/common-idl.hh>
13
14
namespace
hpp
{
15
namespace
gui {
16
class
JointBoundDialog
:
public
QDialog {
17
Q_OBJECT
18
19
public
:
20
explicit
JointBoundDialog
(QString name, std::size_t nbDof,
21
QWidget* parent = 0);
22
23
void
setBounds
(
const
hpp::floatSeq& bounds);
24
25
void
getBounds
(hpp::floatSeq& bounds)
const
;
26
27
~JointBoundDialog
();
28
29
private
:
30
struct
Line {
31
QLabel* label;
32
QDoubleSpinBox *min, *max;
33
Line(
const
QString& name, QWidget* parent);
34
void
addToLayout(QLayout* l);
35
};
36
37
QList<Line> lines_;
38
};
39
}
// namespace gui
40
}
// namespace hpp
41
42
#endif // HPP_GUI_JOINTBOUNDDIALOG_HH
hpp.gui::JointBoundDialog::~JointBoundDialog
~JointBoundDialog()
hpp.gui::JointBoundDialog
Definition:
jointbounddialog.hh:16
hpp
namespace that encapsulate all the softwares of humanoid-path-planner
Definition:
__init__.py:1
hpp.gui::JointBoundDialog::JointBoundDialog
JointBoundDialog(QString name, std::size_t nbDof, QWidget *parent=0)
hpp.gui::JointBoundDialog::getBounds
void getBounds(hpp::floatSeq &bounds) const
hpp.gui::JointBoundDialog::setBounds
void setBounds(const hpp::floatSeq &bounds)
plugins
hppwidgetsplugin
jointbounddialog.hh
Generated by
1.8.17