KChart::PositionPoints

Search for usage in LXR

KChart::PositionPoints Class Reference

#include <KChartPosition.h>

Public Member Functions

 PositionPoints (const QPointF &onePointForAllPositions)
 
 PositionPoints (const QRectF &rect)
 
 PositionPoints (QPointF center, QPointF northWest, QPointF north, QPointF northEast, QPointF east, QPointF southEast, QPointF south, QPointF southWest, QPointF west)
 
 PositionPoints (QPointF northWest, QPointF northEast, QPointF southEast, QPointF southWest)
 
qreal degrees (KChartEnums::PositionValue pos) const
 
bool isNull () const
 
QPointF point (Position position) const
 
void setDegrees (KChartEnums::PositionValue pos, qreal degrees)
 

Public Attributes

QMap< KChartEnums::PositionValue, qreal > mapOfDegrees
 
QPointF mPositionCenter
 
QPointF mPositionEast
 
QPointF mPositionNorth
 
QPointF mPositionNorthEast
 
QPointF mPositionNorthWest
 
QPointF mPositionSouth
 
QPointF mPositionSouthEast
 
QPointF mPositionSouthWest
 
QPointF mPositionUnknown
 
QPointF mPositionWest
 

Detailed Description

Stores the absolute target points of a Position.

Definition at line 131 of file KChartPosition.h.

Constructor & Destructor Documentation

◆ PositionPoints() [1/5]

KChart::PositionPoints::PositionPoints ( )
inline

Definition at line 134 of file KChartPosition.h.

◆ PositionPoints() [2/5]

KChart::PositionPoints::PositionPoints ( QPointF center,
QPointF northWest,
QPointF north,
QPointF northEast,
QPointF east,
QPointF southEast,
QPointF south,
QPointF southWest,
QPointF west )
inline

Definition at line 136 of file KChartPosition.h.

◆ PositionPoints() [3/5]

KChart::PositionPoints::PositionPoints ( const QPointF & onePointForAllPositions)
inline

Definition at line 156 of file KChartPosition.h.

◆ PositionPoints() [4/5]

KChart::PositionPoints::PositionPoints ( const QRectF & rect)
inline

Definition at line 168 of file KChartPosition.h.

◆ PositionPoints() [5/5]

KChart::PositionPoints::PositionPoints ( QPointF northWest,
QPointF northEast,
QPointF southEast,
QPointF southWest )
inline

Definition at line 182 of file KChartPosition.h.

Member Function Documentation

◆ degrees()

qreal KChart::PositionPoints::degrees ( KChartEnums::PositionValue pos) const
inline

Definition at line 206 of file KChartPosition.h.

◆ isNull()

bool KChart::PositionPoints::isNull ( ) const
inline

Definition at line 242 of file KChartPosition.h.

◆ point()

QPointF KChart::PositionPoints::point ( Position position) const
inline

Definition at line 217 of file KChartPosition.h.

◆ setDegrees()

void KChart::PositionPoints::setDegrees ( KChartEnums::PositionValue pos,
qreal degrees )
inline

Definition at line 198 of file KChartPosition.h.

Member Data Documentation

◆ mapOfDegrees

QMap<KChartEnums::PositionValue, qreal> KChart::PositionPoints::mapOfDegrees

Definition at line 267 of file KChartPosition.h.

◆ mPositionCenter

QPointF KChart::PositionPoints::mPositionCenter

Definition at line 258 of file KChartPosition.h.

◆ mPositionEast

QPointF KChart::PositionPoints::mPositionEast

Definition at line 262 of file KChartPosition.h.

◆ mPositionNorth

QPointF KChart::PositionPoints::mPositionNorth

Definition at line 260 of file KChartPosition.h.

◆ mPositionNorthEast

QPointF KChart::PositionPoints::mPositionNorthEast

Definition at line 261 of file KChartPosition.h.

◆ mPositionNorthWest

QPointF KChart::PositionPoints::mPositionNorthWest

Definition at line 259 of file KChartPosition.h.

◆ mPositionSouth

QPointF KChart::PositionPoints::mPositionSouth

Definition at line 264 of file KChartPosition.h.

◆ mPositionSouthEast

QPointF KChart::PositionPoints::mPositionSouthEast

Definition at line 263 of file KChartPosition.h.

◆ mPositionSouthWest

QPointF KChart::PositionPoints::mPositionSouthWest

Definition at line 265 of file KChartPosition.h.

◆ mPositionUnknown

QPointF KChart::PositionPoints::mPositionUnknown

Definition at line 257 of file KChartPosition.h.

◆ mPositionWest

QPointF KChart::PositionPoints::mPositionWest

Definition at line 266 of file KChartPosition.h.


The documentation for this class was generated from the following file:
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

KDE's Doxygen guidelines are available online.