*** empty log message ***

This commit is contained in:
margraf 2006-02-20 07:12:01 +00:00
parent 1d17a84fcd
commit 9b677b7d22
36 changed files with 1161 additions and 457 deletions

View File

@ -151,13 +151,12 @@ int main(int argc, char *argv[])
a.setFont(QucsSettings.font);
QTranslator tor( 0 );
QString lang = QucsSettings.Language;
if(lang.isEmpty())
lang = QTextCodec::locale();
tor.load( QString("qucs_") + lang, QucsSettings.LangDir);
QString locale = QucsSettings.Language;
if(locale.isEmpty())
locale = QTextCodec::locale();
tor.load( QString("qucs_") + locale, QucsSettings.LangDir);
a.installTranslator( &tor );
QString locale = QTextCodec::locale();
QucsHelpDir = QucsSettings.DocDir + locale;
if (!QucsHelpDir.exists () || !QucsHelpDir.isReadable ()) {
int p = locale.find ('_');

View File

@ -1,3 +1,13 @@
2006-02-18 Michael Margraf <michael.margraf@alumni.tu-berlin.de>
* load resistors with backward compatibility
* diagram dialog of tabular: default number representation mag/deg
* change dialog fixed
* correct VDHL time for gates
* s-parmeter file component with chooseable port number
* inout attribut for subcircuit port
* fixed bug to allow more than 1 subcircuit in VHDL
2006-02-13 Michael Margraf <michael.margraf@alumni.tu-berlin.de>
* language can be set in settings dialog

View File

@ -30,8 +30,8 @@ XPMS = ac_voltage.png arrow.png capacitor.png dc_current.png dc_voltage.png \
sweep.png tran.png cccs.png ccvs.png vccs.png vcvs.png ac.png cpwshort.png \
attenuator.png biast.png circulator.png dcblock.png dcfeed.png diode.png \
isolator.png mscorner.png mscross.png msstep.png mstee.png substrate.png \
subport.png spfile1.png spfile2.png spfile3.png spfile4.png spfile5.png \
spfile6.png coplanar.png ellipse.png mscoupled.png gyrator.png cpwgap.png \
subport.png spfile1.png spfile2.png spfile3.png coplanar.png ellipse.png \
mscoupled.png gyrator.png cpwgap.png \
pshifter.png iprobe.png noise_current.png noise_volt.png msmbend.png \
msopen.png filledellipse.png filledrect.png ac_current.png npn.png pnp.png \
nfet.png pfet.png nmosfet.png pmosfet.png dmosfet.png msgap.png npnsub.png \

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 B

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

BIN
qucs/bitmaps/vprobe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

View File

@ -43,7 +43,7 @@ libcomponents_a_SOURCES = phaseshifter.cpp gyrator.cpp componentdialog.cpp \
mutual2.cpp noise_ii.cpp noise_iv.cpp noise_vv.cpp logical_or.cpp \
logical_nor.cpp logical_and.cpp logical_nand.cpp logical_xor.cpp \
logical_xnor.cpp logical_inv.cpp digi_sim.cpp digi_source.cpp coupler.cpp \
rs_flipflop.cpp d_flipflop.cpp jk_flipflop.cpp coaxialline.cpp
rs_flipflop.cpp d_flipflop.cpp jk_flipflop.cpp coaxialline.cpp vprobe.cpp
nodist_libcomponents_a_SOURCES = $(MOCFILES)
@ -60,7 +60,7 @@ noinst_HEADERS = $(MOCHEADERS) resistor.h components.h capacitor.h vccs.h \
cpwgap.h cpwstep.h libcomp.h mutual.h mutual2.h noise_ii.h noise_iv.h \
noise_vv.h logical_or.h logical_nor.h logical_and.h logical_nand.h \
logical_xor.h logical_xnor.h logical_inv.h digi_sim.h digi_source.h \
coupler.h rs_flipflop.h d_flipflop.h jk_flipflop.h coaxialline.h
coupler.h rs_flipflop.h d_flipflop.h jk_flipflop.h coaxialline.h vprobe.h
INCLUDES = $(X11_INCLUDES) $(QT_INCLUDES) -I$(top_srcdir)/qucs

View File

@ -616,10 +616,7 @@ QString Component::VHDL_Code(int)
// -------------------------------------------------------
QString Component::save()
{
QString s = "<";
if(Model.at(0) == '#')
s += Model.mid(1) + QString::number(Ports.count()-1);
else s += Model;
QString s = "<" + Model;
if(Name.isEmpty()) s += " *";
else s += " "+Name;
@ -680,18 +677,18 @@ bool Component::load(const QString& _s)
tty = n.toInt(&ok);
if(!ok) return false;
if(Model.at(0) != '.') { // is simulation component (dc, ac, ...) ?
if(Model.at(0) != '.') { // is simulation component (dc, ac, ...) ?
n = s.section(' ',7,7); // mirroredX
if(n.toInt(&ok) == 1) mirrorX(); // mirror component
if(!ok) return false;
n = s.section(' ',7,7); // mirroredX
if(n.toInt(&ok) == 1) mirrorX();
if(!ok) return false;
n = s.section(' ',8,8); // rotated
tmp = n.toInt(&ok);
if(!ok) return false;
for(int z=0; z<tmp; z++) rotate(); // rotate component
n = s.section(' ',8,8); // rotated
tmp = n.toInt(&ok);
if(!ok) return false;
for(int z=0; z<tmp; z++) rotate();
}
}
tx = ttx; ty = tty; // restore text position (was changed by rotate/mirror)
@ -717,6 +714,11 @@ if(Model.at(0) != '.') { // is simulation component (dc, ac, ...) ?
Props.prev();
}
}
if(z == 6) if(counts == 6) // backward compatible
if(Model == "R") {
Props.getLast()->Value = n;
return true;
}
p1->Value = n;
n = s.section('"',z,z); // display
@ -1061,8 +1063,13 @@ QString GateComponent::VHDL_Code(int NumPorts)
s += " " + Model.lower() + " " + pp->Connection->Name; // node names
if(NumPorts <= 0) // no truth table simulation ?
if(strtod(Props.at(2)->Value.latin1(), 0) != 0.0) // delay time
s += " after " + Props.current()->Value;
if(strtod(Props.at(2)->Value.latin1(), 0) != 0.0) { // delay time
QString t = Props.current()->Value;
if(!VHDL_Time(t, Name))
return t; // time has not VHDL format
s += " after " + t;
}
s += ';';
return s;
@ -1239,6 +1246,7 @@ Component* getComponentFromName(QString& Line)
else if(cstr == "ac") c = new Volt_ac();
else if(cstr == "CCS") c = new VCCS();
else if(cstr == "CVS") c = new VCVS();
else if(cstr == "Probe") c = new vProbe();
else if(cstr == "noise") c = new Volt_noise();
else if(cstr == "pulse") c = new vPulse();
else if(cstr == "rect") c = new vRect();
@ -1253,8 +1261,10 @@ Component* getComponentFromName(QString& Line)
else if(cstr == "ort") c = new SubCirPort();
else if(cstr == "Shift") c = new Phaseshifter();
break;
case 'S' : if(cstr.left(5) == "Pfile") {
c = new SParamFile(cstr.mid(5).toInt()); }
case 'S' : if(cstr == "Pfile") c = new SParamFile();
else if(cstr.left(5) == "Pfile") { // backward compatible
c = new SParamFile();
c->Props.getLast()->Value = cstr.mid(5); }
else if(cstr == "ub") c = new Subcircuit();
else if(cstr == "UBST") c = new Substrate();
else if(cstr == "PICE") c = new SpiceFile();

View File

@ -82,6 +82,7 @@
#include "hb_sim.h"
#include "param_sweep.h"
#include "iprobe.h"
#include "vprobe.h"
#include "volt_noise.h"
#include "ampere_noise.h"
#include "noise_ii.h"

View File

@ -17,6 +17,7 @@
#include <stdlib.h>
#include "main.h"
#include "logical_inv.h"
#include "qucsdoc.h"
#include "node.h"
@ -50,8 +51,13 @@ QString Logical_Inv::VHDL_Code(int NumPorts)
Ports.getLast()->Connection->Name;
if(NumPorts <= 0) // no truth table simulation ?
if(strtod(Props.at(1)->Value.latin1(), 0) != 0.0) // delay time
s += " after " + Props.current()->Value;
if(strtod(Props.at(1)->Value.latin1(), 0) != 0.0) { // delay time
QString t = Props.current()->Value;
if(!VHDL_Time(t, Name))
return t; // time has not VHDL format
s += " after " + t;
}
s += ';';
return s;

View File

@ -17,60 +17,33 @@
#include "sparamfile.h"
#include "main.h"
#include "qucsdoc.h"
#include <qfileinfo.h>
extern QDir QucsWorkDir;
SParamFile::SParamFile(int No)
SParamFile::SParamFile()
{
Description = QObject::tr("S parameter file");
if(No < 1) No = 1;
int h = 30*((No-1)/2) + 15;
Lines.append(new Line(-15, -h, 15, -h,QPen(QPen::darkBlue,2)));
Lines.append(new Line( 15, -h, 15, h,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-15, h, 15, h,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-15, -h,-15, h,QPen(QPen::darkBlue,2)));
Texts.append(new Text( -9, -6,QObject::tr("file")));
int i=0, y = 15-h;
while(i<No) {
i++;
Lines.append(new Line(-30, y,-15, y,QPen(QPen::darkBlue,2)));
Ports.append(new Port(-30, y));
Texts.append(new Text(-25,y-14,QString::number(i)));
if(i == No) break;
i++;
Lines.append(new Line( 15, y, 30, y,QPen(QPen::darkBlue,2)));
Ports.append(new Port( 30, y));
Texts.append(new Text( 19,y-14,QString::number(i)));
y += 60;
}
Lines.append(new Line( 0, h, 0,h+15,QPen(QPen::darkBlue,2)));
Texts.append(new Text( 4, h,"Ref"));
Ports.append(new Port( 0,h+15)); // 'Ref' port
x1 = -30; y1 = -h-2;
x2 = 30; y2 = h+15;
QFontMetrics metrics(QucsSettings.font); // get size of text
tx = x1+4;
ty = y1 - 2*metrics.lineSpacing() - 4;
Model = "#SPfile";
Model = "SPfile";
Name = "X";
QString s = "test.s" + QString::number(No) + "p";
Props.append(new Property("File", s, true,
// must be the first property !!!
Props.append(new Property("File", "test.s1p", true,
QObject::tr("name of the s parameter file")));
Props.append(new Property("Data", "rectangular", false,
QObject::tr("data type")+" [rectangular, polar]"));
Props.append(new Property("Interpolator", "linear", false,
QObject::tr("interpolation type")+" [linear, cubic]"));
// must be the last property !!!
Props.append(new Property("Ports", "1", false,
QObject::tr("number of ports")));
createSymbol();
}
SParamFile::~SParamFile()
@ -79,22 +52,55 @@ SParamFile::~SParamFile()
Component* SParamFile::newOne()
{
return new SParamFile(Ports.count()-1);
SParamFile* p = new SParamFile();
p->Props.getLast()->Value = Props.getLast()->Value;
p->recreate(0);
return p;
}
Element* SParamFile::info(QString& Name, char* &BitmapFile, bool getNewOne)
{
Name = QObject::tr("n-port S parameter file");
BitmapFile = "spfile3";
if(getNewOne) {
SParamFile* p = new SParamFile();
p->Props.getFirst()->Value = "test.s3p";
p->Props.getLast()->Value = "3";
p->recreate(0);
return p;
}
return 0;
}
Element* SParamFile::info1(QString& Name, char* &BitmapFile, bool getNewOne)
{
Name = QObject::tr("1-port S parameter file");
BitmapFile = "spfile1";
if(getNewOne) return new SParamFile(1);
if(getNewOne) return new SParamFile();
return 0;
}
Element* SParamFile::info2(QString& Name, char* &BitmapFile, bool getNewOne)
{
Name = QObject::tr("2-port S parameter file");
BitmapFile = "spfile2";
if(getNewOne) {
SParamFile* p = new SParamFile();
p->Props.getFirst()->Value = "test.s2p";
p->Props.getLast()->Value = "2";
p->recreate(0);
return p;
}
return 0;
}
// -------------------------------------------------------
QString SParamFile::NetList()
{
QString s = Model.mid(1)+":"+Name;
QString s = Model+":"+Name;
// output all node names
for(Port *p1 = Ports.first(); p1 != 0; p1 = Ports.next())
@ -116,3 +122,70 @@ QString SParamFile::NetList()
return s;
}
// -------------------------------------------------------
void SParamFile::createSymbol()
{
int PortDistance = 60;
int Num = Props.getLast()->Value.toInt();
if(Num < 1) Num = 1;
else if(Num > 8) {
PortDistance = 20;
if(Num > 40) Num = 40;
}
Props.getLast()->Value = QString::number(Num);
int h = (PortDistance/2)*((Num-1)/2) + 15;
Lines.append(new Line(-15, -h, 15, -h,QPen(QPen::darkBlue,2)));
Lines.append(new Line( 15, -h, 15, h,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-15, h, 15, h,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-15, -h,-15, h,QPen(QPen::darkBlue,2)));
Texts.append(new Text( -9, -6,QObject::tr("file")));
int i=0, y = 15-h;
while(i<Num) {
i++;
Lines.append(new Line(-30, y,-15, y,QPen(QPen::darkBlue,2)));
Ports.append(new Port(-30, y));
Texts.append(new Text(-25,y-14,QString::number(i)));
if(i == Num) break;
i++;
Lines.append(new Line( 15, y, 30, y,QPen(QPen::darkBlue,2)));
Ports.append(new Port( 30, y));
Texts.append(new Text( 19,y-14,QString::number(i)));
y += PortDistance;
}
Lines.append(new Line( 0, h, 0,h+15,QPen(QPen::darkBlue,2)));
Texts.append(new Text( 4, h,"Ref"));
Ports.append(new Port( 0,h+15)); // 'Ref' port
x1 = -30; y1 = -h-2;
x2 = 30; y2 = h+15;
QFontMetrics metrics(QucsSettings.font); // get size of text
tx = x1+4;
ty = y1 - 2*metrics.lineSpacing() - 4;
}
// -------------------------------------------------------
void SParamFile::recreate(QucsDoc *Doc)
{
if(Doc) {
Doc->Comps->setAutoDelete(false);
Doc->deleteComp(this);
}
Ports.clear();
Lines.clear();
Texts.clear();
createSymbol();
performModification(); // rotate and mirror
if(Doc) {
Doc->insertRawComponent(this);
Doc->Comps->setAutoDelete(true);
}
}

View File

@ -1,6 +1,6 @@
/***************************************************************************
sparamfile.h - description
-------------------
sparamfile.h
--------------
begin : Sat Aug 23 2003
copyright : (C) 2003 by Michael Margraf
email : michael.margraf@alumni.tu-berlin.de
@ -23,11 +23,15 @@
class SParamFile : public Component {
public:
SParamFile(int No);
~SParamFile();
SParamFile();
~SParamFile();
Component* newOne();
QString NetList();
static Element* info(QString&, char* &, bool getNewOne=false);
static Element* info1(QString&, char* &, bool getNewOne=false);
static Element* info2(QString&, char* &, bool getNewOne=false);
void createSymbol();
void recreate(QucsDoc*);
};
#endif

View File

@ -29,7 +29,8 @@ SubCirPort::SubCirPort()
QObject::tr("number of the port within the subcircuit")));
// This property must be the second one !
Props.append(new Property("Type", "analog", false,
QObject::tr("type of the port")+" [analog, in, out]"));
QObject::tr("type of the port (for digital simulation only)")
+" [analog, in, out, inout]"));
createSymbol();
tx = x1+4;
@ -44,27 +45,25 @@ SubCirPort::~SubCirPort()
void SubCirPort::createSymbol()
{
switch(Props.at(1)->Value.at(0).latin1()) {
case 'a':
Arcs.append(new Arc(-25, -6, 13, 13, 0, 16*360,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-14, 0, 0, 0,QPen(QPen::darkBlue,2)));
break;
case 'o':
Lines.append(new Line( -9, 0, 0, 0,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-20, -5,-25, 0,QPen(QPen::red,2)));
Lines.append(new Line(-20, 5,-25, 0,QPen(QPen::red,2)));
Lines.append(new Line(-20, -5, -9, -5,QPen(QPen::red,2)));
Lines.append(new Line(-20, 5, -9, 5,QPen(QPen::red,2)));
Lines.append(new Line( -9, -5, -9, 5,QPen(QPen::red,2)));
break;
default:
Lines.append(new Line( -9, 0, 0, 0,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-14, -5, -9, 0,QPen(QPen::darkGreen,2)));
Lines.append(new Line(-14, 5, -9, 0,QPen(QPen::darkGreen,2)));
Lines.append(new Line(-25, -5,-14, -5,QPen(QPen::darkGreen,2)));
Lines.append(new Line(-25, 5,-14, 5,QPen(QPen::darkGreen,2)));
Lines.append(new Line(-25, -5,-25, 5,QPen(QPen::darkGreen,2)));
break;
if(Props.at(1)->Value == "in") {
Lines.append(new Line( -9, 0, 0, 0,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-14, -5, -9, 0,QPen(QPen::darkGreen,2)));
Lines.append(new Line(-14, 5, -9, 0,QPen(QPen::darkGreen,2)));
Lines.append(new Line(-25, -5,-14, -5,QPen(QPen::darkGreen,2)));
Lines.append(new Line(-25, 5,-14, 5,QPen(QPen::darkGreen,2)));
Lines.append(new Line(-25, -5,-25, 5,QPen(QPen::darkGreen,2)));
}
else if(Props.at(1)->Value == "out") {
Lines.append(new Line( -9, 0, 0, 0,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-20, -5,-25, 0,QPen(QPen::red,2)));
Lines.append(new Line(-20, 5,-25, 0,QPen(QPen::red,2)));
Lines.append(new Line(-20, -5, -9, -5,QPen(QPen::red,2)));
Lines.append(new Line(-20, 5, -9, 5,QPen(QPen::red,2)));
Lines.append(new Line( -9, -5, -9, 5,QPen(QPen::red,2)));
}
else {
Arcs.append(new Arc(-25, -6, 13, 13, 0, 16*360,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-14, 0, 0, 0,QPen(QPen::darkBlue,2)));
}
Ports.append(new Port( 0, 0));

View File

@ -0,0 +1,72 @@
/***************************************************************************
vprobe.cpp
------------
begin : Sat Feb 18 2006
copyright : (C) 2006 by Michael Margraf
email : michael.margraf@alumni.tu-berlin.de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "vprobe.h"
vProbe::vProbe()
{
Description = QObject::tr("voltage probe");
Lines.append(new Line(-20,-31, 20,-31,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-20, 9, 20, 9,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-20,-31,-20, 9,QPen(QPen::darkBlue,2)));
Lines.append(new Line( 20,-31, 20, 9,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-16,-27, 16,-27,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-16, -9, 16, -9,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-16,-27,-16, -9,QPen(QPen::darkBlue,2)));
Lines.append(new Line( 16,-27, 16, -9,QPen(QPen::darkBlue,2)));
Arcs.append(new Arc(-20,-23, 40, 40, 16*50, 16*80,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-11,-24, -2, -9,QPen(QPen::darkBlue,2)));
Lines.append(new Line(-10, 0,-10, 6,QPen(QPen::red,2)));
Lines.append(new Line(-13, 3, -7, 3,QPen(QPen::red,2)));
Lines.append(new Line( 7, 3, 13, 3,QPen(QPen::black,2)));
Lines.append(new Line(-10, 9,-10, 20,QPen(QPen::darkBlue,2)));
Lines.append(new Line( 10, 9, 10, 20,QPen(QPen::darkBlue,2)));
Ports.append(new Port(-10, 20));
Ports.append(new Port( 10, 20));
x1 = -24; y1 = -35;
x2 = 24; y2 = 20;
tx = x1+4;
ty = y2+4;
Model = "VProbe";
Name = "Pr";
}
vProbe::~vProbe()
{
}
Component* vProbe::newOne()
{
return new vProbe();
}
Element* vProbe::info(QString& Name, char* &BitmapFile, bool getNewOne)
{
Name = QObject::tr("Voltage Probe");
BitmapFile = "vprobe";
if(getNewOne) return new vProbe();
return 0;
}

32
qucs/components/vprobe.h Normal file
View File

@ -0,0 +1,32 @@
/***************************************************************************
vprobe.h
----------
begin : Sat Feb 18 2006
copyright : (C) 2006 by Michael Margraf
email : michael.margraf@alumni.tu-berlin.de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef VPROBE_H
#define VPROBE_H
#include "component.h"
class vProbe : public Component {
public:
vProbe();
~vProbe();
Component* newOne();
static Element* info(QString&, char* &, bool getNewOne=false);
};
#endif

View File

@ -169,6 +169,7 @@ DiagramDialog::DiagramDialog(Diagram *d, const QString& _DataSet,
PropertyBox->insertItem(tr("real/imaginary"));
PropertyBox->insertItem(tr("magnitude/angle (degree)"));
PropertyBox->insertItem(tr("magnitude/angle (radian)"));
PropertyBox->setCurrentItem(1);
connect(PropertyBox, SIGNAL(activated(int)), SLOT(slotSetNumMode(int)));
Box2->setStretchFactor(new QWidget(Box2), 5); // stretchable placeholder

View File

@ -154,13 +154,15 @@ void ChangeDialog::slotButtReplace()
QHBox *Dia_h = new QHBox(Dia);
Dia_h->setSpacing(5);
Dia_All->addWidget(Dia_h);
connect(new QPushButton(tr("Yes"), Dia_h), SIGNAL(clicked()),
QPushButton *YesButton = new QPushButton(tr("Yes"), Dia_h);
connect(YesButton, SIGNAL(clicked()),
Dia, SLOT(accept()));
connect(new QPushButton(tr("Cancel"), Dia_h), SIGNAL(clicked()),
Dia, SLOT(reject()));
QPtrList<QCheckBox> pList;
QCheckBox * pb;
Component * pc;
// search through all components
for(pc = Doc->Comps->first(); pc!=0; pc = Doc->Comps->next()) {
@ -168,16 +170,23 @@ void ChangeDialog::slotButtReplace()
if(Expr.search(pc->Name) >= 0)
for(Property *pp = pc->Props.first(); pp!=0; pp = pc->Props.next())
if(pp->Name == PropNameEdit->currentText()) {
pList.append(new QCheckBox(pc->Name, Dia_Box));
pList.current()->setChecked(true);
pb = new QCheckBox(pc->Name, Dia_Box);
pList.append(pb);
pb->setChecked(true);
break;
}
}
}
if(!pList.isEmpty())
Dia_Scroll->viewport()->setPaletteBackgroundColor(
pList.current()->paletteBackgroundColor());
QColor theColor;
if(pList.isEmpty()) {
YesButton->setEnabled(false);
theColor =
(new QLabel(tr("No match found!"), Dia_Box))->paletteBackgroundColor();
}
else theColor = pList.current()->paletteBackgroundColor();
Dia_Scroll->viewport()->setPaletteBackgroundColor(theColor);
Dia->resize(50, 300);
@ -188,20 +197,40 @@ void ChangeDialog::slotButtReplace()
bool changed = false;
// change property values
pList.first();
for(pc = Doc->Comps->first(); pc!=0; pc = Doc->Comps->next()) {
if(matches(pc->Model)) {
if(Expr.search(pc->Name) >= 0)
for(Property *pp = pc->Props.first(); pp!=0; pp = pc->Props.next())
if(pp->Name == PropNameEdit->currentText())
if(pList.current()->isChecked()) {
pp->Value = NewValueEdit->text();
pc->recreate(Doc); // apply changes to schematic symbol
pList.next();
changed = true;
break;
}
else pList.next();
for(pb = pList.first(); pb!=0; pb = pList.next()) {
if(!pb->isChecked()) continue;
for(pc = Doc->Comps->first(); pc!=0; pc = Doc->Comps->next()) {
if(pb->text() != pc->Name) continue;
for(Property *pp = pc->Props.first(); pp!=0; pp = pc->Props.next()) {
if(pp->Name != PropNameEdit->currentText()) continue;
int tx_Dist, ty_Dist, tmp;
pc->TextSize(tx_Dist, ty_Dist);
tmp = pc->tx+tx_Dist - pc->x1;
if((tmp > 0) || (tmp < -6)) tx_Dist = 0; // remember text position
tmp = pc->ty+ty_Dist - pc->y1;
if((tmp > 0) || (tmp < -6)) ty_Dist = 0;
pp->Value = NewValueEdit->text();
int dx, dy;
pc->TextSize(dx, dy); // correct text position
if(tx_Dist != 0) {
pc->tx += tx_Dist-dx;
tx_Dist = dx;
}
if(ty_Dist != 0) {
pc->ty += ty_Dist-dy;
ty_Dist = dy;
}
Doc->recreateComponent(pc); // apply changes to schematic symbol
changed = true;
break;
}
break;
}
}

View File

@ -74,11 +74,12 @@ QucsSettingsDialog::QucsSettingsDialog(QucsApp *parent, const char *name)
LanguageCombo->insertItem(tr("Polish")+" (pl)");
LanguageCombo->insertItem(tr("Romanian")+" (ro)");
LanguageCombo->insertItem(tr("Japanese")+" (jp)");
LanguageCombo->insertItem(tr("Hebrew")+" (he)");
LanguageCombo->insertItem(tr("Swedish")+" (sv)");
LanguageCombo->insertItem(tr("Turkish")+" (tr)");
LanguageCombo->insertItem(tr("Hungarian")+" (hu)");
LanguageCombo->insertItem(tr("Hebrew")+" (he)");
LanguageCombo->insertItem(tr("Portuguese")+" (pt)");
LanguageCombo->insertItem(tr("Turkish")+" (tr)");
LanguageCombo->insertItem(tr("Ukrainian")+" (uk)");
gp->addWidget(LanguageCombo,2,1);
val200 = new QIntValidator(0, 200, this);

View File

@ -325,47 +325,6 @@ void SimMessage::slotDisplayMsg()
ProgText->insert(ProgressText);
ProgressText = "";
wasLF = false;
#if 0
char *p;
int i, Progress;
QByteArray Data = SimProcess.readStdout();
if(wasLF) {
ProgressText += QString(Data);
i = ProgressText.findRev('\r');
#ifdef __MINGW32__
while (i > 1 && ProgressText.at(i+1) == '\n') {
i = ProgressText.findRev('\r', i-1);
}
#endif /* __MINGW32__ */
if(i > 1) {
Progress = 10*int(ProgressText.at(i-2).latin1()-'0') +
int(ProgressText.at(i-1).latin1()-'0');
if(Progress < 0) Progress += 160;
SimProgress->setProgress(Progress, 100);
ProgressText.remove(0, i+1);
}
if(ProgressText.at(0).latin1() > '\t') {
ProgText->insert(ProgressText);
wasLF = false;
//qDebug("Ende: "+ProgressText);
}
}
else {
i = Data.find('\t');
if(i < 0)
ProgText->insert(QString(Data));
else {
wasLF = true;
p = Data.data();
*(p+i) = 0;
ProgText->insert(QString(p) + "\n");
ProgressText = QString(Data).mid(i+1);
//qDebug("Beginn: "+ProgressText);
}
}
#endif
}
#ifdef SPEEDUP_PROGRESSBAR

View File

@ -1648,17 +1648,13 @@ void QucsApp::slotProjDelButt()
// The following arrays contains the components that appear in the
// component listview.
typedef Element* (*pInfoFunc) (QString&, char* &, bool);
pInfoFunc Simulations[] =
{&DC_Sim::info, &TR_Sim::info, &AC_Sim::info, &SP_Sim::info,
&HB_Sim::info, &Param_Sweep::info, &Digi_Sim::info, 0};
pInfoFunc lumpedComponents[] =
{&Resistor::info, &Resistor::info_us, &Capacitor::info, &Inductor::info,
&Ground::info, &SubCirPort::info, &Transformer::info, &symTrafo::info,
&dcBlock::info, &dcFeed::info, &BiasT::info, &Attenuator::info,
&Amplifier::info, &Isolator::info, &Circulator::info,
&Gyrator::info, &Phaseshifter::info, &Coupler::info, &iProbe::info,
&Mutual::info, &Mutual2::info, 0};
&vProbe::info, &Mutual::info, &Mutual2::info, 0};
pInfoFunc Sources[] =
{&Volt_dc::info, &Ampere_dc::info, &Volt_ac::info, &Ampere_ac::info,
@ -1687,6 +1683,13 @@ pInfoFunc digitalComps[] =
&Logical_XOR::info, &Logical_XNOR::info, &RS_FlipFlop::info,
&D_FlipFlop::info, &JK_FlipFlop::info, 0};
pInfoFunc Simulations[] =
{&DC_Sim::info, &TR_Sim::info, &AC_Sim::info, &SP_Sim::info,
&HB_Sim::info, &Param_Sweep::info, &Digi_Sim::info, 0};
pInfoFunc FileComponents[] =
{&SpiceFile::info, &SParamFile::info1, &SParamFile::info2, &SParamFile::info};
pInfoFunc Diagrams[] =
{&RectDiagram::info, &PolarDiagram::info, &TabDiagram::info,
&SmithDiagram::info, &SmithDiagram::info_y, &PSDiagram::info,
@ -1713,31 +1716,16 @@ void QucsApp::slotSetCompView(int index)
if((index+1) >= CompChoose->count()) // because of symbol edit mode
Infos = &Paintings[0];
else
switch(index) {
case COMBO_passive: Infos = &lumpedComponents[0]; break;
case COMBO_Sources: Infos = &Sources[0]; break;
case COMBO_TLines: Infos = &TransmissionLines[0]; break;
case COMBO_nonlinear: Infos = &nonlinearComps[0]; break;
case COMBO_digital: Infos = &digitalComps[0]; break;
case COMBO_File:
new QIconViewItem(CompComps, tr("SPICE netlist"),
QImage(QucsSettings.BitmapDir + "spicefile.png"));
new QIconViewItem(CompComps, tr("1-port S parameter file"),
QImage(QucsSettings.BitmapDir + "spfile1.png"));
new QIconViewItem(CompComps, tr("2-port S parameter file"),
QImage(QucsSettings.BitmapDir + "spfile2.png"));
new QIconViewItem(CompComps, tr("3-port S parameter file"),
QImage(QucsSettings.BitmapDir + "spfile3.png"));
new QIconViewItem(CompComps, tr("4-port S parameter file"),
QImage(QucsSettings.BitmapDir + "spfile4.png"));
new QIconViewItem(CompComps, tr("5-port S parameter file"),
QImage(QucsSettings.BitmapDir + "spfile5.png"));
new QIconViewItem(CompComps, tr("6-port S parameter file"),
QImage(QucsSettings.BitmapDir + "spfile6.png"));
return;
case COMBO_Sims: Infos = &Simulations[0]; break;
case COMBO_Diagrams: Infos = &Diagrams[0]; break;
}
switch(index) {
case COMBO_passive: Infos = &lumpedComponents[0]; break;
case COMBO_Sources: Infos = &Sources[0]; break;
case COMBO_TLines: Infos = &TransmissionLines[0]; break;
case COMBO_nonlinear: Infos = &nonlinearComps[0]; break;
case COMBO_digital: Infos = &digitalComps[0]; break;
case COMBO_File: Infos = &FileComponents[0]; break;
case COMBO_Sims: Infos = &Simulations[0]; break;
case COMBO_Diagrams: Infos = &Diagrams[0]; break;
}
while(*Infos != 0) {
(**Infos) (Name, File, false);
@ -1780,38 +1768,20 @@ void QucsApp::slotSelectComponent(QIconViewItem *item)
view->MouseDoubleClickAction = 0;
pInfoFunc Infos = 0;
int i = CompComps->index(item);
if((CompChoose->currentItem()+1) >= CompChoose->count())
Infos = Paintings[CompComps->index(item)];
Infos = Paintings[i]; // the only one in "symbol-painting" mode
else
switch(CompChoose->currentItem()) {
case COMBO_passive:
Infos = lumpedComponents[CompComps->index(item)];
break;
case COMBO_Sources:
Infos = Sources[CompComps->index(item)];
break;
case COMBO_TLines:
Infos = TransmissionLines[CompComps->index(item)];
break;
case COMBO_nonlinear:
Infos = nonlinearComps[CompComps->index(item)];
break;
case COMBO_digital:
Infos = digitalComps[CompComps->index(item)];
break;
case COMBO_File:
if(CompComps->index(item) == 0)
view->selElem = new SpiceFile();
else
view->selElem = new SParamFile(CompComps->index(item));
break;
case COMBO_Sims:
Infos = Simulations[CompComps->index(item)];
break;
case COMBO_Diagrams:
Infos = Diagrams[CompComps->index(item)];
break;
}
switch(CompChoose->currentItem()) {
case COMBO_passive: Infos = lumpedComponents[i]; break;
case COMBO_Sources: Infos = Sources[i]; break;
case COMBO_TLines: Infos = TransmissionLines[i]; break;
case COMBO_nonlinear: Infos = nonlinearComps[i]; break;
case COMBO_digital: Infos = digitalComps[i]; break;
case COMBO_File: Infos = FileComponents[i]; break;
case COMBO_Sims: Infos = Simulations[i]; break;
case COMBO_Diagrams: Infos = Diagrams[i]; break;
}
char *Dummy2;
QString Dummy1;

View File

@ -134,6 +134,10 @@
<source>inductors</source>
<translation>Spulen</translation>
</message>
<message>
<source>No match found!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloseMessageBox</name>
@ -3285,7 +3289,7 @@ Verwendung: qucsedit [-r] Datei
</message>
<message>
<source>type of the port</source>
<translation>Art des Tores</translation>
<translation type="obsolete">Art des Tores</translation>
</message>
<message>
<source>Timing Diagram</source>
@ -3317,7 +3321,7 @@ Verwendung: qucsedit [-r] Datei
</message>
<message>
<source>ERROR: No simulation specified on this page.</source>
<translation>FEHLER: Auf der Seite wurde keine Simulation spezifiziert.</translation>
<translation type="obsolete">FEHLER: Auf der Seite wurde keine Simulation spezifiziert.</translation>
</message>
<message>
<source>saturation current temperature exponent</source>
@ -3491,6 +3495,30 @@ Verwendung: qucsedit [-r] Datei
<source>relative permittivity of dielectric</source>
<translation>relative Permittivität des Dielektrikums</translation>
</message>
<message>
<source>voltage probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Voltage Probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>number of ports</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>n-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished">2-Tor S-Parameter Datei</translation>
</message>
<message>
<source>type of the port (for digital simulation only)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -4399,31 +4427,31 @@ Wollen Sie die Änderungen vor dem Schließen speichern?</translation>
</message>
<message>
<source>SPICE netlist</source>
<translation>SPICE Netzliste</translation>
<translation type="obsolete">SPICE Netzliste</translation>
</message>
<message>
<source>1-port S parameter file</source>
<translation>1-Tor S-Parameter Datei</translation>
<translation type="obsolete">1-Tor S-Parameter Datei</translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation>2-Tor S-Parameter Datei</translation>
<translation type="obsolete">2-Tor S-Parameter Datei</translation>
</message>
<message>
<source>3-port S parameter file</source>
<translation>3-Tor S-Parameter Datei</translation>
<translation type="obsolete">3-Tor S-Parameter Datei</translation>
</message>
<message>
<source>4-port S parameter file</source>
<translation>4-Tor S-Parameter Datei</translation>
<translation type="obsolete">4-Tor S-Parameter Datei</translation>
</message>
<message>
<source>5-port S parameter file</source>
<translation>5-Tor S-Parameter Datei</translation>
<translation type="obsolete">5-Tor S-Parameter Datei</translation>
</message>
<message>
<source>6-port S parameter file</source>
<translation>6-Tor S-Parameter Datei</translation>
<translation type="obsolete">6-Tor S-Parameter Datei</translation>
</message>
<message>
<source>Edit Circuit Symbol</source>
@ -7931,6 +7959,30 @@ mit einem entsprechendem Programm zu assoziieren.</translation>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ukrainian</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsTranscalc</name>

View File

@ -133,6 +133,10 @@
<source>inductors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No match found!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloseMessageBox</name>
@ -3066,10 +3070,6 @@ Use: qucsedit [-r] archivo
<source>WARNING: Ignore equation in subcircuit &quot;%1&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>type of the port</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Timing Diagram</source>
<translation type="unfinished"></translation>
@ -3106,10 +3106,6 @@ Use: qucsedit [-r] archivo
<source>ERROR: No ground symbol allowed in digital simulation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>ERROR: No simulation specified on this page.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>saturation current temperature exponent</source>
<translation type="unfinished"></translation>
@ -3274,6 +3270,30 @@ Use: qucsedit [-r] archivo
<source>relative permittivity of dielectric</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>voltage probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Voltage Probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>number of ports</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>n-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished">archivo de parámetros S de 2-conexiones</translation>
</message>
<message>
<source>type of the port (for digital simulation only)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -3818,27 +3838,27 @@ Errores:
</message>
<message>
<source>1-port S parameter file</source>
<translation>archivo de parámetros S de 1-conexión</translation>
<translation type="obsolete">archivo de parámetros S de 1-conexión</translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation>archivo de parámetros S de 2-conexiones</translation>
<translation type="obsolete">archivo de parámetros S de 2-conexiones</translation>
</message>
<message>
<source>3-port S parameter file</source>
<translation>archivo de parámetros S de 3-conexiones</translation>
<translation type="obsolete">archivo de parámetros S de 3-conexiones</translation>
</message>
<message>
<source>4-port S parameter file</source>
<translation>archivo de parámetros S de 4-conexiones</translation>
<translation type="obsolete">archivo de parámetros S de 4-conexiones</translation>
</message>
<message>
<source>5-port S parameter file</source>
<translation>archivo de parámetros S de 5-conexiones</translation>
<translation type="obsolete">archivo de parámetros S de 5-conexiones</translation>
</message>
<message>
<source>6-port S parameter file</source>
<translation>archivo de parámetros S de 6-conexiones</translation>
<translation type="obsolete">archivo de parámetros S de 6-conexiones</translation>
</message>
<message>
<source>Cartesian</source>
@ -3938,7 +3958,7 @@ Edita el esquema</translation>
</message>
<message>
<source>SPICE netlist</source>
<translation>netlist SPICE</translation>
<translation type="obsolete">netlist SPICE</translation>
</message>
<message>
<source>Edit Properties</source>
@ -5908,6 +5928,30 @@ open files with an appropriate program.</source>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ukrainian</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsTranscalc</name>

View File

@ -134,6 +134,10 @@
<source>inductors</source>
<translation>bobines</translation>
</message>
<message>
<source>No match found!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloseMessageBox</name>
@ -3066,7 +3070,7 @@ Invocation : qucsedit [-r] fichier
</message>
<message>
<source>type of the port</source>
<translation>type du port</translation>
<translation type="obsolete">type du port</translation>
</message>
<message>
<source>Truth Table</source>
@ -3094,7 +3098,7 @@ Invocation : qucsedit [-r] fichier
</message>
<message>
<source>ERROR: No simulation specified on this page.</source>
<translation>ERREUR : aucune simulation demandée sur cette page.</translation>
<translation type="obsolete">ERREUR : aucune simulation demandée sur cette page.</translation>
</message>
<message>
<source>saturation current temperature exponent</source>
@ -3260,6 +3264,30 @@ Invocation : qucsedit [-r] fichier
<source>relative permittivity of dielectric</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>voltage probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Voltage Probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>number of ports</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>n-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished">Fichier de paramètres S quadripôle</translation>
</message>
<message>
<source>type of the port (for digital simulation only)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -3641,27 +3669,27 @@ Erreurs :
</message>
<message>
<source>1-port S parameter file</source>
<translation>Fichier de paramètres S bipôle</translation>
<translation type="obsolete">Fichier de paramètres S bipôle</translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation>Fichier de paramètres S quadripôle</translation>
<translation type="obsolete">Fichier de paramètres S quadripôle</translation>
</message>
<message>
<source>3-port S parameter file</source>
<translation>Fichier de paramètres S hexapôle</translation>
<translation type="obsolete">Fichier de paramètres S hexapôle</translation>
</message>
<message>
<source>4-port S parameter file</source>
<translation>Fichier de paramètres S octopole</translation>
<translation type="obsolete">Fichier de paramètres S octopole</translation>
</message>
<message>
<source>5-port S parameter file</source>
<translation>Fichier de paramètres S décapôle</translation>
<translation type="obsolete">Fichier de paramètres S décapôle</translation>
</message>
<message>
<source>6-port S parameter file</source>
<translation>Fichier de paramètres S dodécapôle</translation>
<translation type="obsolete">Fichier de paramètres S dodécapôle</translation>
</message>
<message>
<source>Line</source>
@ -3921,7 +3949,7 @@ Modifie ce schéma</translation>
</message>
<message>
<source>SPICE netlist</source>
<translation>Document Spice</translation>
<translation type="obsolete">Document Spice</translation>
</message>
<message>
<source>Edit Properties</source>
@ -5882,6 +5910,30 @@ ouvrir ceux-ci avec le programme ad-hoc.</translation>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ukrainian</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsTranscalc</name>

View File

@ -133,6 +133,10 @@
<source>inductors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No match found!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloseMessageBox</name>
@ -2980,10 +2984,6 @@ Usage: qucsedit [-r] file
<source>WARNING: Ignore equation in subcircuit &quot;%1&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>type of the port</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Timing Diagram</source>
<translation type="unfinished"></translation>
@ -3020,10 +3020,6 @@ Usage: qucsedit [-r] file
<source>ERROR: No ground symbol allowed in digital simulation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>ERROR: No simulation specified on this page.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>saturation current temperature exponent</source>
<translation type="unfinished"></translation>
@ -3188,6 +3184,30 @@ Usage: qucsedit [-r] file
<source>relative permittivity of dielectric</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>voltage probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Voltage Probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>number of ports</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>n-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished">קובץ 2 פורט של פרמטר S</translation>
</message>
<message>
<source>type of the port (for digital simulation only)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -3721,31 +3741,31 @@ Errors:
</message>
<message>
<source>SPICE netlist</source>
<translation>SPICE NETLIST</translation>
<translation type="obsolete">SPICE NETLIST</translation>
</message>
<message>
<source>1-port S parameter file</source>
<translation>קובץ פורט-יחיד של פרמטר S</translation>
<translation type="obsolete">קובץ פורט-יחיד של פרמטר S</translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation>קובץ 2 פורט של פרמטר S</translation>
<translation type="obsolete">קובץ 2 פורט של פרמטר S</translation>
</message>
<message>
<source>3-port S parameter file</source>
<translation>קובץ 3 פורט של פרמטר S</translation>
<translation type="obsolete">קובץ 3 פורט של פרמטר S</translation>
</message>
<message>
<source>4-port S parameter file</source>
<translation>קובץ 4 פורט של פרמטר S</translation>
<translation type="obsolete">קובץ 4 פורט של פרמטר S</translation>
</message>
<message>
<source>5-port S parameter file</source>
<translation>קובץ 5 פורט של פרמטר S</translation>
<translation type="obsolete">קובץ 5 פורט של פרמטר S</translation>
</message>
<message>
<source>6-port S parameter file</source>
<translation>קובץ 6 פורט של פרמטר S</translation>
<translation type="obsolete">קובץ 6 פורט של פרמטר S</translation>
</message>
<message>
<source>Cartesian</source>
@ -5713,6 +5733,30 @@ open files with an appropriate program.</source>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ukrainian</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsTranscalc</name>

View File

@ -134,6 +134,10 @@
<source>inductors</source>
<translation>tekercsek</translation>
</message>
<message>
<source>No match found!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloseMessageBox</name>
@ -3052,7 +3056,7 @@ Digitális szimuláció</translation>
</message>
<message>
<source>type of the port</source>
<translation>kivezetés típusa</translation>
<translation type="obsolete">kivezetés típusa</translation>
</message>
<message>
<source>Timing Diagram</source>
@ -3092,7 +3096,7 @@ Digitális szimuláció</translation>
</message>
<message>
<source>ERROR: No simulation specified on this page.</source>
<translation>HIBA: Nincs szimulácó megadva ezen az oldalon.</translation>
<translation type="obsolete">HIBA: Nincs szimulácó megadva ezen az oldalon.</translation>
</message>
<message>
<source>saturation current temperature exponent</source>
@ -3258,6 +3262,30 @@ Digitális szimuláció</translation>
<source>relative permittivity of dielectric</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>voltage probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Voltage Probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>number of ports</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>n-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished">2-csatlakozós S paraméter fájl</translation>
</message>
<message>
<source>type of the port (for digital simulation only)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -3811,27 +3839,27 @@ Hibák:
</message>
<message>
<source>1-port S parameter file</source>
<translation>1-csatlakozós S paraméter fájl</translation>
<translation type="obsolete">1-csatlakozós S paraméter fájl</translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation>2-csatlakozós S paraméter fájl</translation>
<translation type="obsolete">2-csatlakozós S paraméter fájl</translation>
</message>
<message>
<source>3-port S parameter file</source>
<translation>3-csatlakozós S paraméter fájl</translation>
<translation type="obsolete">3-csatlakozós S paraméter fájl</translation>
</message>
<message>
<source>4-port S parameter file</source>
<translation>4-csatlakozós S paraméter fájl</translation>
<translation type="obsolete">4-csatlakozós S paraméter fájl</translation>
</message>
<message>
<source>5-port S parameter file</source>
<translation>5-csatlakozós S paraméter fájl</translation>
<translation type="obsolete">5-csatlakozós S paraméter fájl</translation>
</message>
<message>
<source>6-port S parameter file</source>
<translation>6-csatlakozós S paraméter fájl</translation>
<translation type="obsolete">6-csatlakozós S paraméter fájl</translation>
</message>
<message>
<source>Cartesian</source>
@ -3919,7 +3947,7 @@ Szerkeszti a kapcsolási rajzot</translation>
</message>
<message>
<source>SPICE netlist</source>
<translation>SPICE kötéslista</translation>
<translation type="obsolete">SPICE kötéslista</translation>
</message>
<message>
<source>Admittance Smith</source>
@ -5869,6 +5897,30 @@ a fájlt a megfelelő program nyissa meg.</translation>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ukrainian</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsTranscalc</name>

View File

@ -134,6 +134,10 @@
<source>inductors</source>
<translation>induttori</translation>
</message>
<message>
<source>No match found!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloseMessageBox</name>
@ -3198,10 +3202,6 @@ Usage: qucsedit [-r] file
<source>WARNING: Ignore equation in subcircuit &quot;%1&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>type of the port</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Timing Diagram</source>
<translation type="unfinished"></translation>
@ -3238,10 +3238,6 @@ Usage: qucsedit [-r] file
<source>ERROR: No ground symbol allowed in digital simulation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>ERROR: No simulation specified on this page.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>saturation current temperature exponent</source>
<translation type="unfinished"></translation>
@ -3406,6 +3402,30 @@ Usage: qucsedit [-r] file
<source>relative permittivity of dielectric</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>voltage probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Voltage Probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>number of ports</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>n-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished">file parametri S a 2 porte</translation>
</message>
<message>
<source>type of the port (for digital simulation only)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -4683,27 +4703,27 @@ Errori:
</message>
<message>
<source>1-port S parameter file</source>
<translation>file parametri S a 1 porta</translation>
<translation type="obsolete">file parametri S a 1 porta</translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation>file parametri S a 2 porte</translation>
<translation type="obsolete">file parametri S a 2 porte</translation>
</message>
<message>
<source>3-port S parameter file</source>
<translation>file parametri S a 3 porte</translation>
<translation type="obsolete">file parametri S a 3 porte</translation>
</message>
<message>
<source>4-port S parameter file</source>
<translation>file parametri S a 4 porte</translation>
<translation type="obsolete">file parametri S a 4 porte</translation>
</message>
<message>
<source>5-port S parameter file</source>
<translation>file parametri S a 5 porte</translation>
<translation type="obsolete">file parametri S a 5 porte</translation>
</message>
<message>
<source>6-port S parameter file</source>
<translation>file parametri S a 6 porte</translation>
<translation type="obsolete">file parametri S a 6 porte</translation>
</message>
<message>
<source>dc simulation</source>
@ -4943,7 +4963,7 @@ Modifica lo schema</translation>
</message>
<message>
<source>SPICE netlist</source>
<translation>netlist SPICE</translation>
<translation type="obsolete">netlist SPICE</translation>
</message>
<message>
<source>Edit Properties</source>
@ -6910,6 +6930,30 @@ open files with an appropriate program.</source>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ukrainian</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsTranscalc</name>

View File

@ -133,6 +133,10 @@
<source>inductors</source>
<translation></translation>
</message>
<message>
<source>No match found!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloseMessageBox</name>
@ -3027,10 +3031,6 @@ Usage: qucsedit [-r] file
<source>WARNING: Ignore equation in subcircuit &quot;%1&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>type of the port</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Timing Diagram</source>
<translation type="unfinished"></translation>
@ -3059,10 +3059,6 @@ Usage: qucsedit [-r] file
<source>ERROR: Analog and digital simulations cannot be mixed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>ERROR: No simulation specified on this page.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>ERROR: Digital simulation needs at least one digital source.</source>
<translation type="unfinished"></translation>
@ -3235,6 +3231,30 @@ Usage: qucsedit [-r] file
<source>relative permittivity of dielectric</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>voltage probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Voltage Probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>number of ports</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>n-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished">2- Sパラメータファイル</translation>
</message>
<message>
<source>type of the port (for digital simulation only)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -3742,27 +3762,27 @@ Errors occured during simulation on </source>
</message>
<message>
<source>1-port S parameter file</source>
<translation>1- Sパラメータファイル</translation>
<translation type="obsolete">1- Sパラメータファイル</translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation>2- Sパラメータファイル</translation>
<translation type="obsolete">2- Sパラメータファイル</translation>
</message>
<message>
<source>3-port S parameter file</source>
<translation>3- Sパラメータファイル</translation>
<translation type="obsolete">3- Sパラメータファイル</translation>
</message>
<message>
<source>4-port S parameter file</source>
<translation>4- Sパラメータファイル</translation>
<translation type="obsolete">4- Sパラメータファイル</translation>
</message>
<message>
<source>5-port S parameter file</source>
<translation>5- Sパラメータファイル</translation>
<translation type="obsolete">5- Sパラメータファイル</translation>
</message>
<message>
<source>6-port S parameter file</source>
<translation>6- Sパラメータファイル</translation>
<translation type="obsolete">6- Sパラメータファイル</translation>
</message>
<message>
<source>Cartesian</source>
@ -3862,7 +3882,7 @@ Edits the schematic</source>
</message>
<message>
<source>SPICE netlist</source>
<translation>SPICEネットリスト</translation>
<translation type="obsolete">SPICEネットリスト</translation>
</message>
<message>
<source>Edit Properties</source>
@ -5718,6 +5738,30 @@ open files with an appropriate program.</source>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ukrainian</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsTranscalc</name>

View File

@ -134,6 +134,10 @@
<source>inductors</source>
<translation>cewki</translation>
</message>
<message>
<source>No match found!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloseMessageBox</name>
@ -3124,10 +3128,6 @@ Stosowanie: qucsedit [-r] plik
<source>Timing Diagram</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>type of the port</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Truth Table</source>
<translation type="unfinished"></translation>
@ -3152,10 +3152,6 @@ Stosowanie: qucsedit [-r] plik
<source>ERROR: No ground symbol allowed in digital simulation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>ERROR: No simulation specified on this page.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>saturation current temperature exponent</source>
<translation type="unfinished"></translation>
@ -3320,6 +3316,30 @@ Stosowanie: qucsedit [-r] plik
<source>relative permittivity of dielectric</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>voltage probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Voltage Probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>number of ports</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>n-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished">plik z parameterami S dwuwrotnika</translation>
</message>
<message>
<source>type of the port (for digital simulation only)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -3705,27 +3725,27 @@ Błędy:
</message>
<message>
<source>1-port S parameter file</source>
<translation>plik z parameterami S jednowrotnika</translation>
<translation type="obsolete">plik z parameterami S jednowrotnika</translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation>plik z parameterami S dwuwrotnika</translation>
<translation type="obsolete">plik z parameterami S dwuwrotnika</translation>
</message>
<message>
<source>3-port S parameter file</source>
<translation>plik z parameterami S trójwrotnika</translation>
<translation type="obsolete">plik z parameterami S trójwrotnika</translation>
</message>
<message>
<source>4-port S parameter file</source>
<translation>plik z parameterami S czterowrotnika</translation>
<translation type="obsolete">plik z parameterami S czterowrotnika</translation>
</message>
<message>
<source>5-port S parameter file</source>
<translation>plik z parameterami S pięciowrotnika</translation>
<translation type="obsolete">plik z parameterami S pięciowrotnika</translation>
</message>
<message>
<source>6-port S parameter file</source>
<translation>plik z parameterami S sześciowrotnika</translation>
<translation type="obsolete">plik z parameterami S sześciowrotnika</translation>
</message>
<message>
<source>Line</source>
@ -3989,7 +4009,7 @@ Edytuj schemat</translation>
</message>
<message>
<source>SPICE netlist</source>
<translation>netlista w formacie SPICE</translation>
<translation type="obsolete">netlista w formacie SPICE</translation>
</message>
<message>
<source>file components</source>
@ -5879,6 +5899,30 @@ open files with an appropriate program.</source>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ukrainian</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsTranscalc</name>

View File

@ -133,6 +133,10 @@
<source>inductors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No match found!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloseMessageBox</name>
@ -2989,10 +2993,6 @@ Usage: qucsedit [-r] file
<source>WARNING: Ignore equation in subcircuit &quot;%1&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>type of the port</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Timing Diagram</source>
<translation type="unfinished"></translation>
@ -3029,10 +3029,6 @@ Usage: qucsedit [-r] file
<source>ERROR: No ground symbol allowed in digital simulation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>ERROR: No simulation specified on this page.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>saturation current temperature exponent</source>
<translation type="unfinished"></translation>
@ -3197,6 +3193,30 @@ Usage: qucsedit [-r] file
<source>relative permittivity of dielectric</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>voltage probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Voltage Probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>number of ports</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>n-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>type of the port (for digital simulation only)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -3718,30 +3738,6 @@ Erros:
<source>Ellipse Arc</source>
<translation type="obsolete">Arco de Elipse</translation>
</message>
<message>
<source>1-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>3-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>5-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>6-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cartesian</source>
<translation type="obsolete">Cartesiano</translation>
@ -3841,10 +3837,6 @@ Editar o símbolo para este esquemático</translation>
Edits the schematic</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>SPICE netlist</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>file components</source>
<translation type="unfinished"></translation>
@ -5698,6 +5690,30 @@ open files with an appropriate program.</source>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ukrainian</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsTranscalc</name>

View File

@ -133,6 +133,10 @@
<source>inductors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No match found!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloseMessageBox</name>
@ -3065,10 +3069,6 @@ Folosire: qucsedit [-r] file
<source>WARNING: Ignore equation in subcircuit &quot;%1&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>type of the port</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Timing Diagram</source>
<translation type="unfinished"></translation>
@ -3105,10 +3105,6 @@ Folosire: qucsedit [-r] file
<source>ERROR: No ground symbol allowed in digital simulation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>ERROR: No simulation specified on this page.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>saturation current temperature exponent</source>
<translation type="unfinished"></translation>
@ -3273,6 +3269,30 @@ Folosire: qucsedit [-r] file
<source>relative permittivity of dielectric</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>voltage probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Voltage Probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>number of ports</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>n-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished">Fisier parametrii S 2-port</translation>
</message>
<message>
<source>type of the port (for digital simulation only)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -3740,27 +3760,27 @@ Erori:
</message>
<message>
<source>1-port S parameter file</source>
<translation>Fisier parametrii S 1-port</translation>
<translation type="obsolete">Fisier parametrii S 1-port</translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation>Fisier parametrii S 2-port</translation>
<translation type="obsolete">Fisier parametrii S 2-port</translation>
</message>
<message>
<source>3-port S parameter file</source>
<translation>Fisier parametrii S 3-port</translation>
<translation type="obsolete">Fisier parametrii S 3-port</translation>
</message>
<message>
<source>4-port S parameter file</source>
<translation>Fisier parametrii S 4-port</translation>
<translation type="obsolete">Fisier parametrii S 4-port</translation>
</message>
<message>
<source>5-port S parameter file</source>
<translation>Fisier parametrii S 5-port</translation>
<translation type="obsolete">Fisier parametrii S 5-port</translation>
</message>
<message>
<source>6-port S parameter file</source>
<translation>Fisier parametrii S 6-port</translation>
<translation type="obsolete">Fisier parametrii S 6-port</translation>
</message>
<message>
<source>Line</source>
@ -3932,10 +3952,6 @@ Editează această schemă</translation>
<source>permanently! Continue ?</source>
<translation>definitiv! Continuaţi?</translation>
</message>
<message>
<source>SPICE netlist</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>file components</source>
<translation type="unfinished"></translation>
@ -5811,6 +5827,30 @@ open files with an appropriate program.</source>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ukrainian</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsTranscalc</name>

View File

@ -134,6 +134,10 @@
<source>Yes</source>
<translation>Ja</translation>
</message>
<message>
<source>No match found!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloseMessageBox</name>
@ -2912,7 +2916,7 @@ Usage: qucsedit [-r] file
</message>
<message>
<source>type of the port</source>
<translation>portens typ</translation>
<translation type="obsolete">portens typ</translation>
</message>
<message>
<source>Truth Table</source>
@ -2940,7 +2944,7 @@ Usage: qucsedit [-r] file
</message>
<message>
<source>ERROR: No simulation specified on this page.</source>
<translation>FEL: Ingen simulering specificerad denna sida.</translation>
<translation type="obsolete">FEL: Ingen simulering specificerad denna sida.</translation>
</message>
<message>
<source>saturation current temperature exponent</source>
@ -3106,6 +3110,30 @@ Usage: qucsedit [-r] file
<source>relative permittivity of dielectric</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>voltage probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Voltage Probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>number of ports</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>n-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished">2-ports S-parameterfil</translation>
</message>
<message>
<source>type of the port (for digital simulation only)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -3566,31 +3594,31 @@ Vill du spara dessa innan filen stängs?</translation>
</message>
<message>
<source>SPICE netlist</source>
<translation>SPICE nätlista</translation>
<translation type="obsolete">SPICE nätlista</translation>
</message>
<message>
<source>1-port S parameter file</source>
<translation>1-ports S-parameterfil</translation>
<translation type="obsolete">1-ports S-parameterfil</translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation>2-ports S-parameterfil</translation>
<translation type="obsolete">2-ports S-parameterfil</translation>
</message>
<message>
<source>3-port S parameter file</source>
<translation>3-ports S-parameterfil</translation>
<translation type="obsolete">3-ports S-parameterfil</translation>
</message>
<message>
<source>4-port S parameter file</source>
<translation>4-ports S-parameterfil</translation>
<translation type="obsolete">4-ports S-parameterfil</translation>
</message>
<message>
<source>5-port S parameter file</source>
<translation>5-ports S-parameterfil</translation>
<translation type="obsolete">5-ports S-parameterfil</translation>
</message>
<message>
<source>6-port S parameter file</source>
<translation>6-ports S-parameterfil</translation>
<translation type="obsolete">6-ports S-parameterfil</translation>
</message>
<message>
<source>Edit Circuit Symbol</source>
@ -5474,6 +5502,30 @@ open files with an appropriate program.</source>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ukrainian</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsTranscalc</name>

View File

@ -134,6 +134,10 @@
<source>Yes</source>
<translation>Evet</translation>
</message>
<message>
<source>No match found!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloseMessageBox</name>
@ -1140,7 +1144,7 @@ Bilinmeyen alan!</translation>
</message>
<message>
<source>ERROR: No simulation specified on this page.</source>
<translation>HATA: Bu sayfada herhangi bir simulasyon belirtilmedi.</translation>
<translation type="obsolete">HATA: Bu sayfada herhangi bir simulasyon belirtilmedi.</translation>
</message>
<message>
<source>ERROR: Digital simulation needs at least one digital source.</source>
@ -2706,7 +2710,7 @@ Yanlış &quot;bileşen-component&quot; satır biçimi!</translation>
</message>
<message>
<source>type of the port</source>
<translation>portun çeşidi</translation>
<translation type="obsolete">portun çeşidi</translation>
</message>
<message>
<source>Subcircuit Port</source>
@ -3106,6 +3110,30 @@ Kullanım: qucsedit -r kütük
<source>relative permittivity of dielectric</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>voltage probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Voltage Probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>number of ports</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>n-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished">2 girişli S parametre kütüğü</translation>
</message>
<message>
<source>type of the port (for digital simulation only)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -3574,31 +3602,31 @@ Kapatmadan önce kaydetmek ister misiniz?</translation>
</message>
<message>
<source>SPICE netlist</source>
<translation>SPICE bağlantı listesi</translation>
<translation type="obsolete">SPICE bağlantı listesi</translation>
</message>
<message>
<source>1-port S parameter file</source>
<translation>1 girişli S parametre kütüğü</translation>
<translation type="obsolete">1 girişli S parametre kütüğü</translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation>2 girişli S parametre kütüğü</translation>
<translation type="obsolete">2 girişli S parametre kütüğü</translation>
</message>
<message>
<source>3-port S parameter file</source>
<translation>3 girişli S parametre kütüğü</translation>
<translation type="obsolete">3 girişli S parametre kütüğü</translation>
</message>
<message>
<source>4-port S parameter file</source>
<translation>4 girişli S parametre kütüğü</translation>
<translation type="obsolete">4 girişli S parametre kütüğü</translation>
</message>
<message>
<source>5-port S parameter file</source>
<translation>5 girişli S parametre kütüğü</translation>
<translation type="obsolete">5 girişli S parametre kütüğü</translation>
</message>
<message>
<source>6-port S parameter file</source>
<translation>6 girişli S parametre kütüğü</translation>
<translation type="obsolete">6 girişli S parametre kütüğü</translation>
</message>
<message>
<source>Edit Circuit Symbol</source>
@ -5438,6 +5466,30 @@ uygun bir uygulama ile açılabilsinler.</translation>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ukrainian</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsTranscalc</name>

View File

@ -133,6 +133,10 @@
<source>Yes</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No match found!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CloseMessageBox</name>
@ -1124,10 +1128,6 @@ Unknown field!</source>
<source>ERROR: Analog and digital simulations cannot be mixed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>ERROR: No simulation specified on this page.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>ERROR: Digital simulation needs at least one digital source.</source>
<translation type="unfinished"></translation>
@ -2807,10 +2807,6 @@ Wrong &apos;component&apos; line format!</source>
<source>number of the port within the subcircuit</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>type of the port</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Subcircuit Port</source>
<translation type="unfinished"></translation>
@ -3068,6 +3064,30 @@ Usage: qucsedit [-r] file
</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>voltage probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Voltage Probe</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>number of ports</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>n-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>type of the port (for digital simulation only)</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -3528,34 +3548,6 @@ Do you want to save the changes before closing?</source>
<source>Choose Project Directory for Deleting</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>SPICE netlist</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>3-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>5-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>6-port S parameter file</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit Circuit Symbol</source>
<translation type="unfinished"></translation>
@ -5195,34 +5187,38 @@ open files with an appropriate program.</source>
<source>Polish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Roumanian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Japanese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Romanian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portuguese</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ukrainian</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsTranscalc</name>

View File

@ -899,7 +899,7 @@ bool QucsFile::giveNodeNames(QTextStream *stream, int& countInit,
bool QucsFile::createSubNetlist(QTextStream *stream, int& countInit,
QStringList& Collect, QTextEdit *ErrText, int NumPorts)
{
int i, z;
int i, z, Collect_count = Collect.count();;
QString s;
// TODO: NodeSets have to be put into the subcircuit block.
if(!giveNodeNames(stream, countInit, Collect, ErrText, NumPorts))
@ -918,11 +918,10 @@ bool QucsFile::createSubNetlist(QTextStream *stream, int& countInit,
(*it) = pc->Ports.getFirst()->Connection->Name;
if(NumPorts >= 0) {
(*it) += ": ";
switch(pc->Props.at(1)->Value.at(0).latin1()) {
case 'o' : (*it) += "out"; break;
case 'i' : (*it) += "in"; break;
default : (*it) += "inout";
}
if(pc->Props.at(1)->Value.at(0).latin1() == 'a')
(*it) += "inout";
else
(*it) += pc->Props.at(1)->Value;
(*it) += " bit";
}
}
@ -937,7 +936,7 @@ bool QucsFile::createSubNetlist(QTextStream *stream, int& countInit,
for(it = sl.begin(); it != sl.end(); it++)
Signals.remove(Signals.find((*it).section(':',0,0)));
for(it = Collect.begin(); it != Collect.end(); )
for(it = Collect.at(Collect_count); it != Collect.end(); )
if((*it).left(4) == "use ") { // output all subcircuit uses
(*stream) << (*it);
it = Collect.remove(it);
@ -1024,17 +1023,24 @@ int QucsFile::prepareNetlist(QTextStream& stream, QStringList& Collect,
if((allTypes & isAnalogComponent) == 0) {
if(allTypes == 0) {
ErrText->insert(
/* ErrText->insert(
QObject::tr("ERROR: No simulation specified on this page."));
return -10;
}
else if(NumPorts < 1) {
ErrText->insert(
QObject::tr("ERROR: Digital simulation needs at least one digital source."));
return -10;
}
return -10;*/
if(!isTruthTable) NumPorts = 0;
// If no simulation exists, assume analog simulation. There may
// be a simulation within a SPICE file. Otherwise Qucsator will
// output an error.
allTypes |= isAnalogComponent;
NumPorts = -1;
}
else {
if(NumPorts < 1) {
ErrText->insert(
QObject::tr("ERROR: Digital simulation needs at least one digital source."));
return -10;
}
if(!isTruthTable) NumPorts = 0;
}
}
else NumPorts = -1;