Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
3rdparty
qwt
src
qwt_polar_picker.h
Go to the documentation of this file.
1
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
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_PICKER_H
10
#define QWT_POLAR_PICKER_H
11
12
#include "
qwt_global.h
"
13
#include "
qwt_picker.h
"
14
15
#include <qvector.h>
16
#include <qpainterpath.h>
17
18
class
QwtPolarPlot
;
19
class
QwtPolarCanvas
;
20
class
QwtPointPolar
;
21
28
class
QWT_EXPORT
QwtPolarPicker
:
public
QwtPicker
29
{
30
Q_OBJECT
31
32
public
:
33
explicit
QwtPolarPicker
(
QwtPolarCanvas
* );
34
virtual
~
QwtPolarPicker
();
35
36
explicit
QwtPolarPicker
(
37
RubberBand
rubberBand,
DisplayMode
trackerMode,
38
QwtPolarCanvas
* );
39
40
QwtPolarPlot
*plot();
41
const
QwtPolarPlot
*plot()
const
;
42
43
QwtPolarCanvas
*canvas();
44
const
QwtPolarCanvas
*canvas()
const
;
45
46
virtual
QRect pickRect()
const
;
47
48
Q_SIGNALS:
49
54
void
selected
(
const
QwtPointPolar
&pos );
55
62
void
selected
(
const
QVector<QwtPointPolar>
&points );
63
70
void
appended
(
const
QwtPointPolar
&pos );
71
79
void
moved
(
const
QwtPointPolar
&pos );
80
81
protected
:
82
QwtPointPolar
invTransform(
const
QPoint & )
const
;
83
84
virtual
QwtText
trackerText
(
const
QPoint & )
const
QWT_OVERRIDE
;
85
virtual
QwtText
trackerTextPolar(
const
QwtPointPolar
& )
const
;
86
87
virtual
void
move
(
const
QPoint & )
QWT_OVERRIDE
;
88
virtual
void
append
(
const
QPoint & )
QWT_OVERRIDE
;
89
virtual
bool
end
(
bool
ok =
true
)
QWT_OVERRIDE
;
90
91
private
:
92
virtual
QPainterPath
pickArea
()
const
QWT_OVERRIDE
;
93
94
class
PrivateData
;
95
PrivateData
*
d_data
;
96
};
97
98
#endif
qwt_picker.h
QwtPicker::end
virtual bool end(bool ok=true)
Close a selection setting the state to inactive.
Definition:
qwt_picker.cpp:1285
QwtPicker::DisplayMode
DisplayMode
Display mode.
Definition:
qwt_picker.h:162
QwtPolarPlot
A plotting widget, displaying a polar coordinate system.
Definition:
qwt_polar_plot.h:46
QwtPolarPicker::PrivateData
Definition:
qwt_polar_picker.cpp:16
QwtPointPolar
A point in polar coordinates.
Definition:
qwt_point_polar.h:27
QWT_EXPORT
#define QWT_EXPORT
Definition:
qwt_global.h:38
QVector
Definition:
qwt_clipper.h:21
QwtPicker::selected
void selected(const QPolygon &polygon)
QwtPicker::moved
void moved(const QPoint &pos)
qwt_global.h
QwtPicker::pickArea
virtual QPainterPath pickArea() const
Definition:
qwt_picker.cpp:1487
QwtPolarPicker::d_data
PrivateData * d_data
Definition:
qwt_polar_picker.h:94
QwtText
A class representing a text.
Definition:
qwt_text.h:51
QwtPicker::move
virtual void move(const QPoint &)
Definition:
qwt_picker.cpp:1351
QwtPolarCanvas
Canvas of a QwtPolarPlot.
Definition:
qwt_polar_canvas.h:27
QwtPicker::appended
void appended(const QPoint &pos)
QwtPolarPicker
QwtPolarPicker provides selections on a plot canvas.
Definition:
qwt_polar_picker.h:28
QwtPicker::trackerText
virtual QwtText trackerText(const QPoint &pos) const
Return the label for a position.
Definition:
qwt_picker.cpp:502
QwtPicker::RubberBand
RubberBand
Definition:
qwt_picker.h:128
QwtPicker
QwtPicker provides selections on a widget.
Definition:
qwt_picker.h:104
QWT_OVERRIDE
#define QWT_OVERRIDE
Definition:
qwt_global.h:53
QwtPicker::append
virtual void append(const QPoint &)
Definition:
qwt_picker.cpp:1333
plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 03:48:10