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

Superclass of all schematic drawing elements. More...

#include <element.h>

Inheritance diagram for Element:
Component Conductor Diagram Graph Marker Painting WireLabel AC_Sim AM_Modulator Ampere_ac Ampere_dc Ampere_noise Amplifier andor4x2 andor4x3 andor4x4 Attenuator BiasT binarytogrey4bit BondWire bsim3v34nMOS bsim3v34pMOS bsim4v30nMOS bsim4v30pMOS 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 ecvs Equation ETR_Sim fa1b fa2b gatedDlatch greytobinary4bit Ground Gyrator ha1b HB_Sim HBT_X hic2_full hicumL2V2p1 hicumL2V2p23 hicumL2V2p24 hicumL2V2p31n 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 MSlange 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 vacomponent VCCS vcresistor VCVS vExp vFile Volt_ac Volt_dc Volt_noise vProbe vPulse vRect Node Wire CurveDiagram PolarDiagram PSDiagram Rect3DDiagram RectDiagram SmithDiagram TabDiagram Arrow Ellipse EllipseArc GraphicLine GraphicText ID_Text PortSymbol Rectangle

Public Member Functions

 Element ()
 
virtual ~Element ()
 
virtual void paintScheme (Schematic *)
 
virtual void setCenter (int, int, bool relative=false)
 
virtual void getCenter (int &, int &)
 

Data Fields

bool isSelected
 
int Type
 
int cx
 
int cy
 
int x1
 
int y1
 
int x2
 
int y2
 

Detailed Description

Superclass of all schematic drawing elements.

Definition at line 142 of file element.h.

Constructor & Destructor Documentation

Element::Element ( )

Definition at line 20 of file element.cpp.

Element::~Element ( )
virtual

Definition at line 27 of file element.cpp.

Member Function Documentation

void Element::getCenter ( int &  ,
int &   
)
virtual

Reimplemented in Diagram, Component, ID_Text, Wire, Arrow, Ellipse, EllipseArc, Painting, Rectangle, GraphicLine, PortSymbol, and GraphicText.

Definition at line 39 of file element.cpp.

void Element::paintScheme ( Schematic )
virtual

Reimplemented in Diagram, Component, ID_Text, Arrow, Ellipse, EllipseArc, Rectangle, GraphicLine, PortSymbol, and GraphicText.

Definition at line 31 of file element.cpp.

void Element::setCenter ( int  ,
int  ,
bool  relative = false 
)
virtual

Field Documentation

int Element::cx

Definition at line 153 of file element.h.

int Element::cy

Definition at line 153 of file element.h.

bool Element::isSelected

Definition at line 151 of file element.h.

int Element::Type

Definition at line 152 of file element.h.

int Element::x1

Definition at line 153 of file element.h.

int Element::x2

Definition at line 153 of file element.h.

int Element::y1

Definition at line 153 of file element.h.

int Element::y2

Definition at line 153 of file element.h.


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