23 Description = QObject::tr(
"ac voltage source with amplitude modulator");
25 Arcs.append(
new Arc(-12,-12, 24, 24, 0, 16*360,QPen(QPen::darkBlue,2)));
26 Arcs.append(
new Arc( -7, -4, 7, 7, 0, 16*180,QPen(QPen::darkBlue,2)));
27 Arcs.append(
new Arc( 0, -4, 7, 7,16*180, 16*180,QPen(QPen::darkBlue,2)));
28 Lines.append(
new Line( 0, 30, 0, 12,QPen(QPen::darkBlue,2)));
29 Lines.append(
new Line( 0,-30, 0,-12,QPen(QPen::darkBlue,2)));
30 Lines.append(
new Line( 5,-18, 11,-18,QPen(QPen::red,1)));
31 Lines.append(
new Line( 8,-21, 8,-15,QPen(QPen::red,1)));
32 Lines.append(
new Line( 5, 18, 11, 18,QPen(QPen::black,1)));
34 Lines.append(
new Line(-12, 0,-30, 0,QPen(QPen::darkBlue,2)));
35 Lines.append(
new Line(-12, 0,-17, 5,QPen(QPen::darkBlue,2)));
36 Lines.append(
new Line(-12, 0,-17, -5,QPen(QPen::darkBlue,2)));
37 Texts.append(
new Text(-30,-22, QObject::tr(
"AM"), 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 level")));
72 Name = QObject::tr(
"AM modulated Source");
73 BitmapFile = (
char *)
"am_mod";