Files
GoldenCheetah/qwt/examples/polardemo/PlotBox.h
Joachim Kohlhammer 2681536c68 Updated qwt to 6.3 (qwt-multiaxes branch) (#4497)
Using qwt from https://sourceforge.net/p/qwt/git/ci/qwt-multiaxes/tree/

Applied the following changes to qwt 6.3:
* Added QwtZone to qwt_plot_curve.cpp
* Disabled the emitting of Layout Requests on geometry changes of
  QwtScaleWidget - without this, CPU utilization was up to 100% on
  one core

Fixes #4495
2024-05-30 15:32:43 -03:00

31 lines
686 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 = NULL );
private Q_SLOTS:
void enableZoomMode( bool on );
void printDocument();
void exportDocument();
private:
Plot* m_plot;
QwtPolarPanner* m_panner;
QwtPolarMagnifier* m_zoomer;
};