mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 00:28:42 +00:00
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
31 lines
686 B
C++
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;
|
|
};
|