qwt_plot_magnifier.h
Go to the documentation of this file.
00001 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
00002  * Qwt Widget Library
00003  * Copyright (C) 1997   Josef Wilgen
00004  * Copyright (C) 2002   Uwe Rathmann
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the Qwt License, Version 1.0
00008  *****************************************************************************/
00009 
00010 #ifndef QWT_PLOT_MAGNIFIER_H
00011 #define QWT_PLOT_MAGNIFIER_H 1
00012 
00013 #include "qwt_global.h"
00014 #include "qwt_magnifier.h"
00015 
00016 class QwtPlot;
00017 
00029 class QWT_EXPORT QwtPlotMagnifier: public QwtMagnifier
00030 {
00031     Q_OBJECT
00032 
00033 public:
00034     explicit QwtPlotMagnifier( QWidget * );
00035     virtual ~QwtPlotMagnifier();
00036 
00037     void setAxisEnabled( int axis, bool on );
00038     bool isAxisEnabled( int axis ) const;
00039 
00040     QWidget *canvas();
00041     const QWidget *canvas() const;
00042 
00043     QwtPlot *plot();
00044     const QwtPlot *plot() const;
00045 
00046 protected:
00047     virtual void rescale( double factor );
00048 
00049 private:
00050     class PrivateData;
00051     PrivateData *d_data;
00052 };
00053 
00054 #endif


plotjuggler
Author(s): Davide Faconti
autogenerated on Fri Sep 1 2017 02:41:56