35 QObject::tr(
"name of the s parameter file")));
37 QObject::tr(
"data type")+
" [rectangular, polar]"));
39 QObject::tr(
"interpolation type")+
" [linear, cubic]"));
41 QObject::tr(
"representation during DC analysis")+
42 " [open, short, shortall, unspecified]"));
46 QObject::tr(
"number of ports")));
55 p->
Props.getLast()->Value =
Props.getLast()->Value;
63 Name = QObject::tr(
"n-port S parameter file");
64 BitmapFile = (
char *)
"spfile3";
68 p->
Props.getFirst()->Value =
"test.s3p";
69 p->
Props.getLast()->Value =
"3";
79 Name = QObject::tr(
"1-port S parameter file");
80 BitmapFile = (
char *)
"spfile1";
89 Name = QObject::tr(
"2-port S parameter file");
90 BitmapFile = (
char *)
"spfile2";
94 p->
Props.getFirst()->Value =
"test.s2p";
95 p->
Props.getLast()->Value =
"2";
106 QString FileName =
Props.getFirst()->Value;
117 s +=
" "+p1->Connection->Name;
125 s +=
" "+p2->Name+
"=\""+p2->Value+
"\"";
129 s +=
" "+p2->Name+
"=\""+p2->Value+
"\"";
133 s +=
" "+p2->Name+
"=\""+p2->Value+
"\"\n";
141 int PortDistance = 60;
142 int Num =
Props.getLast()->Value.toInt();
146 if(Num > 40) Num = 40;
148 Props.getLast()->Value = QString::number(Num);
150 int h = (PortDistance/2)*((Num-1)/2) + 15;
151 Lines.append(
new Line(-15, -h, 15, -h,QPen(Qt::darkBlue,2)));
152 Lines.append(
new Line( 15, -h, 15, h,QPen(Qt::darkBlue,2)));
153 Lines.append(
new Line(-15, h, 15, h,QPen(Qt::darkBlue,2)));
154 Lines.append(
new Line(-15, -h,-15, h,QPen(Qt::darkBlue,2)));
155 Texts.append(
new Text( -9, -6,QObject::tr(
"file")));
161 Lines.append(
new Line(-30, y,-15, y,QPen(Qt::darkBlue,2)));
163 Texts.append(
new Text(-25,y-14,QString::number(i)));
167 Lines.append(
new Line( 15, y, 30, y,QPen(Qt::darkBlue,2)));
169 Texts.append(
new Text( 19,y-14,QString::number(i)));
173 Lines.append(
new Line( 0, h, 0,h+15,QPen(Qt::darkBlue,2)));
182 ty =
y1 - 2*metrics.lineSpacing() - 4;
tQucsSettings QucsSettings
Definitions and declarations for the main application.
QString properAbsFileName(const QString &Name)
Q3PtrList< Property > Props
static Element * info2(QString &, char *&, bool getNewOne=false)
QString getSubcircuitFile()
Superclass of all schematic drawing elements.
void recreate(Schematic *)
static Element * info(QString &, char *&, bool getNewOne=false)
static Element * info1(QString &, char *&, bool getNewOne=false)