Loading...
Searching...
No Matches
qwt_polar_magnifier.h
/******************************************************************************
* QwtPolar Widget Library
* Copyright (C) 2008 Uwe Rathmann
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Qwt License, Version 1.0
*****************************************************************************/
#ifndef QWT_POLAR_MAGNIFIER_H
#define QWT_POLAR_MAGNIFIER_H
#include "qwt_global.h"
#include "qwt_magnifier.h"
class QwtPolarPlot;
class QwtPolarCanvas;
class QWT_EXPORT QwtPolarMagnifier : public QwtMagnifier
{
Q_OBJECT
public:
explicit QwtPolarMagnifier( QwtPolarCanvas* );
virtual ~QwtPolarMagnifier();
void setUnzoomKey( int key, int modifiers );
void getUnzoomKey( int& key, int& modifiers ) const;
QwtPolarPlot* plot();
const QwtPolarPlot* plot() const;
QwtPolarCanvas* canvas();
const QwtPolarCanvas* canvas() const;
public Q_SLOTS:
virtual void rescale( double factor ) QWT_OVERRIDE;
void unzoom();
protected:
virtual void widgetKeyPressEvent( QKeyEvent* ) QWT_OVERRIDE;
private:
class PrivateData;
PrivateData* m_data;
};
#endif
QwtMagnifier
QwtMagnifier provides zooming, by magnifying in steps.
Definition qwt_magnifier.h:28
QwtMagnifier::widgetKeyPressEvent
virtual void widgetKeyPressEvent(QKeyEvent *)
Definition qwt_magnifier.cpp:473
QwtMagnifier::rescale
virtual void rescale(double factor)=0
QwtPolarCanvas
Canvas of a QwtPolarPlot.
Definition qwt_polar_canvas.h:28
QwtPolarMagnifier
QwtPolarMagnifier provides zooming, by magnifying in steps.
Definition qwt_polar_magnifier.h:31
QwtPolarPlot
A plotting widget, displaying a polar coordinate system.
Definition qwt_polar_plot.h:47