• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kalgebra

Public Slots | Public Member Functions | Properties | List of all members
Graph2DMobile Class Reference

#include <graph2dmobile.h>

Inheritance diagram for Graph2DMobile:
Inheritance graph
[legend]

Public Slots

QStringList addFunction (const QString &expression, Analitza::Variables *vars=0)
 
void resetViewport ()
 
void scale (qreal s, int x, int y)
 
void translate (qreal x, qreal y)
 

Public Member Functions

 Graph2DMobile (QDeclarativeItem *parent=0)
 
virtual int currentFunction () const
 
virtual void forceRepaint ()
 
virtual void modelChanged ()
 
virtual void paint (QPainter *p, const QStyleOptionGraphicsItem *options, QWidget *w)
 
void setCurrentFunction (int f)
 
void setTicksShownAtAll (bool shown)
 
bool ticksShownAtAll () const
 
virtual void viewportChanged ()
 

Properties

bool currentFunction
 
bool keepAspectRatio
 
QAbstractItemModel model
 
bool squares
 
bool ticksShown
 
QRectF viewport
 

Detailed Description

Definition at line 30 of file graph2dmobile.h.

Constructor & Destructor Documentation

Graph2DMobile::Graph2DMobile ( QDeclarativeItem *  parent = 0)

Definition at line 31 of file graph2dmobile.cpp.

Member Function Documentation

QStringList Graph2DMobile::addFunction ( const QString &  expression,
Analitza::Variables *  vars = 0 
)
slot

Definition at line 105 of file graph2dmobile.cpp.

virtual int Graph2DMobile::currentFunction ( ) const
inlinevirtual

Definition at line 45 of file graph2dmobile.h.

void Graph2DMobile::forceRepaint ( )
virtual

Definition at line 64 of file graph2dmobile.cpp.

void Graph2DMobile::modelChanged ( )
virtual

Definition at line 75 of file graph2dmobile.cpp.

void Graph2DMobile::paint ( QPainter *  p,
const QStyleOptionGraphicsItem *  options,
QWidget *  w 
)
virtual

Definition at line 42 of file graph2dmobile.cpp.

void Graph2DMobile::resetViewport ( )
slot

Definition at line 70 of file graph2dmobile.cpp.

void Graph2DMobile::scale ( qreal  s,
int  x,
int  y 
)
slot

Definition at line 90 of file graph2dmobile.cpp.

void Graph2DMobile::setCurrentFunction ( int  f)
inline

Definition at line 49 of file graph2dmobile.h.

void Graph2DMobile::setTicksShownAtAll ( bool  shown)
inline

Definition at line 51 of file graph2dmobile.h.

bool Graph2DMobile::ticksShownAtAll ( ) const
inline

Definition at line 50 of file graph2dmobile.h.

void Graph2DMobile::translate ( qreal  x,
qreal  y 
)
slot

Definition at line 98 of file graph2dmobile.cpp.

virtual void Graph2DMobile::viewportChanged ( )
inlinevirtual

Definition at line 43 of file graph2dmobile.h.

Property Documentation

bool Graph2DMobile::currentFunction
readwrite

Definition at line 37 of file graph2dmobile.h.

bool Graph2DMobile::keepAspectRatio
readwrite

Definition at line 36 of file graph2dmobile.h.

QAbstractItemModel Graph2DMobile::model
readwrite

Definition at line 33 of file graph2dmobile.h.

bool Graph2DMobile::squares
readwrite

Definition at line 35 of file graph2dmobile.h.

bool Graph2DMobile::ticksShown
readwrite

Definition at line 38 of file graph2dmobile.h.

QRectF Graph2DMobile::viewport
readwrite

Definition at line 34 of file graph2dmobile.h.


The documentation for this class was generated from the following files:
  • graph2dmobile.h
  • graph2dmobile.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kalgebra

Skip menu "kalgebra"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal