23 #ifndef KDCHART_POLAR_COORDINATEPLANE_H 24 #define KDCHART_POLAR_COORDINATEPLANE_H 44 struct CoordinateTransformation;
52 const QPointF
translate (
const QPointF& diagramPoint )
const;
53 const QPointF translatePolar (
const QPointF& diagramPoint )
const;
64 void setStartPosition( qreal degrees );
68 qreal startPosition()
const;
70 virtual qreal zoomFactorX()
const;
71 virtual qreal zoomFactorY()
const;
73 virtual void setZoomFactors( qreal factorX, qreal factorY );
74 virtual void setZoomFactorX( qreal factor );
75 virtual void setZoomFactorY( qreal factor );
77 virtual QPointF zoomCenter()
const;
79 virtual void setZoomCenter(
const QPointF& center );
113 void resetGridAttributes(
bool circular );
143 bool hasOwnGridAttributes(
bool circular )
const;
145 qreal angleUnit()
const;
146 qreal radiusUnit()
const;
149 virtual void paint( QPainter* );
153 void paintEvent ( QPaintEvent* );
154 void resizeEvent ( QResizeEvent* );
156 void layoutDiagrams();
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)