3rdparty
qwt
src
qwt_polar_magnifier.h
Go to the documentation of this file.
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
15
class
QwtPolarPlot
;
16
class
QwtPolarCanvas
;
17
30
class
QWT_EXPORT
QwtPolarMagnifier
:
public
QwtMagnifier
31
{
32
Q_OBJECT
33
34
public
:
35
explicit
QwtPolarMagnifier
(
QwtPolarCanvas
* );
36
virtual
~
QwtPolarMagnifier
();
37
38
void
setUnzoomKey(
int
key,
int
modifiers );
39
void
getUnzoomKey(
int
& key,
int
& modifiers )
const
;
40
41
QwtPolarPlot
* plot();
42
const
QwtPolarPlot
* plot()
const
;
43
44
QwtPolarCanvas
* canvas();
45
const
QwtPolarCanvas
* canvas()
const
;
46
47
public
Q_SLOTS:
48
virtual
void
rescale
(
double
factor )
QWT_OVERRIDE
;
49
void
unzoom();
50
51
protected
:
52
virtual
void
widgetKeyPressEvent
( QKeyEvent* )
QWT_OVERRIDE
;
53
54
private
:
55
class
PrivateData
;
56
PrivateData
*
m_data
;
57
};
58
59
#endif
QwtPolarMagnifier
QwtPolarMagnifier provides zooming, by magnifying in steps.
Definition:
qwt_polar_magnifier.h:30
QwtPolarPlot
A plotting widget, displaying a polar coordinate system.
Definition:
qwt_polar_plot.h:46
QwtPolarCanvas
Canvas of a QwtPolarPlot.
Definition:
qwt_polar_canvas.h:27
QwtPolarMagnifier::PrivateData
Definition:
qwt_polar_magnifier.cpp:17
qwt_global.h
QwtMagnifier
QwtMagnifier provides zooming, by magnifying in steps.
Definition:
qwt_magnifier.h:27
QwtMagnifier::widgetKeyPressEvent
virtual void widgetKeyPressEvent(QKeyEvent *)
Definition:
qwt_magnifier.cpp:473
QwtMagnifier::rescale
virtual void rescale(double factor)=0
qwt_magnifier.h
QWT_OVERRIDE
#define QWT_OVERRIDE
Definition:
qwt_global.h:53
QWT_EXPORT
#define QWT_EXPORT
Definition:
qwt_global.h:38
QwtPolarMagnifier::m_data
PrivateData * m_data
Definition:
qwt_polar_magnifier.h:55
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:46