qwt_polar_marker.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_MARKER_H
10 #define QWT_POLAR_MARKER_H
11 
12 #include "qwt_global.h"
13 #include "qwt_polar_item.h"
14 #include "qwt_point_polar.h"
15 
16 class QRect;
17 class QwtText;
18 class QwtSymbol;
19 
37 {
38  public:
39  explicit QwtPolarMarker();
40  virtual ~QwtPolarMarker();
41 
42  virtual int rtti() const QWT_OVERRIDE;
43 
44  void setPosition( const QwtPointPolar& );
45  QwtPointPolar position() const;
46 
47  void setSymbol( const QwtSymbol* s );
48  const QwtSymbol* symbol() const;
49 
50  void setLabel( const QwtText& );
51  QwtText label() const;
52 
53  void setLabelAlignment( Qt::Alignment );
54  Qt::Alignment labelAlignment() const;
55 
56  virtual void draw( QPainter* painter,
57  const QwtScaleMap& azimuthMap, const QwtScaleMap& radialMap,
58  const QPointF& pole, double radius,
59  const QRectF& canvasRect ) const QWT_OVERRIDE;
60 
61  virtual QwtInterval boundingInterval( int scaleId ) const QWT_OVERRIDE;
62 
63  private:
64  class PrivateData;
66 };
67 
68 #endif
s
XmlRpcServer s
QwtPolarItem::boundingInterval
virtual QwtInterval boundingInterval(int scaleId) const
Definition: qwt_polar_item.cpp:381
QwtPolarItem::rtti
virtual int rtti() const
Definition: qwt_polar_item.cpp:112
qwt_global.h
QwtPolarMarker::PrivateData
Definition: qwt_polar_marker.cpp:19
QwtPointPolar
A point in polar coordinates.
Definition: qwt_point_polar.h:28
QwtPolarMarker
A class for drawing markers.
Definition: qwt_polar_marker.h:36
QwtInterval
A class representing an interval.
Definition: qwt_interval.h:22
QwtPolarItem::draw
virtual void draw(QPainter *painter, const QwtScaleMap &azimuthMap, const QwtScaleMap &radialMap, const QPointF &pole, double radius, const QRectF &canvasRect) const =0
Draw the item.
QwtText
A class representing a text.
Definition: qwt_text.h:51
QwtSymbol
A class for drawing symbols.
Definition: qwt_symbol.h:31
QwtPolarItem
Base class for items on a polar plot.
Definition: qwt_polar_item.h:37
qwt_point_polar.h
QwtScaleMap
A scale map.
Definition: qwt_scale_map.h:26
QWT_OVERRIDE
#define QWT_OVERRIDE
Definition: qwt_global.h:53
QWT_EXPORT
#define QWT_EXPORT
Definition: qwt_global.h:38
qwt_polar_item.h
QwtPolarMarker::m_data
PrivateData * m_data
Definition: qwt_polar_marker.h:64


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:24