Ignore:
Timestamp:
May 10, 2017, 3:20:54 PM (7 years ago)
Author:
stoecker
Message:

update qwt and qwtpolar, many QT5 fixes (unfinished)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwtpolar/qwt_polar_renderer.h

    r4272 r8127  
    1212#include "qwt_polar_global.h"
    1313#include <qobject.h>
     14#include <qsize.h>
    1415
    1516class QwtPolarPlot;
    16 class QSizeF;
    1717class QRectF;
    1818class QPainter;
     
    5252#endif
    5353    void renderTo( QwtPolarPlot *, QPrinter & ) const;
    54     void renderTo( QwtPolarPlot *, QPaintDevice &p ) const;
     54    void renderTo( QwtPolarPlot *, QPaintDevice & ) const;
    5555
    5656    virtual void render( QwtPolarPlot *,
    5757        QPainter *, const QRectF &rect ) const;
    5858
    59 protected:
     59    bool exportTo( QwtPolarPlot *, const QString &documentName,
     60        const QSizeF &sizeMM = QSizeF( 200, 200 ), int resolution = 85 );
     61
    6062    virtual void renderTitle( QPainter *, const QRectF & ) const;
    61     virtual void renderLegend( QPainter *, const QRectF & ) const;
    6263
    63     virtual void renderLegendItem( QPainter *,
    64         const QWidget *, const QRectF & ) const;
     64    virtual void renderLegend(
     65        const QwtPolarPlot *, QPainter *, const QRectF & ) const;
    6566
    6667private:
Note: See TracChangeset for help on using the changeset viewer.