新增qwt源码版本
This commit is contained in:
22
qwtdemo/examples/stockchart/quotefactory.h
Normal file
22
qwtdemo/examples/stockchart/quotefactory.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef _QUOTE_FACTORY_H_
|
||||
#define _QUOTE_FACTORY_H_
|
||||
|
||||
#include <qwt_series_data.h>
|
||||
|
||||
class QuoteFactory
|
||||
{
|
||||
public:
|
||||
enum Stock
|
||||
{
|
||||
BMW,
|
||||
Daimler,
|
||||
Porsche,
|
||||
|
||||
NumStocks
|
||||
};
|
||||
|
||||
static QVector<QwtOHLCSample> samples2010( Stock );
|
||||
static QString title( Stock );
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user