23 Description = QObject::tr(
"ideal dc voltage source");
25 Lines.append(
new Line( 4,-13, 4, 13,QPen(QPen::darkBlue,2)));
26 Lines.append(
new Line( -4, -6, -4, 6,QPen(QPen::darkBlue,4)));
27 Lines.append(
new Line( 30, 0, 4, 0,QPen(QPen::darkBlue,2)));
28 Lines.append(
new Line( -4, 0,-30, 0,QPen(QPen::darkBlue,2)));
29 Lines.append(
new Line( 11, 5, 11, 11,QPen(QPen::red,1)));
30 Lines.append(
new Line( 14, 8, 8, 8,QPen(QPen::red,1)));
31 Lines.append(
new Line(-11, 5,-11, 11,QPen(QPen::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();