qwt_plot_seriesitem.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_SERIES_ITEM_H
00011 #define QWT_PLOT_SERIES_ITEM_H
00012 
00013 #include "qwt_global.h"
00014 #include "qwt_plot_item.h"
00015 #include "qwt_scale_div.h"
00016 #include "qwt_series_data.h"
00017 #include "qwt_series_store.h"
00018 
00022 class QWT_EXPORT QwtPlotSeriesItem: public QwtPlotItem,
00023     public virtual QwtAbstractSeriesStore
00024 {
00025 public:
00026     explicit QwtPlotSeriesItem( const QString &title = QString::null );
00027     explicit QwtPlotSeriesItem( const QwtText &title );
00028 
00029     virtual ~QwtPlotSeriesItem();
00030 
00031     void setOrientation( Qt::Orientation );
00032     Qt::Orientation orientation() const;
00033 
00034     virtual void draw( QPainter *p,
00035         const QwtScaleMap &xMap, const QwtScaleMap &yMap,
00036         const QRectF & ) const;
00037 
00049     virtual void drawSeries( QPainter *painter,
00050         const QwtScaleMap &xMap, const QwtScaleMap &yMap,
00051         const QRectF &canvasRect, int from, int to ) const = 0;
00052 
00053     virtual QRectF boundingRect() const;
00054 
00055     virtual void updateScaleDiv( 
00056         const QwtScaleDiv &, const QwtScaleDiv & );
00057 
00058 protected:
00059     virtual void dataChanged();
00060 
00061 private:
00062     class PrivateData;
00063     PrivateData *d_data;
00064 };
00065 
00066 #endif


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