23 Description = QObject::tr(
"ideal rectangle current 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( 19, 5, 19, 7,QPen(QPen::darkBlue,2)));
34 Lines.append(
new Line( 13, 7, 19, 7,QPen(QPen::darkBlue,2)));
35 Lines.append(
new Line( 13, 7, 13, 11,QPen(QPen::darkBlue,2)));
36 Lines.append(
new Line( 13, 11, 19, 11,QPen(QPen::darkBlue,2)));
37 Lines.append(
new Line( 19, 11, 19, 15,QPen(QPen::darkBlue,2)));
38 Lines.append(
new Line( 13, 15, 19, 15,QPen(QPen::darkBlue,2)));
39 Lines.append(
new Line( 13, 15, 13, 17,QPen(QPen::darkBlue,2)));
53 QObject::tr(
"current at high pulse")));
55 QObject::tr(
"duration of high pulses")));
57 QObject::tr(
"duration of low pulses")));
59 QObject::tr(
"rise time of the leading edge")));
61 QObject::tr(
"fall time of the trailing edge")));
63 QObject::tr(
"initial delay time")));
79 Name = QObject::tr(
"Rectangle Current");
80 BitmapFile = (
char *)
"irect";
82 if(getNewOne)
return new iRect();