23 Description = QObject::tr(
"ideal dc voltage source");
25 Lines.append(
new Line( 4,-13, 4, 13,QPen(Qt::darkBlue,2)));
26 Lines.append(
new Line( -4, -6, -4, 6,QPen(Qt::darkBlue,4)));
27 Lines.append(
new Line( 30, 0, 4, 0,QPen(Qt::darkBlue,2)));
28 Lines.append(
new Line( -4, 0,-30, 0,QPen(Qt::darkBlue,2)));
29 Lines.append(
new Line( 11, 5, 11, 11,QPen(Qt::red,1)));
30 Lines.append(
new Line( 14, 8, 8, 8,QPen(Qt::red,1)));
31 Lines.append(
new Line(-11, 5,-11, 11,QPen(Qt::black,1)));
45 QObject::tr(
"voltage in Volts")));
61 Name = QObject::tr(
"dc Voltage Source");
62 BitmapFile = (
char *)
"dc_voltage";
64 if(getNewOne)
return new Volt_dc();
Q3PtrList< Property > Props
Superclass of all schematic drawing elements.
static Element * info(QString &, char *&, bool getNewOne=false)