|
1 |
| -#ifndef _CREATE3EXAMPLEWIDGET_H_ |
2 |
| -#define _CREATE3EXAMPLEWIDGET_H_ |
3 |
| - |
4 |
| -#include "StandardWidget.h" |
5 |
| - |
6 |
| -#include <QRegularExpression> |
7 |
| -#include <QStringListModel> |
8 |
| -namespace Ui |
9 |
| -{ |
10 |
| - class Create3ExampleWidget; |
11 |
| -} |
12 |
| - |
13 |
| -class Create3SensorModel; |
14 |
| - |
15 |
| -class Create3ExampleWidget : public StandardWidget |
16 |
| -{ |
17 |
| - Q_OBJECT |
18 |
| -public: |
19 |
| - Create3ExampleWidget(Device *device, QWidget *parent = 0); |
20 |
| - ~Create3ExampleWidget(); |
21 |
| - |
22 |
| -private slots: |
23 |
| - |
24 |
| - int create3Connect(); |
25 |
| - int isConnected(); |
26 |
| - void indexChanged(int index); |
27 |
| - void run(); |
28 |
| - |
29 |
| -private: |
30 |
| - Ui::Create3ExampleWidget *ui; |
31 |
| - |
32 |
| - Create3SensorModel *_model; |
33 |
| - double m_setpointVal; |
34 |
| - double m_feedbackVal; |
35 |
| - int m_position_1; |
36 |
| - double m_vel_1; |
37 |
| - void update(); |
38 |
| - QStringListModel *model; |
39 |
| - void updatePids(); |
40 |
| -}; |
41 |
| - |
42 |
| -#endif |
| 1 | +// #ifndef _CREATE3EXAMPLEWIDGET_H_ |
| 2 | +// #define _CREATE3EXAMPLEWIDGET_H_ |
| 3 | + |
| 4 | +// #include "StandardWidget.h" |
| 5 | + |
| 6 | +// #include <QRegularExpression> |
| 7 | +// #include <QStringListModel> |
| 8 | +// namespace Ui |
| 9 | +// { |
| 10 | +// class Create3ExampleWidget; |
| 11 | +// } |
| 12 | + |
| 13 | +// class Create3SensorModel; |
| 14 | + |
| 15 | +// class Create3ExampleWidget : public StandardWidget |
| 16 | +// { |
| 17 | +// Q_OBJECT |
| 18 | +// public: |
| 19 | +// Create3ExampleWidget(Device *device, QWidget *parent = 0); |
| 20 | +// ~Create3ExampleWidget(); |
| 21 | + |
| 22 | +// private slots: |
| 23 | + |
| 24 | +// int create3Connect(); |
| 25 | +// int isConnected(); |
| 26 | +// void indexChanged(int index); |
| 27 | +// void run(); |
| 28 | + |
| 29 | +// private: |
| 30 | +// Ui::Create3ExampleWidget *ui; |
| 31 | + |
| 32 | +// Create3SensorModel *_model; |
| 33 | +// double m_setpointVal; |
| 34 | +// double m_feedbackVal; |
| 35 | +// int m_position_1; |
| 36 | +// double m_vel_1; |
| 37 | +// void update(); |
| 38 | +// QStringListModel *model; |
| 39 | +// void updatePids(); |
| 40 | +// }; |
| 41 | + |
| 42 | +// #endif |
0 commit comments