25 Lines.append(
new Line(-30,-30,-30, -8,QPen(QPen::darkBlue,2)));
26 Lines.append(
new Line(-30, 8,-30, 30,QPen(QPen::darkBlue,2)));
27 Lines.append(
new Line(-45, -8,-15, -8,QPen(QPen::darkBlue,2)));
28 Lines.append(
new Line(-45, 8,-15, 8,QPen(QPen::darkBlue,2)));
29 Lines.append(
new Line(-45, -8,-45, 8,QPen(QPen::darkBlue,2)));
30 Lines.append(
new Line(-15, -8,-15, 8,QPen(QPen::darkBlue,2)));
31 Lines.append(
new Line(-45, 8,-15, -8,QPen(QPen::darkBlue,2)));
33 Lines.append(
new Line(-43, -3,-37, -3,QPen(QPen::red,1)));
34 Lines.append(
new Line(-40, -6,-40, 0,QPen(QPen::red,1)));
35 Lines.append(
new Line(-23, 3,-17, 3,QPen(QPen::black,1)));
37 Lines.append(
new Line(-15, 0, 35, 0,QPen(QPen::darkBlue,1,Qt::DotLine)));
39 Lines.append(
new Line( 30,-30, 30,-18,QPen(QPen::darkBlue,2)));
40 Lines.append(
new Line( 30, 15, 30, 30,QPen(QPen::darkBlue,2)));
41 Lines.append(
new Line( 30, 15, 45,-15,QPen(QPen::darkBlue,2)));
42 Arcs.append(
new Arc( 27,-18, 5, 5, 0, 16*360,QPen(QPen::darkBlue,2)));
43 Ellips.append(
new Area( 27, 12, 6, 6, QPen(QPen::darkBlue,2),
44 QBrush(Qt::darkBlue, Qt::SolidPattern)));
60 QObject::tr(
"threshold voltage in Volts")));
62 QObject::tr(
"hysteresis voltage in Volts")));
64 QObject::tr(
"resistance of \"on\" state in Ohms")));
66 QObject::tr(
"resistance of \"off\" state in Ohms")));
68 QObject::tr(
"simulation temperature in degree Celsius")));
82 Name = QObject::tr(
"Relay");
83 BitmapFile = (
char *)
"relais";
85 if(getNewOne)
return new Relais();