Debian Codegraph @

qwt/playground/timescale/Plot.h

raw
1 /*****************************************************************************
2 * Qwt Examples - Copyright (C) 2002 Uwe Rathmann
3 * This file may be used under the terms of the 3-clause BSD License
4 *****************************************************************************/
5
6 #pragma once
7
8 #include <QwtPlot>
9
10 class Settings;
11
12 class Plot : public QwtPlot
13 {
14 Q_OBJECT
15
16 public:
17 Plot( QWidget* parent = NULL );
18
19 public Q_SLOTS:
20 void applySettings( const Settings& );
21
22 private:
23 void initAxis( int axis, const QString& title, Qt::TimeSpec );
24 void applyAxisSettings( int axis, const Settings& );
25 };