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
Digi_Source Class Reference

#include <digi_source.h>

Inheritance diagram for Digi_Source:
Component Element

Public Member Functions

 Digi_Source ()
 
 ~Digi_Source ()
 
ComponentnewOne ()
 
- Public Member Functions inherited from Component
 Component ()
 
virtual ~Component ()
 
virtual void recreate (Schematic *)
 
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 QString getSubcircuitFile ()
 
virtual void setSchematic (Schematic *p)
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 

Static Public Member Functions

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

Protected Member Functions

QString netlist ()
 
QString vhdlCode (int)
 
QString verilogCode (int)
 
- 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 &)
 

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
SchematiccontainingSchematic
 

Detailed Description

Definition at line 24 of file digi_source.h.

Constructor & Destructor Documentation

Digi_Source::Digi_Source ( )

Definition at line 23 of file digi_source.cpp.

Digi_Source::~Digi_Source ( )

Definition at line 63 of file digi_source.cpp.

Member Function Documentation

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

Definition at line 74 of file digi_source.cpp.

QString Digi_Source::netlist ( )
protectedvirtual

Reimplemented from Component.

Definition at line 84 of file digi_source.cpp.

Component * Digi_Source::newOne ( )
virtual

Reimplemented from Component.

Definition at line 68 of file digi_source.cpp.

QString Digi_Source::verilogCode ( int  NumPorts)
protectedvirtual

Reimplemented from Component.

Definition at line 148 of file digi_source.cpp.

QString Digi_Source::vhdlCode ( int  NumPorts)
protectedvirtual

Reimplemented from Component.

Definition at line 104 of file digi_source.cpp.


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