23 Description = QObject::tr(
"ideal ac voltage source");
25 Arcs.append(
new Arc(-12,-12, 24, 24, 0, 16*360,QPen(Qt::darkBlue,2)));
26 Arcs.append(
new Arc( -3, -7, 7, 7,16*270, 16*180,QPen(Qt::darkBlue,2)));
27 Arcs.append(
new Arc( -3, 0, 7, 7, 16*90, 16*180,QPen(Qt::darkBlue,2)));
28 Lines.append(
new Line(-30, 0,-12, 0,QPen(Qt::darkBlue,2)));
29 Lines.append(
new Line( 30, 0, 12, 0,QPen(Qt::darkBlue,2)));
30 Lines.append(
new Line( 18, 5, 18, 11,QPen(Qt::red,1)));
31 Lines.append(
new Line( 21, 8, 15, 8,QPen(Qt::red,1)));
32 Lines.append(
new Line(-18, 5,-18, 11,QPen(Qt::black,1)));
46 QObject::tr(
"peak voltage in Volts")));
48 QObject::tr(
"frequency in Hertz")));
50 QObject::tr(
"initial phase in degrees")));
52 QObject::tr(
"damping factor (transient simulation only)")));
68 Name = QObject::tr(
"ac Voltage Source");
69 BitmapFile = (
char *)
"ac_voltage";
71 if(getNewOne)
return new Volt_ac();
Q3PtrList< struct Arc > Arcs
static Element * info(QString &, char *&, bool getNewOne=false)
Q3PtrList< Property > Props
Superclass of all schematic drawing elements.