Add files from zip
This commit is contained in:
30
examples/polardemo/PlotBox.h
Normal file
30
examples/polardemo/PlotBox.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/*****************************************************************************
|
||||
* 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;
|
||||
};
|
||||
Reference in New Issue
Block a user