My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
Graph Class Reference

#include <graph.h>

Inheritance diagram for Graph:
Inheritance graph
[legend]
Collaboration diagram for Graph:
Collaboration graph
[legend]

Public Member Functions

 Graph (const QString &_Line="")
 
 ~Graph ()
 
void paint (ViewPainter *, int, int)
 
void paintLines (ViewPainter *, int, int)
 
QString save ()
 
bool load (const QString &)
 
int getSelected (int, int)
 
GraphsameNewOne ()
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 
virtual void paintScheme (QPainter *)
 
virtual void setCenter (int, int, bool relative=false)
 
virtual void getCenter (int &, int &)
 

Public Attributes

QDateTime lastLoaded
 
int yAxisNo
 
QPtrList< DataXcPointsX
 
double * cPointsY
 
float * ScrPoints
 
int countY
 
QString Var
 
QColor Color
 
int Thick
 
int Style
 
QPtrList< MarkerMarkers
 
int Precision
 
int numMode
 
- Public Attributes inherited from Element
bool isSelected
 
int Type
 
int cx
 
int cy
 
int x1
 
int y1
 
int x2
 
int y2
 

Detailed Description

Definition at line 57 of file graph.h.

Constructor & Destructor Documentation

Graph::Graph ( const QString &  _Line = "")

Definition at line 24 of file graph.cpp.

Here is the caller graph for this function:

Graph::~Graph ( )

Definition at line 44 of file graph.cpp.

Member Function Documentation

int Graph::getSelected ( int  x,
int  y 
)

Definition at line 148 of file graph.cpp.

Here is the caller graph for this function:

bool Graph::load ( const QString &  _s)

Definition at line 105 of file graph.cpp.

Here is the caller graph for this function:

void Graph::paint ( ViewPainter p,
int  x0,
int  y0 
)

Definition at line 53 of file graph.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Graph::paintLines ( ViewPainter p,
int  x0,
int  y0 
)

Definition at line 73 of file graph.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Graph * Graph::sameNewOne ( )

Definition at line 230 of file graph.cpp.

Here is the call graph for this function:

QString Graph::save ( )

Definition at line 91 of file graph.cpp.

Member Data Documentation

QColor Graph::Color

Definition at line 76 of file graph.h.

int Graph::countY

Definition at line 74 of file graph.h.

QPtrList<DataX> Graph::cPointsX

Definition at line 71 of file graph.h.

double* Graph::cPointsY

Definition at line 72 of file graph.h.

QDateTime Graph::lastLoaded

Definition at line 69 of file graph.h.

QPtrList<Marker> Graph::Markers

Definition at line 79 of file graph.h.

int Graph::numMode

Definition at line 83 of file graph.h.

int Graph::Precision

Definition at line 82 of file graph.h.

float* Graph::ScrPoints

Definition at line 73 of file graph.h.

int Graph::Style

Definition at line 78 of file graph.h.

int Graph::Thick

Definition at line 77 of file graph.h.

QString Graph::Var

Definition at line 75 of file graph.h.

int Graph::yAxisNo

Definition at line 70 of file graph.h.


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