QWT API (中文)
7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
src
plot
qwt_canvas_picker.h
1
/******************************************************************************
2
* Qwt Widget Library
3
* Copyright (C) 2024 ChenZongYan <czy.t@163.com>
4
*****************************************************************************/
5
#ifndef QWTCANVASPICKER_H
6
#define QWTCANVASPICKER_H
7
#include "qwt_picker.h"
8
// qt
9
class
QWidget;
10
// qwt
11
class
QwtPlot
;
12
19
class
QWT_EXPORT
QwtCanvasPicker
:
public
QwtPicker
20
{
21
Q_OBJECT
22
public
:
23
// Constructor with canvas widget
24
explicit
QwtCanvasPicker
(QWidget* canvas);
25
// Destructor
26
~QwtCanvasPicker
()
override
;
27
28
// Get the associated plot (non-const version)
29
QwtPlot
* plot();
30
// Get the associated plot (const version)
31
const
QwtPlot
* plot()
const
;
32
33
// Get the canvas widget (non-const version)
34
QWidget* canvas();
35
// Get the canvas widget (const version)
36
const
QWidget* canvas()
const
;
37
};
38
39
#endif
// QWTCANVASPICKER_H
QwtCanvasPicker
Base picker class specifically for canvas
Definition
qwt_canvas_picker.h:20
QwtPicker
QwtPicker provides selections on a widget
Definition
qwt_picker.h:108
QwtPlot
A 2-D plotting widget
Definition
qwt_plot.h:99
制作者
1.9.8