23 Description = QObject::tr(
"ideal voltage pulse source");
25 Arcs.append(
new Arc(-12,-12, 24, 24, 0, 16*360,QPen(Qt::darkBlue,2)));
26 Lines.append(
new Line(-30, 0,-12, 0,QPen(Qt::darkBlue,2)));
27 Lines.append(
new Line( 30, 0, 12, 0,QPen(Qt::darkBlue,2)));
28 Lines.append(
new Line( 18, 5, 18, 11,QPen(Qt::red,1)));
29 Lines.append(
new Line( 21, 8, 15, 8,QPen(Qt::red,1)));
30 Lines.append(
new Line(-18, 5,-18, 11,QPen(Qt::black,1)));
32 Lines.append(
new Line( 6, -3, 6, 3,QPen(Qt::darkBlue,2)));
33 Lines.append(
new Line( -6, -7, -6, -3,QPen(Qt::darkBlue,2)));
34 Lines.append(
new Line( -6, 3, -6, 7,QPen(Qt::darkBlue,2)));
35 Lines.append(
new Line( -6, -3, 6, -3,QPen(Qt::darkBlue,2)));
36 Lines.append(
new Line( -6, 3, 6, 3,QPen(Qt::darkBlue,2)));
50 QObject::tr(
"voltage before and after the pulse")));
52 QObject::tr(
"voltage of the pulse")));
54 QObject::tr(
"start time of the pulse")));
56 QObject::tr(
"ending time of the pulse")));
58 QObject::tr(
"rise time of the leading edge")));
60 QObject::tr(
"fall time of the trailing edge")));
76 Name = QObject::tr(
"Voltage Pulse");
77 BitmapFile = (
char *)
"vpulse";
79 if(getNewOne)
return new vPulse();
Q3PtrList< struct Arc > Arcs
static Element * info(QString &, char *&, bool getNewOne=false)
Q3PtrList< Property > Props
Superclass of all schematic drawing elements.