23 Description = QObject::tr(
"ideal rectangle voltage 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( -5, -7, -5, -5,QPen(Qt::darkBlue,2)));
33 Lines.append(
new Line( -5, -5, 5, -5,QPen(Qt::darkBlue,2)));
34 Lines.append(
new Line( 5, -5, 6, 0,QPen(Qt::darkBlue,2)));
35 Lines.append(
new Line( -5, 0, 6, 0,QPen(Qt::darkBlue,2)));
36 Lines.append(
new Line( -5, 0, -5, 5,QPen(Qt::darkBlue,2)));
37 Lines.append(
new Line( -5, 5, 5, 5,QPen(Qt::darkBlue,2)));
38 Lines.append(
new Line( 5, 5, 5, 7,QPen(Qt::darkBlue,2)));
52 QObject::tr(
"voltage of high signal")));
54 QObject::tr(
"duration of high pulses")));
56 QObject::tr(
"duration of low pulses")));
58 QObject::tr(
"rise time of the leading edge")));
60 QObject::tr(
"fall time of the trailing edge")));
62 QObject::tr(
"initial delay time")));
78 Name = QObject::tr(
"Rectangle Voltage");
79 BitmapFile = (
char *)
"vrect";
81 if(getNewOne)
return new vRect();
Q3PtrList< struct Arc > Arcs
static Element * info(QString &, char *&, bool getNewOne=false)
Q3PtrList< Property > Props
Superclass of all schematic drawing elements.