Files
qwt/examples/polardemo/PlotBox.h
2023-10-31 09:22:42 +01:00

31 lines
689 B
C++

/*****************************************************************************
* Qwt Polar Examples - Copyright (C) 2008 Uwe Rathmann
* This file may be used under the terms of the 3-clause BSD License
*****************************************************************************/
#pragma once
#include <QMainWindow>
class Plot;
class QwtPolarPanner;
class QwtPolarMagnifier;
class PlotBox : public QWidget
{
Q_OBJECT
public:
PlotBox( QWidget* parent = nullptr );
private Q_SLOTS:
void enableZoomMode( bool on );
void printDocument();
void exportDocument();
private:
Plot* m_plot;
QwtPolarPanner* m_panner;
QwtPolarMagnifier* m_zoomer;
};