modify_poses.hpp
Go to the documentation of this file.
1 #ifndef RAM_QT_GUIS_MODIFY_WIDGETS_MODIFY_POSES_HPP
2 #define RAM_QT_GUIS_MODIFY_WIDGETS_MODIFY_POSES_HPP
3 
4 #include <mutex>
6 
7 #include <QCheckBox>
8 #include <QComboBox>
9 #include <QDialogButtonBox>
10 #include <QHBoxLayout>
11 #include <QLabel>
12 #include <QMessageBox>
13 #include <QPushButton>
14 #include <QScrollArea>
15 #include <QSpinBox>
16 #include <QStandardItemModel>
17 #include <QTabWidget>
18 #include <QVBoxLayout>
19 #include <QWidget>
20 
21 namespace ram_qt_guis
22 {
23 class ModifyPoses : public QWidget
24 {
25 Q_OBJECT
26  public:
27  ModifyPoses(QVBoxLayout* layout,
28  const unsigned mode);
29  virtual ~ModifyPoses();
30 
31  QDialogButtonBox *button_box_;
32 
33 Q_SIGNALS:
34  void setEnabled(bool enabled);
35 
36 protected Q_SLOTS:
37  void modifyPose();
38  void poseAbsRel(const int index);
39  void modifyPolygonStart();
40  void modifyPolygonEnd();
41  void modifyMovementType();
42  void movementTypeChanged();
43  void modifyApproachType();
44  void modifyBlendRadius();
45  void blendRadiusAbsRel(const int index);
46  void modifySpeed();
47  void speedAbsRel(const int index);
48  void modifyLaserPower();
49  void laserPowerAbsRel(const int index);
50  void modifyFeedRate();
51  void feedRateAbsRel(const int index);
52 
53 private:
54  QVBoxLayout *layout_;
55  QWidget *pose_widget_;
61  QWidget *speed_widget_;
64 
65  const unsigned mode_;
66 
67 public:
68  QCheckBox *pose_modify_;
69  QComboBox *pose_abs_rel_;
71 
73  QComboBox *polygon_start_;
74 
75  QCheckBox *polygon_end_modify_;
76  QComboBox *polygon_end_;
77 
79  QComboBox *movement_type_;
80 
82  QComboBox *approach_type_;
83 
86  QSpinBox *blend_radius_;
87 
88  QCheckBox *speed_modify_;
89  QComboBox *speed_abs_rel_;
90  QDoubleSpinBox *speed_;
91  double speed_conversion_factor_; // Used by speed_
92 
93  QCheckBox *laser_power_modify_;
95  QSpinBox *laser_power_;
96 
97  QCheckBox *feed_rate_modify_;
98  QComboBox *feed_rate_abs_rel_;
99  QDoubleSpinBox *feed_rate_;
100 };
101 
102 }
103 
104 #endif
QComboBox * feed_rate_abs_rel_
QCheckBox * approach_type_modify_
QCheckBox * polygon_end_modify_
QDoubleSpinBox * speed_
QComboBox * blend_radius_abs_rel_
void speedAbsRel(const int index)
QCheckBox * movement_type_modify_
QDoubleSpinBox * feed_rate_
ModifyPoses(QVBoxLayout *layout, const unsigned mode)
Definition: modify_poses.cpp:5
QCheckBox * polygon_start_modify_
QCheckBox * laser_power_modify_
void feedRateAbsRel(const int index)
void poseAbsRel(const int index)
void blendRadiusAbsRel(const int index)
void setEnabled(bool enabled)
QDialogButtonBox * button_box_
void laserPowerAbsRel(const int index)
QCheckBox * blend_radius_modify_
QComboBox * laser_power_abs_rel_


ram_qt_guis
Author(s): Victor Lamoine - Institut Maupertuis
autogenerated on Mon Jun 10 2019 14:50:11