QGIS/external/qwt-6.3.0/qwt_polar_panner.h
Juergen E. Fischer 33fc476d89 * replace external qwtpolar with qwt 6.3
* require qwt >=6.2 (and fallback to internal 6.3 if system's qwt doesn't suffice)
* debian doesn't have qwt for Qt6 and won't have it for trixie
2025-07-23 07:11:51 +10:00

52 lines
1.3 KiB
C++

/******************************************************************************
* 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_PANNER_H
#define QWT_POLAR_PANNER_H
#include "qwt_global.h"
#include "qwt_panner.h"
class QwtPolarPlot;
class QwtPolarCanvas;
/*!
\brief QwtPolarPanner provides panning of a polar plot canvas
QwtPolarPanner is a panner for a QwtPolarCanvas, that
adjusts the visible area after dropping
the canvas on its new position.
Together with QwtPolarMagnifier individual ways
of navigating on a QwtPolarPlot widget can be implemented easily.
\sa QwtPolarMagnifier
*/
class QWT_EXPORT QwtPolarPanner : public QwtPanner
{
Q_OBJECT
public:
explicit QwtPolarPanner( QwtPolarCanvas* );
virtual ~QwtPolarPanner();
QwtPolarPlot* plot();
const QwtPolarPlot* plot() const;
QwtPolarCanvas* canvas();
const QwtPolarCanvas* canvas() const;
public Q_SLOTS:
virtual void movePlot( int dx, int dy );
protected:
virtual void widgetMousePressEvent( QMouseEvent* ) QWT_OVERRIDE;
};
#endif