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

#include <libcomp.h>

Inheritance diagram for LibComp:
MultiViewComponent Component Element

Public Member Functions

 LibComp ()
 ~LibComp ()
ComponentnewOne ()
bool createSubNetlist (QTextStream *, QStringList &, int type=1)
QString getSubcircuitFile ()
- Public Member Functions inherited from MultiViewComponent
 MultiViewComponent ()
virtual ~MultiViewComponent ()
void recreate (Schematic *)
- Public Member Functions inherited from Component
 Component ()
virtual ~Component ()
QString getNetlist ()
QString get_VHDL_Code (int)
QString get_Verilog_Code (int)
void paint (ViewPainter *)
void paintScheme (Schematic *)
void print (ViewPainter *, float)
void setCenter (int, int, bool relative=false)
void getCenter (int &, int &)
int textSize (int &, int &)
void Bounding (int &, int &, int &, int &)
void entireBounds (int &, int &, int &, int &, float)
bool getSelected (int, int)
int getTextSelected (int, int, float)
void rotate ()
void mirrorX ()
void mirrorY ()
QString save ()
bool load (const QString &)
virtual void setSchematic (Schematic *p)
- Public Member Functions inherited from Element
 Element ()
virtual ~Element ()

Protected Member Functions

QString netlist ()
QString vhdlCode (int)
QString verilogCode (int)
void createSymbol ()
- Protected Member Functions inherited from Component
int analyseLine (const QString &, int)
bool getIntegers (const QString &, int *i1=0, int *i2=0, int *i3=0, int *i4=0, int *i5=0, int *i6=0)
bool getPen (const QString &, QPen &, int)
bool getBrush (const QString &, QBrush &, int)
void copyComponent (Component *)
PropertygetProperty (const QString &)

Private Member Functions

int loadSymbol ()
int loadSection (const QString &, QString &, QStringList *i=0)
QString createType ()

Additional Inherited Members

- Data Fields inherited from Component
bool mirroredX
int rotated
Q3PtrList< LineLines
Q3PtrList< struct ArcArcs
Q3PtrList< AreaRects
Q3PtrList< AreaEllips
Q3PtrList< PortPorts
Q3PtrList< TextTexts
Q3PtrList< PropertyProps
int isActive
int tx
int ty
bool showName
QString Model
QString Name
QString Description
- Data Fields inherited from Element
bool isSelected
int Type
int cx
int cy
int x1
int y1
int x2
int y2
- Protected Attributes inherited from Component

Detailed Description

Definition at line 26 of file libcomp.h.

Constructor & Destructor Documentation

LibComp::LibComp ( )

Definition at line 38 of file libcomp.cpp.

LibComp::~LibComp ( )

Definition at line 29 of file libcomp.h.

Member Function Documentation

bool LibComp::createSubNetlist ( QTextStream *  stream,
QStringList &  FileList,
int  type = 1 

Definition at line 234 of file libcomp.cpp.

void LibComp::createSymbol ( )

Reimplemented from MultiViewComponent.

Definition at line 67 of file libcomp.cpp.

QString LibComp::createType ( )

Definition at line 275 of file libcomp.cpp.

QString LibComp::getSubcircuitFile ( )

Reimplemented from Component.

Definition at line 226 of file libcomp.cpp.

int LibComp::loadSection ( const QString &  Name,
QString &  Section,
QStringList *  i = 0 

Definition at line 92 of file libcomp.cpp.

int LibComp::loadSymbol ( )

Definition at line 172 of file libcomp.cpp.

QString LibComp::netlist ( )

Reimplemented from Component.

Definition at line 282 of file libcomp.cpp.

Component * LibComp::newOne ( )

Reimplemented from Component.

Definition at line 55 of file libcomp.cpp.

QString LibComp::verilogCode ( int  )

Reimplemented from Component.

Definition at line 301 of file libcomp.cpp.

QString LibComp::vhdlCode ( int  )

Reimplemented from Component.

Definition at line 316 of file libcomp.cpp.

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