#include <component.h>
Inherits Element.
Inherited by AC_Sim, AM_Modulator, Ampere_ac, Ampere_dc, Ampere_noise, Amplifier, andor4x2, andor4x3, andor4x4, Attenuator, BiasT, binarytogrey4bit, BondWire, CCCS, CCVS, Circulator, CoaxialLine, comp_1bit, comp_2bit, comp_4bit, Coplanar, CoupledTLine, Coupler, CPWgap, CPWopen, CPWshort, CPWstep, D_FlipFlop, DC_Sim, dcBlock, dcFeed, dff_SR, Diac, Digi_Sim, Digi_Source, DLS_1ton, DLS_nto1, dmux2to4, dmux3to8, dmux4to16, Equation, fa1b, fa2b, gatedDlatch, greytobinary4bit, Ground, Gyrator, ha1b, HB_Sim, HBT_X, hic2_full, hicumL2V2p1, hicumL2V2p23, hicumL2V2p24, hpribin4bit, Hybrid, iExp, iFile, Inductor, iProbe, iPulse, iRect, Isolator, JK_FlipFlop, jkff_SR, log_amp, logic_0, logic_1, MESFET, mod_amp, MScorner, MScoupled, MSgap, MSline, MSmbend, MSopen, MSrstub, MSstep, MSvia, MultiViewComponent, Mutual, Mutual2, mux2to1, mux4to1, mux8to1, nigbt, Noise_ii, Noise_iv, Noise_vv, OpAmp, Optimize_Sim, pad2bit, pad3bit, pad4bit, Param_Sweep, Phaseshifter, photodiode, phototransistor, PM_Modulator, potentiometer, RectLine, Relais, RLCG, RS_FlipFlop, Source_ac, SP_Sim, Substrate, symTrafo, tff_SR, Thyristor, TLine, TLine_4Port, TR_Sim, Transformer, Triac, TunnelDiode, TwistedPair, VCCS, VCVS, vExp, vFile, Volt_ac, Volt_dc, Volt_noise, vProbe, vPulse, and vRect.
|
| Component () |
|
virtual | ~Component () |
|
virtual Component * | newOne () |
|
virtual void | recreate (Schematic *) |
|
QString | getNetlist () |
|
QString | get_VHDL_Code (int) |
|
QString | get_Verilog_Code (int) |
|
void | paint (ViewPainter *) |
|
void | paintScheme (QPainter *) |
|
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 () |
|
| Element () |
|
virtual | ~Element () |
|
|
virtual QString | netlist () |
|
virtual QString | vhdlCode (int) |
|
virtual QString | verilogCode (int) |
|
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 *) |
|
Property * | getProperty (const QString &) |
|
Definition at line 33 of file component.h.
virtual Component::~Component |
( |
| ) |
|
|
inlinevirtual |
int Component::analyseLine |
( |
const QString & |
Row, |
|
|
int |
numProps |
|
) |
| |
|
protected |
void Component::Bounding |
( |
int & |
_x1, |
|
|
int & |
_y1, |
|
|
int & |
_x2, |
|
|
int & |
_y2 |
|
) |
| |
void Component::copyComponent |
( |
Component * |
pc | ) |
|
|
protected |
void Component::entireBounds |
( |
int & |
_x1, |
|
|
int & |
_y1, |
|
|
int & |
_x2, |
|
|
int & |
_y2, |
|
|
float |
Corr |
|
) |
| |
QString Component::get_Verilog_Code |
( |
int |
NumPorts | ) |
|
QString Component::get_VHDL_Code |
( |
int |
NumPorts | ) |
|
bool Component::getBrush |
( |
const QString & |
s, |
|
|
QBrush & |
Brush, |
|
|
int |
i |
|
) |
| |
|
protected |
void Component::getCenter |
( |
int & |
x, |
|
|
int & |
y |
|
) |
| |
|
virtual |
bool Component::getIntegers |
( |
const QString & |
s, |
|
|
int * |
i1 = 0 , |
|
|
int * |
i2 = 0 , |
|
|
int * |
i3 = 0 , |
|
|
int * |
i4 = 0 , |
|
|
int * |
i5 = 0 , |
|
|
int * |
i6 = 0 |
|
) |
| |
|
protected |
QString Component::getNetlist |
( |
| ) |
|
bool Component::getPen |
( |
const QString & |
s, |
|
|
QPen & |
Pen, |
|
|
int |
i |
|
) |
| |
|
protected |
Property * Component::getProperty |
( |
const QString & |
name | ) |
|
|
protected |
bool Component::getSelected |
( |
int |
x_, |
|
|
int |
y_ |
|
) |
| |
virtual QString Component::getSubcircuitFile |
( |
| ) |
|
|
inlinevirtual |
int Component::getTextSelected |
( |
int |
x_, |
|
|
int |
y_, |
|
|
float |
Corr |
|
) |
| |
bool Component::load |
( |
const QString & |
_s | ) |
|
void Component::mirrorX |
( |
| ) |
|
void Component::mirrorY |
( |
| ) |
|
QString Component::netlist |
( |
| ) |
|
|
protectedvirtual |
Reimplemented in GateComponent, SpiceFile, SParamFile, MOSFET, Optimize_Sim, BJT, iFile, LibComp, Subcircuit, vFile, Digi_Source, EqnDefined, Ground, MSvia, RFedd, RFedd2P, SubCirPort, Switch, EKV26MOS, hic0_full, hicumL0V1p2, hicumL0V1p2g, and hicumL0V1p3.
Definition at line 601 of file component.cpp.
Reimplemented in SpiceFile, BJTsub, MOSFET_sub, Equation, AC_Sim, AM_Modulator, Ampere_ac, Ampere_dc, Ampere_noise, Amplifier, Attenuator, BiasT, BJT, BondWire, Capacitor, CCCS, CCVS, Circulator, CoaxialLine, Coplanar, Coupler, CPWgap, CPWopen, CPWshort, CPWstep, D_FlipFlop, DC_Sim, dcBlock, dcFeed, Diac, Digi_Sim, Digi_Source, Diode, EqnDefined, Ground, Gyrator, HB_Sim, iExp, iFile, Inductor, iProbe, iPulse, iRect, Isolator, JFET, JK_FlipFlop, LibComp, Logical_AND, Logical_Buf, Logical_Inv, Logical_NAND, Logical_NOR, Logical_OR, Logical_XNOR, Logical_XOR, MOSFET, MScorner, MScoupled, MScross, MSgap, MSline, MSmbend, MSopen, MSstep, MStee, MSvia, Mutual, Mutual2, Noise_ii, Noise_iv, Noise_vv, OpAmp, Optimize_Sim, Param_Sweep, Phaseshifter, PM_Modulator, RectLine, Relais, Resistor, RFedd, RFedd2P, RS_FlipFlop, Source_ac, SP_Sim, SParamFile, Subcircuit, SubCirPort, Substrate, Switch, symTrafo, Thyristor, TLine, TLine_4Port, TR_Sim, Transformer, Triac, TwistedPair, VCCS, VCVS, Verilog_File, vExp, vFile, VHDL_File, Volt_ac, Volt_dc, Volt_noise, vProbe, vPulse, vRect, MSrstub, RLCG, CoupledTLine, Hybrid, TunnelDiode, andor4x2, andor4x3, andor4x4, binarytogrey4bit, comp_1bit, comp_2bit, comp_4bit, dff_SR, DLS_1ton, DLS_nto1, dmux2to4, dmux4to16, EKV26MOS, fa1b, fa2b, gatedDlatch, greytobinary4bit, ha1b, HBT_X, hic0_full, hic2_full, hicumL0V1p2, hicumL0V1p2g, hicumL0V1p3, hicumL2V2p1, hicumL2V2p23, hicumL2V2p24, hpribin4bit, jkff_SR, log_amp, logic_0, logic_1, MESFET, mod_amp, mux2to1, mux4to1, mux8to1, nigbt, pad2bit, pad3bit, pad4bit, photodiode, phototransistor, potentiometer, tff_SR, and dmux3to8.
Definition at line 68 of file component.cpp.
void Component::paintScheme |
( |
QPainter * |
p | ) |
|
|
virtual |
void Component::print |
( |
ViewPainter * |
p, |
|
|
float |
FontScale |
|
) |
| |
virtual void Component::recreate |
( |
Schematic * |
| ) |
|
|
inlinevirtual |
void Component::rotate |
( |
| ) |
|
QString Component::save |
( |
| ) |
|
void Component::setCenter |
( |
int |
x, |
|
|
int |
y, |
|
|
bool |
relative = false |
|
) |
| |
|
virtual |
int Component::textSize |
( |
int & |
_dx, |
|
|
int & |
_dy |
|
) |
| |
QString Component::verilogCode |
( |
int |
| ) |
|
|
protectedvirtual |
Reimplemented in GateComponent, LibComp, Subcircuit, Verilog_File, Digi_Source, Equation, SubCirPort, D_FlipFlop, JK_FlipFlop, Logical_Buf, Logical_Inv, RS_FlipFlop, andor4x2, andor4x3, andor4x4, binarytogrey4bit, comp_1bit, comp_2bit, comp_4bit, dff_SR, dmux2to4, dmux4to16, fa1b, fa2b, gatedDlatch, greytobinary4bit, ha1b, hpribin4bit, jkff_SR, logic_0, logic_1, mux2to1, mux4to1, mux8to1, pad2bit, pad3bit, pad4bit, tff_SR, and dmux3to8.
Definition at line 638 of file component.cpp.
QString Component::vhdlCode |
( |
int |
| ) |
|
|
protectedvirtual |
Reimplemented in GateComponent, VHDL_File, LibComp, Subcircuit, Digi_Source, Equation, SubCirPort, D_FlipFlop, JK_FlipFlop, Logical_Buf, Logical_Inv, RS_FlipFlop, andor4x2, andor4x3, andor4x4, binarytogrey4bit, comp_1bit, comp_2bit, comp_4bit, dff_SR, dmux2to4, dmux4to16, fa1b, fa2b, gatedDlatch, greytobinary4bit, ha1b, hpribin4bit, jkff_SR, logic_0, logic_1, mux2to1, mux4to1, mux8to1, pad2bit, pad3bit, pad4bit, tff_SR, and dmux3to8.
Definition at line 663 of file component.cpp.
QPtrList<struct Arc> Component::Arcs |
QString Component::Description |
QPtrList<Area> Component::Ellips |
QPtrList<Line> Component::Lines |
bool Component::mirroredX |
QPtrList<Port> Component::Ports |
QPtrList<Area> Component::Rects |
QPtrList<Text> Component::Texts |
The documentation for this class was generated from the following files:
- C:/Users/VonFurstenBerg/Documents/DownLoad/QUCS-src/qucs-0.0.16/qucs/components/component.h
- C:/Users/VonFurstenBerg/Documents/DownLoad/QUCS-src/qucs-0.0.16/qucs/components/component.cpp