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

#include <tabdiagram.h>

Inheritance diagram for TabDiagram:
Diagram Element TimingDiagram TruthDiagram

Public Member Functions

 TabDiagram (int _cx=0, int _cy=0)
 
 ~TabDiagram ()
 
virtual DiagramnewOne ()
 
virtual void paint (ViewPainter *)
 
virtual int calcDiagram ()
 
virtual int scroll (int)
 
virtual bool scrollTo (int, int, int)
 
void createAxisLabels ()
 
- Public Member Functions inherited from Diagram
 Diagram (int _cx=0, int _cy=0)
 
virtual ~Diagram ()
 
virtual void calcCoordinate (double *&, double *&, double *&, float *, float *, Axis *)
 
virtual void calcLimits ()
 
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)
 

Protected Member Functions

void calcData (Graph *)
 
- 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)
 
int regionCode (float, float)
 
virtual void clip (float *&)
 
void rectClip (float *&)
 

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
 

Detailed Description

Definition at line 24 of file tabdiagram.h.

Constructor & Destructor Documentation

TabDiagram::TabDiagram ( int  _cx = 0,
int  _cy = 0 
)

Definition at line 29 of file tabdiagram.cpp.

TabDiagram::~TabDiagram ( )

Definition at line 41 of file tabdiagram.cpp.

Member Function Documentation

void TabDiagram::calcData ( Graph )
inlineprotectedvirtual

Reimplemented from Diagram.

Definition at line 39 of file tabdiagram.h.

int TabDiagram::calcDiagram ( )
virtual

Reimplemented from Diagram.

Reimplemented in TimingDiagram, and TruthDiagram.

Definition at line 120 of file tabdiagram.cpp.

void TabDiagram::createAxisLabels ( )
inlinevirtual

Reimplemented from Diagram.

Definition at line 36 of file tabdiagram.h.

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

Definition at line 398 of file tabdiagram.cpp.

Diagram * TabDiagram::newOne ( )
virtual

Reimplemented from Diagram.

Reimplemented in TimingDiagram, and TruthDiagram.

Definition at line 392 of file tabdiagram.cpp.

void TabDiagram::paint ( ViewPainter p)
virtual

Reimplemented from Diagram.

Reimplemented in TimingDiagram.

Definition at line 46 of file tabdiagram.cpp.

int TabDiagram::scroll ( int  clickPos)
virtual

Reimplemented in TimingDiagram.

Definition at line 340 of file tabdiagram.cpp.

bool TabDiagram::scrollTo ( int  initial,
int  ,
int  dy 
)
virtual

Reimplemented in TimingDiagram.

Definition at line 377 of file tabdiagram.cpp.


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