QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
qwt_polar_cache_panner.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_PANNER_H
10#define QWT_POLAR_PANNER_H
11
12#include "qwt_global.h"
13#include "qwt_cache_panner.h"
14class QwtPolarPlot;
15class QwtPolarCanvas;
27class QWT_EXPORT QwtPolarCachePanner : public QwtCachePanner
28{
29 Q_OBJECT
30
31public:
35 ~QwtPolarCachePanner() override;
36
38 QwtPolarPlot* plot();
40 const QwtPolarPlot* plot() const;
41
43 QwtPolarCanvas* canvas();
45 const QwtPolarCanvas* canvas() const;
46
47public Q_SLOTS:
49 virtual void movePlot(int dx, int dy);
50
51protected:
53 virtual void widgetMousePressEvent(QMouseEvent*) override;
54};
55
56#endif
QwtCachePanner provides panning of a widget
Definition qwt_cache_panner.h:50
virtual void widgetMousePressEvent(QMouseEvent *)
Handle a mouse press event for the observed widget.
Definition qwt_cache_panner.cpp:390
QwtPolarCachePanner provides panning of a polar plot canvas
Definition qwt_polar_cache_panner.h:28
Canvas of a QwtPolarPlot
Definition qwt_polar_canvas.h:26
A plotting widget, displaying a polar coordinate system
Definition qwt_polar_plot.h:46