23 #ifndef KDCHARTABSTRACTCOORDINATEPLANE_H
24 #define KDCHARTABSTRACTCOORDINATEPLANE_H
50 friend class AbstractGrid;
116 virtual void layoutDiagrams() = 0;
124 virtual const QPointF
translate (
const QPointF& diagramPoint )
const = 0;
129 bool isRubberBandZoomingEnabled()
const;
134 void setRubberBandZoomingEnabled(
bool enable );
152 virtual void setZoomFactors( qreal factorX, qreal factorY ) { Q_UNUSED( factorX ); Q_UNUSED( factorY ); }
172 virtual QPointF
zoomCenter()
const {
return QPointF(0.0, 0.0); }
251 bool isCornerSpacersEnabled()
const;
256 void setCornerSpacersEnabled(
bool enable );
262 virtual bool isEmpty()
const;
264 virtual Qt::Orientations expandingDirections()
const;
266 virtual QSize maximumSize()
const;
268 virtual QSize minimumSize()
const;
270 virtual QSize sizeHint()
const;
277 virtual void setGeometry(
const QRect& r );
279 virtual QRect geometry()
const;
281 virtual void mousePressEvent( QMouseEvent* event );
282 virtual void mouseDoubleClickEvent( QMouseEvent* event );
283 virtual void mouseMoveEvent( QMouseEvent* event );
284 virtual void mouseReleaseEvent( QMouseEvent* event );
289 void setParent(
Chart* parent );
291 const Chart* parent()
const;
298 #if QT_VERSION < 0x040400 || defined(Q_COMPILER_MANGLES_RETURN_TYPE)
299 const bool isVisiblePoint(
const QPointF& point )
const;
301 bool isVisiblePoint(
const QPointF& point )
const;
320 void setGridNeedsRecalculate();
333 void needLayoutPlanes();
336 void propertiesChanged();
338 void boundariesChanged();
345 void geometryChanged( QRect, QRect );
352 void internal_geometryChanged( QRect, QRect );
354 void viewportCoordinateSystemChanged();
394 qreal stepWidth_=0.0,
395 qreal subStepWidth_=0.0 )
441 #if !defined(QT_NO_DEBUG_STREAM)