KChart
KChartPolarCoordinatePlane.cpp
175 //qDebug() << radiusUnit <<"=" << "qMin( "<<planeWidth<<","<< planeHeight <<") / "<<diagramWidth;
185 diagramTransposition.minValue = dataBoundariesPair.first.y() < 0 ? dataBoundariesPair.first.y() : 0.0;
290 : QPointF( d->coordinateTransformations.first().zoom.xCenter, d->coordinateTransformations.first().zoom.yCenter );
347 QRectF KChart::PolarCoordinatePlane::Private::contentsRect( const KChart::PolarCoordinatePlane* plane )
QPointF zoomCenter() const override
Definition: KChartPolarCoordinatePlane.cpp:286
AbstractDiagram defines the interface for diagram classes.
Definition: KChartAbstractDiagram.h:47
void paint(PaintContext *paintContext) override
Definition: KChartPolarDiagram.cpp:132
void layoutDiagrams() override
Distribute the available space among the diagrams and axes.
Definition: KChartPolarCoordinatePlane.cpp:145
QRect contentsRect() const const
int height() const const
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:314
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:113
void setZoomFactorX(qreal factor) override
Sets the zoom factor in horizontal direction, that is applied to all coordinate transformations.
Definition: KChartPolarCoordinatePlane.cpp:264
int size() const const
const QRect & geometry() const const
void propertiesChanged()
Emitted upon change of a property of the Diagram.
qreal x() const const
qreal y() const const
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:293
Base class common for all coordinate planes, CartesianCoordinatePlane, PolarCoordinatePlane, TernaryCoordinatePlane.
Definition: KChartAbstractCoordinatePlane.h:41
ZoomParameters stores the center and the factor of zooming internally.
Definition: KChartZoomParameters.h:39
void layoutChanged(AbstractDiagram *)
Diagrams are supposed to emit this signal, when the layout of one of their element changes...
void resetGridAttributes(bool circular)
Reset the attributes to be used for grid lines drawn in circular direction (or in sagittal direction...
Definition: KChartPolarCoordinatePlane.cpp:327
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:191
Definition: KChartPosition.h:33
void setZoomFactorY(qreal factor) override
Sets the zoom factor in vertical direction, that is applied to all coordinate transformations.
Definition: KChartPolarCoordinatePlane.cpp:275
QRect rect() const const
Definition: KChartWidget.h:32
virtual void addDiagram(AbstractDiagram *diagram)
Adds a diagram to this coordinate plane.
Definition: KChartAbstractCoordinatePlane.cpp:68
void setTopLeft(const QPointF &position)
bool invokeMethod(QObject *obj, const char *member, Qt::ConnectionType type, QGenericReturnArgument ret, QGenericArgument val0, QGenericArgument val1, QGenericArgument val2, QGenericArgument val3, QGenericArgument val4, QGenericArgument val5, QGenericArgument val6, QGenericArgument val7, QGenericArgument val8, QGenericArgument val9)
qreal startPosition() const
Retrieve the rotation of the coordinate plane.
Definition: KChartPolarCoordinatePlane.cpp:237
qreal zoomFactorX() const override
Definition: KChartPolarCoordinatePlane.cpp:244
qreal zoomFactorY() const override
Definition: KChartPolarCoordinatePlane.cpp:251
bool hasOwnGridAttributes(bool circular) const
Definition: KChartPolarCoordinatePlane.cpp:369
int width() const const
void setZoomFactors(qreal factorX, qreal factorY) override
Sets both zoom factors in one go.
Definition: KChartPolarCoordinatePlane.cpp:258
A set of attributes controlling the appearance of grids.
Definition: KChartGridAttributes.h:36
void setX(qreal x)
const GridAttributes gridAttributes(bool circular) const
Definition: KChartPolarCoordinatePlane.cpp:334
Base class for diagrams based on a polar coordinate system.
Definition: KChartAbstractPolarDiagram.h:33
QueuedConnection
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setBottomRight(const QPointF &position)
void setStartPosition(qreal degrees)
Specify the rotation of the coordinate plane.
Definition: KChartPolarCoordinatePlane.cpp:224
PolarDiagram defines a common polar diagram.
Definition: KChartPolarDiagram.h:36
Q_EMITQ_EMIT
void addDiagram(AbstractDiagram *diagram) override
Adds a diagram to this coordinate plane.
Definition: KChartPolarCoordinatePlane.cpp:58
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Apr 10 2021 22:36:40 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Apr 10 2021 22:36:40 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.