NimbRo ROS Soccer Package
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ruleview.h
1 // Widget to apply rules in quick way
2 // Author: Dmytro Pavlichenko <dm.mark999@gmail.com>
3 
4 #ifndef RULEVIEW_H
5 #define RULEVIEW_H
6 
7 #include <trajectory_editor/ruleslider.h>
8 #include <motion_file/motionfile.h>
9 #include <QWidget>
10 
11 namespace Ui
12 {
13  class RuleView;
14 }
15 
16 class RuleView : public QWidget
17 {
18 Q_OBJECT
19 public:
20  RuleView(QWidget *parent = 0);
21  virtual ~RuleView();
22 
23 public Q_SLOTS:
24  void handleRulesLoaded(const std::vector<motionfile::Rule> &rules);
25 
26 Q_SIGNALS:
27  void applyRule(double delta, int rule_id);
28 
29 private Q_SLOTS:
30  void handleApplyRule(double delta, int rule_id);
31 
32 private:
33  Ui::RuleView *m_ui;
34 };
35 
36 
37 #endif // RULEVIEW_H