23 Description = QObject::tr(
"ac voltage source with phase modulator");
25 Arcs.append(
new Arc(-12,-12, 24, 24, 0, 16*360,QPen(Qt::darkBlue,2)));
26 Arcs.append(
new Arc( -7, -4, 7, 7, 0, 16*180,QPen(Qt::darkBlue,2)));
27 Arcs.append(
new Arc( 0, -4, 7, 7,16*180, 16*180,QPen(Qt::darkBlue,2)));
28 Lines.append(
new Line( 0, 30, 0, 12,QPen(Qt::darkBlue,2)));
29 Lines.append(
new Line( 0,-30, 0,-12,QPen(Qt::darkBlue,2)));
30 Lines.append(
new Line( 5,-18, 11,-18,QPen(Qt::red,1)));
31 Lines.append(
new Line( 8,-21, 8,-15,QPen(Qt::red,1)));
32 Lines.append(
new Line( 5, 18, 11, 18,QPen(Qt::black,1)));
34 Lines.append(
new Line(-12, 0,-30, 0,QPen(Qt::darkBlue,2)));
35 Lines.append(
new Line(-12, 0,-17, 5,QPen(Qt::darkBlue,2)));
36 Lines.append(
new Line(-12, 0,-17, -5,QPen(Qt::darkBlue,2)));
37 Texts.append(
new Text(-30,-22, QObject::tr(
"PM"), Qt::black, 10.0,1.0,0.0));
52 QObject::tr(
"peak voltage in Volts")));
54 QObject::tr(
"frequency in Hertz")));
56 QObject::tr(
"initial phase in degrees")));
58 QObject::tr(
"modulation index")));
72 Name = QObject::tr(
"PM modulated Source");
73 BitmapFile = (
char *)
"pm_mod";
Q3PtrList< struct Arc > Arcs
Q3PtrList< Property > Props
Superclass of all schematic drawing elements.
static Element * info(QString &, char *&, bool getNewOne=false)