29 f.setPointSizeFloat(12.0);
30 QFontMetrics metrics(f);
31 QSize r = metrics.size(0, QObject::tr(
"Equation"));
32 int xb = r.width() >> 1;
33 int yb = r.height() >> 1;
35 Lines.append(
new Line(-xb, -yb, -xb, yb,QPen(QPen::darkBlue,2)));
36 Lines.append(
new Line(-xb, yb, xb+3,yb,QPen(QPen::darkBlue,2)));
37 Texts.append(
new Text(-xb+4, -yb-3, QObject::tr(
"Equation"),
38 QColor(0,0,0), 12.0));
40 x1 = -xb-3;
y1 = -yb-5;
50 QObject::tr(
"put result into dataset")+
" [yes, no]"));
63 if(pr->Name !=
"Export")
64 s +=
" real "+pr->Name+
"; initial "+pr->Name+
" = "+pr->Value+
";\n";
74 if(pr->Name !=
"Export")
75 s +=
" constant "+pr->Name+
" : time := "+pr->Value+
";\n";
86 Name = QObject::tr(
"Equation");
87 BitmapFile = (
char *)
"";