KChart
KChartPolarCoordinatePlane.cpp
164//qDebug() << radiusUnit <<"=" << "qMin( "<<planeWidth<<","<< planeHeight <<") / "<<diagramWidth;
279 : QPointF( d->coordinateTransformations.first().zoom.xCenter, d->coordinateTransformations.first().zoom.yCenter );
336QRectF KChart::PolarCoordinatePlane::Private::contentsRect( const KChart::PolarCoordinatePlane* plane )
QRect areaGeometry() const override
Definition KChartAbstractArea.cpp:137
Base class common for all coordinate planes, CartesianCoordinatePlane, PolarCoordinatePlane,...
Definition KChartAbstractCoordinatePlane.h:31
virtual void addDiagram(AbstractDiagram *diagram)
Adds a diagram to this coordinate plane.
Definition KChartAbstractCoordinatePlane.cpp:57
QRect geometry() const override
pure virtual in QLayoutItem
Definition KChartAbstractCoordinatePlane.cpp:232
void update()
Calling update() on the plane triggers the global KChart::Chart::update()
Definition KChartAbstractCoordinatePlane.cpp:237
AbstractDiagramList diagrams()
Definition KChartAbstractCoordinatePlane.cpp:124
AbstractDiagram * diagram()
Definition KChartAbstractCoordinatePlane.cpp:114
AbstractDiagram defines the interface for diagram classes.
Definition KChartAbstractDiagram.h:37
const QPair< QPointF, QPointF > dataBoundaries() const
Return the bottom left and top right data point, that the diagram will display (unless the grid adjus...
Definition KChartAbstractDiagram.cpp:101
Base class for diagrams based on a polar coordinate system.
Definition KChartAbstractPolarDiagram.h:23
A set of attributes controlling the appearance of grids.
Definition KChartGridAttributes.h:26
void setZoomFactorY(qreal factor) override
Sets the zoom factor in vertical direction, that is applied to all coordinate transformations.
Definition KChartPolarCoordinatePlane.cpp:264
bool hasOwnGridAttributes(bool circular) const
Definition KChartPolarCoordinatePlane.cpp:358
void layoutDiagrams() override
Distribute the available space among the diagrams and axes.
Definition KChartPolarCoordinatePlane.cpp:134
qreal startPosition() const
Retrieve the rotation of the coordinate plane.
Definition KChartPolarCoordinatePlane.cpp:226
const GridAttributes gridAttributes(bool circular) const
Definition KChartPolarCoordinatePlane.cpp:323
void resetGridAttributes(bool circular)
Reset the attributes to be used for grid lines drawn in circular direction (or in sagittal direction,...
Definition KChartPolarCoordinatePlane.cpp:316
void addDiagram(AbstractDiagram *diagram) override
Adds a diagram to this coordinate plane.
Definition KChartPolarCoordinatePlane.cpp:47
void setZoomCenter(const QPointF ¢er) override
Set the point (in value coordinates) to be used as the center point in zoom operations.
Definition KChartPolarCoordinatePlane.cpp:282
void setZoomFactorX(qreal factor) override
Sets the zoom factor in horizontal direction, that is applied to all coordinate transformations.
Definition KChartPolarCoordinatePlane.cpp:253
QPointF zoomCenter() const override
Definition KChartPolarCoordinatePlane.cpp:275
qreal zoomFactorX() const override
Definition KChartPolarCoordinatePlane.cpp:233
qreal zoomFactorY() const override
Definition KChartPolarCoordinatePlane.cpp:240
void setStartPosition(qreal degrees)
Specify the rotation of the coordinate plane.
Definition KChartPolarCoordinatePlane.cpp:213
void setGridAttributes(bool circular, const GridAttributes &)
Set the attributes to be used for grid lines drawn in circular direction (or in sagittal direction,...
Definition KChartPolarCoordinatePlane.cpp:303
const QPointF translate(const QPointF &diagramPoint) const override
Translate the given point in value space coordinates to a position in pixel space.
Definition KChartPolarCoordinatePlane.cpp:180
void setZoomFactors(qreal factorX, qreal factorY) override
Sets both zoom factors in one go.
Definition KChartPolarCoordinatePlane.cpp:247
ZoomParameters stores the center and the factor of zooming internally.
Definition KChartZoomParameters.h:28
qsizetype size() const const
bool invokeMethod(QObject *context, Functor &&function, FunctorReturnType *ret)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void setX(qreal x)
qreal x() const const
qreal y() const const
int height() const const
int width() const const
void setBottomRight(const QPointF &position)
void setTopLeft(const QPointF &position)
QueuedConnection
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.