新增超级曲线图表
This commit is contained in:
34
third/qcustomplotdemo/frmexample/frmitem.h
Normal file
34
third/qcustomplotdemo/frmexample/frmitem.h
Normal file
@@ -0,0 +1,34 @@
|
||||
#ifndef FRMITEM_H
|
||||
#define FRMITEM_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QTimer>
|
||||
class QCPItemTracer;
|
||||
|
||||
namespace Ui {
|
||||
class frmItem;
|
||||
}
|
||||
|
||||
class frmItem : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit frmItem(QWidget *parent = 0);
|
||||
~frmItem();
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent *);
|
||||
void hideEvent(QHideEvent *);
|
||||
|
||||
private:
|
||||
Ui::frmItem *ui;
|
||||
QTimer dataTimer;
|
||||
QCPItemTracer *phaseTracer;
|
||||
|
||||
private slots:
|
||||
void initForm();
|
||||
void bracketDataSlot();
|
||||
};
|
||||
|
||||
#endif // FRMITEM_H
|
||||
Reference in New Issue
Block a user