23 Description = QObject::tr(
"ideal current pulse source");
25 Arcs.append(
new Arc(-12,-12, 24, 24, 0, 16*360,QPen(QPen::darkBlue,2)));
26 Lines.append(
new Line(-30, 0,-12, 0,QPen(QPen::darkBlue,2)));
27 Lines.append(
new Line( 30, 0, 12, 0,QPen(QPen::darkBlue,2)));
28 Lines.append(
new Line( -7, 0, 7, 0,QPen(QPen::darkBlue,3)));
29 Lines.append(
new Line( 6, 0, 0, -4,QPen(QPen::darkBlue,3)));
30 Lines.append(
new Line( 6, 0, 0, 4,QPen(QPen::darkBlue,3)));
33 Lines.append(
new Line( 13, 7, 13, 10,QPen(QPen::darkBlue,2)));
34 Lines.append(
new Line( 19, 10, 19, 14,QPen(QPen::darkBlue,2)));
35 Lines.append(
new Line( 13, 14, 13, 17,QPen(QPen::darkBlue,2)));
36 Lines.append(
new Line( 13, 10, 19, 10,QPen(QPen::darkBlue,2)));
37 Lines.append(
new Line( 13, 14, 19, 14,QPen(QPen::darkBlue,2)));
51 QObject::tr(
"current before and after the pulse")));
53 QObject::tr(
"current of the pulse")));
55 QObject::tr(
"start time of the pulse")));
57 QObject::tr(
"ending time of the pulse")));
59 QObject::tr(
"rise time of the leading edge")));
61 QObject::tr(
"fall time of the trailing edge")));
77 Name = QObject::tr(
"Current Pulse");
78 BitmapFile = (
char *)
"ipulse";
80 if(getNewOne)
return new iPulse();