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

#include <psdiagram.h>

Inheritance diagram for PSDiagram:
Diagram Element

Public Member Functions

 PSDiagram (int _cx=0, int _cy=0, bool _polarUp=true)
 
 ~PSDiagram ()
 
DiagramnewOne ()
 
int calcDiagram ()
 
void calcLimits ()
 
void calcCoordinate (double *&, double *&, double *&, float *, float *, Axis *)
 
- Public Member Functions inherited from Diagram
 Diagram (int _cx=0, int _cy=0)
 
virtual ~Diagram ()
 
virtual void paint (ViewPainter *)
 
void setCenter (int, int, bool relative=false)
 
void getCenter (int &, int &)
 
void paintScheme (Schematic *)
 
void Bounding (int &, int &, int &, int &)
 
bool getSelected (int, int)
 
bool resizeTouched (float, float, float)
 
QString save ()
 
bool load (const QString &, QTextStream *)
 
void getAxisLimits (Graph *)
 
void updateGraphData ()
 
void loadGraphData (const QString &)
 
void recalcGraphData ()
 
int loadVarData (const QString &, Graph *)
 
int loadIndepVarData (const QString &, char *, Axis *, Graph *)
 
bool sameDependencies (Graph *, Graph *)
 
int checkColumnWidth (const QString &, const QFontMetrics &, int, int, int)
 
virtual bool insideDiagram (float, float)
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 

Static Public Member Functions

static Elementinfo (QString &, char *&, bool getNewOne=false)
 
static Elementinfo_sp (QString &, char *&, bool getNewOne=false)
 

Additional Inherited Members

- Data Fields inherited from Diagram
QString Name
 
QPen GridPen
 
Q3PtrList< GraphGraphs
 
Q3PtrList< struct ArcArcs
 
Q3PtrList< LineLines
 
Q3PtrList< TextTexts
 
int x3
 
int y3
 
Axis xAxis
 
Axis yAxis
 
Axis zAxis
 
int State
 
bool hideLines
 
int rotX
 
int rotY
 
int rotZ
 
- Data Fields inherited from Element
bool isSelected
 
int Type
 
int cx
 
int cy
 
int x1
 
int y1
 
int x2
 
int y2
 
- Protected Member Functions inherited from Diagram
void calcSmithAxisScale (Axis *, int &, int &)
 
void createSmithChart (Axis *, int Mode=7)
 
void calcPolarAxisScale (Axis *, double &, double &, double &)
 
void createPolarDiagram (Axis *, int Mode=3)
 
bool calcAxisScale (Axis *, double &, double &, double &, double &, double)
 
bool calcAxisLogScale (Axis *, int &, double &, double &, double &, int)
 
bool calcYAxis (Axis *, int)
 
virtual void createAxisLabels ()
 
int regionCode (float, float)
 
virtual void clip (float *&)
 
void rectClip (float *&)
 
virtual void calcData (Graph *)
 

Detailed Description

Definition at line 25 of file psdiagram.h.

Constructor & Destructor Documentation

PSDiagram::PSDiagram ( int  _cx = 0,
int  _cy = 0,
bool  _polarUp = true 
)

Definition at line 32 of file psdiagram.cpp.

PSDiagram::~PSDiagram ( )

Definition at line 47 of file psdiagram.cpp.

Member Function Documentation

void PSDiagram::calcCoordinate ( double *&  ,
double *&  yD,
double *&  ,
float *  px,
float *  py,
Axis pa 
)
virtual

Reimplemented from Diagram.

Definition at line 52 of file psdiagram.cpp.

int PSDiagram::calcDiagram ( )
virtual

Reimplemented from Diagram.

Definition at line 95 of file psdiagram.cpp.

void PSDiagram::calcLimits ( )
virtual

Reimplemented from Diagram.

Definition at line 68 of file psdiagram.cpp.

Element * PSDiagram::info ( QString &  Name,
char *&  BitmapFile,
bool  getNewOne = false 
)
static

Definition at line 123 of file psdiagram.cpp.

Element * PSDiagram::info_sp ( QString &  Name,
char *&  BitmapFile,
bool  getNewOne = false 
)
static

Definition at line 133 of file psdiagram.cpp.

Diagram * PSDiagram::newOne ( )
virtual

Reimplemented from Diagram.

Definition at line 117 of file psdiagram.cpp.


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