23 Description = QObject::tr(
"RLCG transmission line");
25 Lines.append(
new Line(-30, 0, 30, 0,QPen(Qt::darkBlue,2)));
26 Lines.append(
new Line(-28, 7, 28, 7,QPen(Qt::darkBlue,2)));
28 Lines.append(
new Line(-28, 14,-21, 7,QPen(Qt::darkBlue,2)));
29 Lines.append(
new Line(-21, 14,-14, 7,QPen(Qt::darkBlue,2)));
30 Lines.append(
new Line(-14, 14, -7, 7,QPen(Qt::darkBlue,2)));
31 Lines.append(
new Line( -7, 14, 0, 7,QPen(Qt::darkBlue,2)));
32 Lines.append(
new Line( 0, 14, 7, 7,QPen(Qt::darkBlue,2)));
33 Lines.append(
new Line( 7, 14, 14, 7,QPen(Qt::darkBlue,2)));
34 Lines.append(
new Line( 14, 14, 21, 7,QPen(Qt::darkBlue,2)));
35 Lines.append(
new Line( 21, 14, 28, 7,QPen(Qt::darkBlue,2)));
38 int fHeight = metrics.lineSpacing();
39 QString tmp = QObject::tr(
"RLCG");
40 int w = metrics.width(tmp);
41 Texts.append(
new Text(w/-2, -fHeight, tmp));
46 x1 = -30;
y1 = -fHeight;
55 QObject::tr(
"resistive load")+
" ("+QObject::tr (
"Ohm/m")+
")"));
57 QObject::tr(
"inductive load")+
" ("+QObject::tr (
"H/m")+
")"));
59 QObject::tr(
"capacitive load")+
" ("+QObject::tr (
"F/m")+
")"));
61 QObject::tr(
"conductive load")+
" ("+QObject::tr (
"S/m")+
")"));
63 QObject::tr(
"electrical length of the line")));
65 QObject::tr(
"simulation temperature in degree Celsius")));
79 Name = QObject::tr(
"RLCG Transmission Line");
80 BitmapFile = (
char *)
"rlcg";
82 if(getNewOne)
return new RLCG();
tQucsSettings QucsSettings
Definitions and declarations for the main application.
static Element * info(QString &, char *&, bool getNewOne=false)
Q3PtrList< Property > Props
Superclass of all schematic drawing elements.