QWT API (中文) 7.0.1
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;
40class QWT_EXPORT QwtPolarCachePanner : public QwtCachePanner
41{
42 Q_OBJECT
43
44public:
48 virtual ~QwtPolarCachePanner();
49
51 QwtPolarPlot* plot();
53 const QwtPolarPlot* plot() const;
54
56 QwtPolarCanvas* canvas();
58 const QwtPolarCanvas* canvas() const;
59
60public Q_SLOTS:
62 virtual void movePlot(int dx, int dy);
63
64protected:
66 virtual void widgetMousePressEvent(QMouseEvent*) override;
67};
68
69#endif
QwtCachePanner 提供控件的拖动平移功能
Definition qwt_cache_panner.h:63
virtual void widgetMousePressEvent(QMouseEvent *)
Handle a mouse press event for the observed widget.
Definition qwt_cache_panner.cpp:503
QwtPolarCachePanner 提供极坐标绘图画布的平移功能
Definition qwt_polar_cache_panner.h:41
QwtPolarPlot 的画布
Definition qwt_polar_canvas.h:36
显示极坐标系的绘图控件
Definition qwt_polar_plot.h:61