Add files from zip
This commit is contained in:
27
examples/animation/Plot.h
Normal file
27
examples/animation/Plot.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*****************************************************************************
|
||||
* Qwt Examples
|
||||
* Copyright (C) 1997 Josef Wilgen
|
||||
* Copyright (C) 2002 Uwe Rathmann
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the Qwt License, Version 1.0
|
||||
*****************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QwtPlot>
|
||||
#include <QElapsedTimer>
|
||||
|
||||
class Plot : public QwtPlot
|
||||
{
|
||||
public:
|
||||
Plot( QWidget* = NULL);
|
||||
|
||||
protected:
|
||||
virtual void timerEvent( QTimerEvent* ) QWT_OVERRIDE;
|
||||
|
||||
private:
|
||||
void updateCurves();
|
||||
|
||||
QElapsedTimer m_timer;
|
||||
};
|
||||
Reference in New Issue
Block a user