MyWidget
MyWidget.h
Go to the documentation of this file.
1 #ifndef MYWIDGET_H
2 #define MYWIDGET_H
3 
4 #include <QtGui>
5 
6 #include <base/samples/rigid_body_state.h>
7 
8 class MyWidget : public QWidget
9 {
10  Q_OBJECT
11 public:
12  MyWidget(QWidget *parent = 0);
13  virtual ~MyWidget();
14 
15 public slots:
16  base::samples::RigidBodyState getPose();
17  void setPose(const base::samples::RigidBodyState pose);
18 
19 private:
20  base::samples::RigidBodyState pose;
21 
22  QGroupBox* gbox;
23  QFormLayout* flay;
24 
25  QLabel* label_x;
26  QLabel* label_y;
27  QLabel* label_z;
28 
29  QLabel* l1;
30  QLabel* l2;
31  QLabel* l3;
32 
33 };
34 
35 #endif /* MYWIDGET_H */