15 Description = QObject::tr (
"Potentiometer verilog device");
18 QObject::tr (
"nominal device resistance")
19 +
" ("+QObject::tr (
"Ohm")+
")"));
21 QObject::tr (
"shaft/wiper arm rotation")
22 +
" ("+QObject::tr (
"degrees")+
")"));
24 QObject::tr (
"resistive law taper coefficient")));
26 QObject::tr (
"device type selector")+
" [1, 2, 3]"));
28 QObject::tr (
"maximum shaft/wiper rotation")
29 +
" ("+QObject::tr (
"degrees")+
")"));
31 QObject::tr (
"conformity error")
32 +
" ("+QObject::tr (
"%")+
")"));
34 QObject::tr (
"linearity error")
35 +
" ("+QObject::tr (
"%")+
")"));
37 QObject::tr (
"wiper arm contact resistance")
38 +
" ("+QObject::tr (
"Ohm")+
")"));
40 QObject::tr (
"resistance temperature coefficient")
41 +
" ("+QObject::tr (
"PPM/Celsius")+
")"));
43 QObject::tr (
"parameter measurement temperature")
44 +
" ("+QObject::tr (
"Celsius")+
")"));
46 QObject::tr (
"simulation temperature")));
51 Model =
"potentiometer";
58 p->
Props.getFirst()->Value =
Props.getFirst()->Value;
65 Name = QObject::tr(
"Potentiometer");
66 BitmapFile = (
char *)
"potentiometer";
75 Lines.append(
new Line(-30,-13,-30, 10,QPen(QPen::darkBlue,2)));
76 Lines.append(
new Line(-30, 10, 30, 10,QPen(QPen::darkBlue,2)));
77 Lines.append(
new Line( 30, 10, 30,-13,QPen(QPen::darkBlue,2)));
78 Lines.append(
new Line( 30,-13,-30,-13,QPen(QPen::darkBlue,2)));
81 Lines.append(
new Line(-40, 0, -25, 0,QPen(QPen::darkBlue,2)));
82 Lines.append(
new Line(-25, 0, -20,-5,QPen(QPen::darkBlue,2)));
83 Lines.append(
new Line(-20, -5, -15, 0,QPen(QPen::darkBlue,2)));
84 Lines.append(
new Line(-15, 0, -10,-5,QPen(QPen::darkBlue,2)));
85 Lines.append(
new Line(-10, -5, -5, 0,QPen(QPen::darkBlue,2)));
86 Lines.append(
new Line( -5, 0, 0, -5,QPen(QPen::darkBlue,2)));
87 Lines.append(
new Line( 0, -5, 5, 0,QPen(QPen::darkBlue,2)));
88 Lines.append(
new Line( 5, 0, 10, -5,QPen(QPen::darkBlue,2)));
89 Lines.append(
new Line( 10, -5, 15, 0,QPen(QPen::darkBlue,2)));
90 Lines.append(
new Line( 15, 0, 20, -5,QPen(QPen::darkBlue,2)));
91 Lines.append(
new Line( 20, -5, 25, 0,QPen(QPen::darkBlue,2)));
92 Lines.append(
new Line( 25, 0, 40, 0,QPen(QPen::darkBlue,2)));
95 Lines.append(
new Line( -4, -9, 0, -5,QPen(QPen::darkBlue,2)));
96 Lines.append(
new Line( 4, -9, 0, -5,QPen(QPen::darkBlue,2)));
97 Lines.append(
new Line( 0, -5, 0,-20,QPen(QPen::darkBlue,2)));
99 Texts.append(
new Text(-23, 0, QObject::tr(
"B"), Qt::black, 6.0, 1.0, 0.0));
100 Texts.append(
new Text( 18, 0, QObject::tr(
"T"), Qt::black, 6.0, 1.0, 0.0));