28 QObject::tr(
"ohmic resistance in Ohms")));
30 QObject::tr(
"simulation temperature in degree Celsius")));
32 QObject::tr(
"first order temperature coefficient")));
34 QObject::tr(
"second order temperature coefficient")));
36 QObject::tr(
"temperature at which parameters were extracted")));
40 QObject::tr(
"schematic symbol")+
" [european, US]"));
41 if(!european)
Props.getLast()->Value =
"US";
59 if(
Props.getLast()->Value !=
"US") {
60 Lines.append(
new Line(-18, -9, 18, -9,QPen(Qt::darkBlue,2)));
61 Lines.append(
new Line( 18, -9, 18, 9,QPen(Qt::darkBlue,2)));
62 Lines.append(
new Line( 18, 9,-18, 9,QPen(Qt::darkBlue,2)));
63 Lines.append(
new Line(-18, 9,-18, -9,QPen(Qt::darkBlue,2)));
64 Lines.append(
new Line(-30, 0,-18, 0,QPen(Qt::darkBlue,2)));
65 Lines.append(
new Line( 18, 0, 30, 0,QPen(Qt::darkBlue,2)));
68 Lines.append(
new Line(-30, 0,-18, 0,QPen(Qt::darkBlue,2)));
69 Lines.append(
new Line(-18, 0,-15, -7,QPen(Qt::darkBlue,2)));
70 Lines.append(
new Line(-15, -7, -9, 7,QPen(Qt::darkBlue,2)));
71 Lines.append(
new Line( -9, 7, -3, -7,QPen(Qt::darkBlue,2)));
72 Lines.append(
new Line( -3, -7, 3, 7,QPen(Qt::darkBlue,2)));
73 Lines.append(
new Line( 3, 7, 9, -7,QPen(Qt::darkBlue,2)));
74 Lines.append(
new Line( 9, -7, 15, 7,QPen(Qt::darkBlue,2)));
75 Lines.append(
new Line( 15, 7, 18, 0,QPen(Qt::darkBlue,2)));
76 Lines.append(
new Line( 18, 0, 30, 0,QPen(Qt::darkBlue,2)));
89 Name = QObject::tr(
"Resistor");
90 BitmapFile = (
char *)
"resistor";
99 Name = QObject::tr(
"Resistor US");
100 BitmapFile = (
char *)
"resistor_us";
102 if(getNewOne)
return new Resistor(
false);
Resistor(bool european=true)
Q3PtrList< Property > Props
static Element * info_us(QString &, char *&, bool getNewOne=false)
static Element * info(QString &, char *&, bool getNewOne=false)
Superclass of all schematic drawing elements.