Files
cavity_LIBS/msvc-deps/qwt-6.2.0/examples/polardemo/PlotBox.h
T
2026-11-06 14:45:09 +08: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;
};