Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields
Graph Class Reference

#include <graph.h>

Inheritance diagram for Graph:
Element

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 (Schematic *)
 
virtual void setCenter (int, int, bool relative=false)
 
virtual void getCenter (int &, int &)
 

Data Fields

QDateTime lastLoaded
 
int yAxisNo
 
Q3PtrList< DataXcPointsX
 
double * cPointsY
 
float * ScrPoints
 
int countY
 
QString Var
 
QColor Color
 
int Thick
 
int Style
 
Q3PtrList< MarkerMarkers
 
int Precision
 
int numMode
 
- Data Fields 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.

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.

bool Graph::load ( const QString &  _s)

Definition at line 105 of file graph.cpp.

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

Definition at line 53 of file graph.cpp.

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

Definition at line 73 of file graph.cpp.

Graph * Graph::sameNewOne ( )

Definition at line 230 of file graph.cpp.

QString Graph::save ( )

Definition at line 91 of file graph.cpp.

Field Documentation

QColor Graph::Color

Definition at line 76 of file graph.h.

int Graph::countY

Definition at line 74 of file graph.h.

Q3PtrList<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.

Q3PtrList<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: