23 Description = QObject::tr(
"externally controlled voltage source");
30 Arcs.append(
new Arc(-12,-12, 24, 24, 0, 16*360,QPen(Qt::darkBlue,2)));
33 Lines.append(
new Line(4, -3, 4, 3,QPen(Qt::darkGreen,2)));
34 Lines.append(
new Line(0, -3, 0, 2,QPen(Qt::darkGreen,2)));
35 Lines.append(
new Line(-4, -3, -4, 3,QPen(Qt::darkGreen,2)));
37 Lines.append(
new Line(4, -3, -4, -3,QPen(Qt::darkGreen,2)));
40 Lines.append(
new Line(-30, 0,-12, 0,QPen(Qt::darkBlue,2)));
41 Lines.append(
new Line( 30, 0, 12, 0,QPen(Qt::darkBlue,2)));
43 Lines.append(
new Line( 18, 5, 18, 11,QPen(Qt::red,1)));
44 Lines.append(
new Line( 21, 8, 15, 8,QPen(Qt::red,1)));
46 Lines.append(
new Line(-18, 5,-18, 11,QPen(Qt::black,1)));
68 QObject::tr(
"voltage in Volts")));
86 Name = QObject::tr(
"Externally Controlled Voltage Source");
87 BitmapFile = (
char *)
"ecvs";
89 if(getNewOne)
return new ecvs();
101 s +=
" "+p1->Connection->Name;
105 s +=
" "+p2->Name+
"=\""+p2->Value+
"\"";
The externally controlled voltage source component header file.
Q3PtrList< struct Arc > Arcs
Definitions and declarations for the main application.
Q3PtrList< Property > Props
Superclass of all schematic drawing elements.
static Element * info(QString &, char *&, bool getNewOne=false)