Logo Search packages:      
Sourcecode: kalgebra version File versions  Download package

QGraph Class Reference

#include <qgraph.h>

List of all members.

Detailed Description


Definition at line 21 of file qgraph.h.

Public Member Functions

bool addFunction (const function &)
bool editFunction (const QString &tochange, const function &func)
bool editFunction (const unsigned int &num, const function &func)
 QGraph (QWidget *parent=0, const char *name=0)
void setResolution (int res)
bool setSelected (const QString &)
bool setShown (const QString &, const bool &shown)
void setSquares (bool newSquare)
void setViewPort (QRect)
QSizePolicy sizePolicy () const
bool squares ()
bool toImage (QString path)

Static Public Member Functions

static int round (double val)

Private Member Functions

void dibuixa_eixos (QPainter *)
QDoublePoint fromWidget (QPoint p)
void keyPressEvent (QKeyEvent *e)
void mouseMoveEvent (QMouseEvent *e)
void mousePressEvent (QMouseEvent *e)
void mouseReleaseEvent (QMouseEvent *e)
void paintEvent (QPaintEvent *)
void pintafunc (QPaintDevice *)
QPoint toViewport (const QPoint &mv)
QPoint toWidget (double, double, bool *b=0)
void trunca (QPoint *, QPoint *, bool *)
void update_points ()
void wheelEvent (QWheelEvent *e)

Private Attributes

QPoint ant
QPainter finestra
QValueList< functionfunclist
bool m_squares
QLabel * micepos
QPoint press
int pushed
double rang_x
double rang_y
int resolucio
QRect viewport

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index