23 #ifndef KDCHART_POLAR_COORDINATEPLANE_H 24 #define KDCHART_POLAR_COORDINATEPLANE_H 44 struct CoordinateTransformation;
52 const QPointF
translate (
const QPointF& diagramPoint )
const override;
53 const QPointF translatePolar (
const QPointF& diagramPoint )
const;
64 void setStartPosition( qreal degrees );
68 qreal startPosition()
const;
70 qreal zoomFactorX()
const override;
71 qreal zoomFactorY()
const override;
73 void setZoomFactors( qreal factorX, qreal factorY )
override;
74 void setZoomFactorX( qreal factor )
override;
75 void setZoomFactorY( qreal factor )
override;
77 QPointF zoomCenter()
const override;
79 void setZoomCenter(
const QPointF& center )
override;
113 void resetGridAttributes(
bool circular );
143 bool hasOwnGridAttributes(
bool circular )
const;
145 qreal angleUnit()
const;
146 qreal radiusUnit()
const;
149 void paint( QPainter* )
override;
153 void paintEvent ( QPaintEvent* );
154 void resizeEvent ( QResizeEvent* );
156 void layoutDiagrams()
override;
159 void adjustZoomAndRepaint();
162 void setHasOwnGridAttributes(
bool circular,
bool on );
Base class common for all coordinate planes, CartesianCoordinatePlane, PolarCoordinatePlane, TernaryCoordinatePlane.
QList< CoordinateTransformation > CoordinateTransformationList
A chart with one or more diagrams.
AbstractDiagram defines the interface for diagram classes.
QPointF translate(const TernaryPoint &point)
A set of attributes controlling the appearance of grids.
#define KDCHART_DECLARE_PRIVATE_DERIVED_PARENT(X, ParentType)