QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
qwt_polar_magnifier.h
1/******************************************************************************
2 * QwtPolar Widget Library
3 * Copyright (C) 2008 Uwe Rathmann
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the Qwt License, Version 1.0
7 *****************************************************************************/
8
9#ifndef QWT_POLAR_MAGNIFIER_H
10#define QWT_POLAR_MAGNIFIER_H
11
12#include "qwt_global.h"
13#include "qwt_magnifier.h"
14
15class QwtPolarPlot;
16class QwtPolarCanvas;
17
40class QWT_EXPORT QwtPolarMagnifier : public QwtMagnifier
41{
42 Q_OBJECT
43
44 public:
48 virtual ~QwtPolarMagnifier();
49
51 void setUnzoomKey( int key, int modifiers );
53 void getUnzoomKey( int& key, int& modifiers ) const;
54
56 QwtPolarPlot* plot();
58 const QwtPolarPlot* plot() const;
59
61 QwtPolarCanvas* canvas();
63 const QwtPolarCanvas* canvas() const;
64
65 public Q_SLOTS:
67 virtual void rescale( double factor ) override;
69 void unzoom();
70
71 protected:
73 virtual void widgetKeyPressEvent( QKeyEvent* ) override;
74
75 private:
76 class PrivateData;
77 PrivateData* m_data;
78};
79
80#endif
QwtMagnifier provides zooming by magnifying in steps.
Definition qwt_magnifier.h:51
virtual void widgetKeyPressEvent(QKeyEvent *)
Handle a key press event for the observed widget.
Definition qwt_magnifier.cpp:606
virtual void rescale(double factor)=0
Rescale the parent widget.
Canvas of a QwtPolarPlot.
Definition qwt_polar_canvas.h:36
QwtPolarMagnifier provides zooming, by magnifying in steps.
Definition qwt_polar_magnifier.h:41
A plotting widget, displaying a polar coordinate system.
Definition qwt_polar_plot.h:61