Analitza
#include <plotter2d.h>
Render 2D plots.
This class uses QPainter as backend for drawing plots.
Definition at line 52 of file plotter2d.h.
| Analitza::Plotter2D::Plotter2D |
( |
const QSizeF & |
size | ) |
|
| virtual Analitza::Plotter2D::~Plotter2D |
( |
| ) |
|
|
virtual |
| QPair<QPointF, QString> Analitza::Plotter2D::calcImage |
( |
const QPointF & |
ndp | ) |
const |
|
protected |
| virtual int Analitza::Plotter2D::currentFunction |
( |
| ) |
const |
|
pure virtual |
| virtual void Analitza::Plotter2D::drawFunctions |
( |
QPaintDevice * |
qpd | ) |
|
|
virtual |
| virtual void Analitza::Plotter2D::forceRepaint |
( |
| ) |
|
|
pure virtual |
| QPointF Analitza::Plotter2D::fromWidget |
( |
const QPoint & |
p | ) |
const |
|
protected |
| bool Analitza::Plotter2D::keepAspectRatio |
( |
| ) |
const |
|
inline |
Sets whether it is keeping the aspect ratio (1:1 grid).
Definition at line 74 of file plotter2d.h.
| QRectF Analitza::Plotter2D::lastUserViewport |
( |
| ) |
const |
|
inlineprotected |
| QRectF Analitza::Plotter2D::lastViewport |
( |
| ) |
const |
|
inlineprotected |
| QAbstractItemModel* Analitza::Plotter2D::model |
( |
| ) |
const |
|
inline |
| virtual void Analitza::Plotter2D::modelChanged |
( |
| ) |
|
|
pure virtual |
| void Analitza::Plotter2D::moveViewport |
( |
const QPoint & |
delta | ) |
|
Moves the viewport delta.
| void Analitza::Plotter2D::scaleViewport |
( |
qreal |
s, |
|
|
const QPoint & |
center |
|
) |
| |
|
protected |
| void Analitza::Plotter2D::setAxesShown |
( |
Qt::Orientations |
o | ) |
|
|
inline |
| void Analitza::Plotter2D::setKeepAspectRatio |
( |
bool |
ar | ) |
|
Sets whether it has to keep the aspect ratio (1:1 grid).
| void Analitza::Plotter2D::setModel |
( |
QAbstractItemModel * |
f | ) |
|
| void Analitza::Plotter2D::setPaintedSize |
( |
const QSize & |
size | ) |
|
|
protected |
| void Analitza::Plotter2D::setSquares |
( |
bool |
newSquare | ) |
|
|
inline |
Sets whether we will see a grid or only the axes.
Definition at line 65 of file plotter2d.h.
| void Analitza::Plotter2D::setTicksShown |
( |
Qt::Orientations |
o | ) |
|
|
inline |
| void Analitza::Plotter2D::setViewport |
( |
const QRectF & |
vp, |
|
|
bool |
repaint = true |
|
) |
| |
Sets the graph's viewport to v.
| void Analitza::Plotter2D::setXAxisLabel |
( |
const QString & |
label | ) |
|
| void Analitza::Plotter2D::setYAxisLabel |
( |
const QString & |
label | ) |
|
| QLineF Analitza::Plotter2D::slope |
( |
const QPointF & |
dp | ) |
const |
|
protected |
| bool Analitza::Plotter2D::squares |
( |
| ) |
const |
|
inline |
Returns whether we have chosen to see the grid.
Definition at line 68 of file plotter2d.h.
| Qt::Orientations Analitza::Plotter2D::ticksShown |
( |
| ) |
const |
|
inline |
| QPointF Analitza::Plotter2D::toViewport |
( |
const QPoint & |
mv | ) |
const |
|
protected |
| QPointF Analitza::Plotter2D::toWidget |
( |
const QPointF & |
| ) |
const |
|
protected |
| QLineF Analitza::Plotter2D::toWidget |
( |
const QLineF & |
| ) |
const |
|
protected |
| void Analitza::Plotter2D::updateFunctions |
( |
const QModelIndex & |
parent, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| |
Force the functions from start to end to be recalculated.
| void Analitza::Plotter2D::updateGridColor |
( |
const QColor & |
color | ) |
|
|
inline |
| void Analitza::Plotter2D::updateScale |
( |
bool |
repaint | ) |
|
|
protected |
| void Analitza::Plotter2D::updateTickScale |
( |
const QString & |
m_tickScaleSymbol, |
|
|
qreal |
m_tickScaleSymbolValue, |
|
|
int |
m_tickScaleNumerator, |
|
|
int |
m_tickScaleDenominator |
|
) |
| |
| virtual void Analitza::Plotter2D::viewportChanged |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:21 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.