23 Description = QObject::tr(
"exponential voltage source");
26 Arcs.append(
new Arc(-12,-12, 24, 24, 0, 16*360,QPen(QPen::darkBlue,2)));
27 Lines.append(
new Line(-30, 0,-12, 0,QPen(QPen::darkBlue,2)));
28 Lines.append(
new Line( 30, 0, 12, 0,QPen(QPen::darkBlue,2)));
29 Lines.append(
new Line( 18, 5, 18, 11,QPen(QPen::red,1)));
30 Lines.append(
new Line( 21, 8, 15, 8,QPen(QPen::red,1)));
31 Lines.append(
new Line(-18, 5,-18, 11,QPen(QPen::black,1)));
34 Lines.append(
new Line( -3, -7, -3, -4,QPen(QPen::darkBlue,2)));
35 Lines.append(
new Line( -3, -7, 5, -7,QPen(QPen::darkBlue,2)));
36 Lines.append(
new Line( 1, -7, 1, -4,QPen(QPen::darkBlue,2)));
37 Lines.append(
new Line( 5, -7, 5, -4,QPen(QPen::darkBlue,2)));
38 Lines.append(
new Line( -3, -1, 1, 3,QPen(QPen::darkBlue,2)));
39 Lines.append(
new Line( 1, -1, -3, 3,QPen(QPen::darkBlue,2)));
40 Lines.append(
new Line( 1, 6, -5, 6,QPen(QPen::darkBlue,2)));
41 Lines.append(
new Line( 1, 6, 1, 9,QPen(QPen::darkBlue,2)));
42 Lines.append(
new Line( -3, 6, -3, 9,QPen(QPen::darkBlue,2)));
43 Lines.append(
new Line( 1, 9, -3, 9,QPen(QPen::darkBlue,2)));
57 QObject::tr(
"voltage before rising edge")));
59 QObject::tr(
"maximum voltage of the pulse")));
61 QObject::tr(
"start time of the exponentially rising edge")));
63 QObject::tr(
"start of exponential decay")));
65 QObject::tr(
"rise time of the rising edge")));
67 QObject::tr(
"fall time of the falling edge")));
83 Name = QObject::tr(
"Exponential Voltage Pulse");
84 BitmapFile = (
char *)
"vexp";
86 if(getNewOne)
return new vExp();