15 Description = QObject::tr (
"Phototransistor verilog device");
18 QObject::tr (
"forward beta")));
20 QObject::tr (
"reverse beta")));
22 QObject::tr (
"dark current")
23 +
" ("+QObject::tr (
"A")+
")"));
25 QObject::tr (
"forward emission coefficient")));
27 QObject::tr (
"reverse emission coefficient")));
29 QObject::tr (
"forward early voltage")
30 +
" ("+QObject::tr (
"V")+
")"));
32 QObject::tr (
"reverse early voltage")
33 +
" ("+QObject::tr (
"V")+
")"));
35 QObject::tr (
"base-emitter junction exponential factor")));
37 QObject::tr (
"base-emitter junction built-in potential")
38 +
" ("+QObject::tr (
"V")+
")"));
40 QObject::tr (
"base-emitter zero-bias depletion capacitance")
41 +
" ("+QObject::tr (
"F")+
")"));
43 QObject::tr (
"base-collector junction exponential factor")));
45 QObject::tr (
"base-collector junction built-in potential")
46 +
" ("+QObject::tr (
"V")+
")"));
48 QObject::tr (
"base-collector zero-bias depletion capacitance")
49 +
" ("+QObject::tr (
"F")+
")"));
51 QObject::tr (
"ideal reverse transit time")
52 +
" ("+QObject::tr (
"s")+
")"));
54 QObject::tr (
"ideal forward transit time")
55 +
" ("+QObject::tr (
"s")+
")"));
57 QObject::tr (
"high current corner for forward beta")
58 +
" ("+QObject::tr (
"A")+
")"));
60 QObject::tr (
"high current corner for reverse beta")
61 +
" ("+QObject::tr (
"A")+
")"));
63 QObject::tr (
"collector series resistance")
64 +
" ("+QObject::tr (
"Ohm")+
")"));
66 QObject::tr (
"emitter series resistance")
67 +
" ("+QObject::tr (
"Ohm")+
")"));
69 QObject::tr (
"base series resistance")
70 +
" ("+QObject::tr (
"Ohm")+
")"));
72 QObject::tr (
"flicker noise coefficient")));
74 QObject::tr (
"flicker noise coefficient")));
76 QObject::tr (
"flicker noise exponent")));
78 QObject::tr (
"responsivity at relative selectivity=100%")
79 +
" ("+QObject::tr (
"A/W")+
")"));
81 QObject::tr (
"relative selectivity polynomial coefficient")));
83 QObject::tr (
"relative selectivity polynomial coefficient")));
85 QObject::tr (
"relative selectivity polynomial coefficient")));
87 QObject::tr (
"relative selectivity polynomial coefficient")));
89 QObject::tr (
"relative selectivity polynomial coefficient")));
91 QObject::tr (
"simulation temperature")));
96 Model =
"phototransistor";
103 p->
Props.getFirst()->Value =
Props.getFirst()->Value;
110 Name = QObject::tr(
"Phototransistor");
111 BitmapFile = (
char *)
"phototransistor";
119 Arcs.append(
new Arc(-25,-20, 40, 40, 0,16*360,QPen(Qt::red,2)));
120 Lines.append(
new Line(-10,-15,-10, 15,QPen(Qt::darkBlue,3)));
121 Lines.append(
new Line(-30, 0,-10, 0,QPen(Qt::darkBlue,2)));
122 Lines.append(
new Line(-10, -5, 0,-15,QPen(Qt::darkBlue,2)));
123 Lines.append(
new Line( 0,-15, 0,-30,QPen(Qt::darkBlue,2)));
124 Lines.append(
new Line(-10, 5, 0, 15,QPen(Qt::darkBlue,2)));
125 Lines.append(
new Line( 0, 15, 0, 30,QPen(Qt::darkBlue,2)));
126 Lines.append(
new Line( -6, 15, 0, 15,QPen(Qt::darkBlue,2)));
127 Lines.append(
new Line( 0, 9, 0, 15,QPen(Qt::darkBlue,2)));
129 Lines.append(
new Line(-50, -50, -40, -50,QPen(Qt::green,2)));
130 Lines.append(
new Line(-40, -50, -40, -30,QPen(Qt::green,2)));
131 Lines.append(
new Line(-40, -30, -50, -30,QPen(Qt::green,2)));
134 Lines.append(
new Line(-40, -40, -16, -16,QPen(Qt::green,2)));
135 Lines.append(
new Line(-16, -16, -16, -23,QPen(Qt::green,2)));
136 Lines.append(
new Line(-16, -16, -23, -16,QPen(Qt::green,2)));
139 Lines.append(
new Line(-60, -55, -60, -65,QPen(Qt::black,2)));
140 Lines.append(
new Line(-60, -65, -55, -65,QPen(Qt::black,2)));
141 Lines.append(
new Line(-55, -65, -55, -60,QPen(Qt::black,2)));
142 Lines.append(
new Line(-60, -60, -55, -60,QPen(Qt::black,2)));
145 Lines.append(
new Line(-63, -40, -60, -35,QPen(Qt::black,2)));
146 Lines.append(
new Line(-60, -35, -57, -40,QPen(Qt::black,2)));
147 Lines.append(
new Line(-57, -40, -54, -35,QPen(Qt::black,2)));
148 Lines.append(
new Line(-54, -35, -51, -40,QPen(Qt::black,2)));
static Element * info(QString &, char *&, bool getNewOne=false)
Q3PtrList< struct Arc > Arcs
Q3PtrList< Property > Props
Superclass of all schematic drawing elements.
virtual void recreate(Schematic *)