KChart::ReverseMapper

Search for usage in LXR

KChart::ReverseMapper Class Reference

#include <ReverseMapper.h>

Public Member Functions

 ReverseMapper (AbstractDiagram *diagram)
 
void addCircle (int row, int column, const QPointF &location, const QSizeF &diameter)
 
void addLine (int row, int column, const QPointF &from, const QPointF &to)
 
void addPolygon (int row, int column, const QPolygonF &polygon)
 
void addRect (int row, int column, const QRectF &rect)
 
QRectF boundingRect (int row, int column) const
 
void clear ()
 
QModelIndexList indexesAt (const QPointF &point) const
 
QModelIndexList indexesIn (const QRect &rect) const
 
QPolygonF polygon (int row, int column) const
 
void setDiagram (AbstractDiagram *diagram)
 

Detailed Description

The ReverseMapper stores information about objects on a chart and their respective model indexes.

Definition at line 30 of file ReverseMapper.h.

Constructor & Destructor Documentation

◆ ReverseMapper() [1/2]

ReverseMapper::ReverseMapper ( )

Definition at line 24 of file ReverseMapper.cpp.

◆ ReverseMapper() [2/2]

ReverseMapper::ReverseMapper ( AbstractDiagram * diagram)
explicit

Definition at line 30 of file ReverseMapper.cpp.

◆ ~ReverseMapper()

ReverseMapper::~ReverseMapper ( )

Definition at line 36 of file ReverseMapper.cpp.

Member Function Documentation

◆ addCircle()

void ReverseMapper::addCircle ( int row,
int column,
const QPointF & location,
const QSizeF & diameter )

Definition at line 127 of file ReverseMapper.cpp.

◆ addLine()

void ReverseMapper::addLine ( int row,
int column,
const QPointF & from,
const QPointF & to )

Definition at line 135 of file ReverseMapper.cpp.

◆ addPolygon()

void ReverseMapper::addPolygon ( int row,
int column,
const QPolygonF & polygon )

Definition at line 114 of file ReverseMapper.cpp.

◆ addRect()

void ReverseMapper::addRect ( int row,
int column,
const QRectF & rect )

Definition at line 109 of file ReverseMapper.cpp.

◆ boundingRect()

QRectF ReverseMapper::boundingRect ( int row,
int column ) const

Definition at line 104 of file ReverseMapper.cpp.

◆ clear()

void ReverseMapper::clear ( )

Definition at line 47 of file ReverseMapper.cpp.

◆ indexesAt()

QModelIndexList ReverseMapper::indexesAt ( const QPointF & point) const

Definition at line 75 of file ReverseMapper.cpp.

◆ indexesIn()

QModelIndexList ReverseMapper::indexesIn ( const QRect & rect) const

Definition at line 55 of file ReverseMapper.cpp.

◆ polygon()

QPolygonF ReverseMapper::polygon ( int row,
int column ) const

Definition at line 96 of file ReverseMapper.cpp.

◆ setDiagram()

void ReverseMapper::setDiagram ( AbstractDiagram * diagram)

Definition at line 42 of file ReverseMapper.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:54:46 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.