27 lines
639 B
C++
27 lines
639 B
C++
/*****************************************************************************
|
|
* Qwt Examples - Copyright (C) 2002 Uwe Rathmann
|
|
* This file may be used under the terms of the 3-clause BSD License
|
|
*****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#include <QwtPlot>
|
|
#include <QTimeZone>
|
|
|
|
class Settings;
|
|
|
|
class Plot : public QwtPlot
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Plot( QWidget* parent = NULL );
|
|
|
|
public Q_SLOTS:
|
|
void applySettings( const Settings& );
|
|
|
|
private:
|
|
void initAxis( int axis, const QString& title, QTimeZone );
|
|
void applyAxisSettings( int axis, const Settings& );
|
|
};
|