26 QObject::tr(
"capacitance in Farad")));
28 QObject::tr(
"initial voltage for transient simulation")));
30 QObject::tr(
"schematic symbol")+
" [neutral, polar]"));
46 Name = QObject::tr(
"Capacitor");
47 BitmapFile = (
char *)
"capacitor";
55 if(
Props.getLast()->Value.at(0) ==
'n') {
56 Lines.append(
new Line( -4,-11, -4, 11,QPen(Qt::darkBlue,4)));
57 Lines.append(
new Line( 4,-11, 4, 11,QPen(Qt::darkBlue,4)));
60 Lines.append(
new Line(-11, -5,-11,-11,QPen(Qt::red,1)));
61 Lines.append(
new Line(-14, -8, -8, -8,QPen(Qt::red,1)));
62 Lines.append(
new Line( -4,-11, -4, 11,QPen(Qt::darkBlue,3)));
63 Arcs.append(
new Arc(4,-12, 20, 24, 16*122, 16*116,QPen(Qt::darkBlue,3)));
66 Lines.append(
new Line(-30, 0, -4, 0,QPen(Qt::darkBlue,2)));
67 Lines.append(
new Line( 4, 0, 30, 0,QPen(Qt::darkBlue,2)));
Q3PtrList< struct Arc > Arcs
Q3PtrList< Property > Props
Superclass of all schematic drawing elements.
static Element * info(QString &, char *&, bool getNewOne=false)