2005-05-15 Michael Margraf <michael.margraf@alumni.tu-berlin.de>

* complete rework of netlist creation, especially concerning
        SPICE netlist imports
This commit is contained in:
raimi 2005-05-17 09:32:33 +00:00
parent db72ed1dff
commit d3ddee606b
15 changed files with 101 additions and 7 deletions

View File

@ -14,3 +14,4 @@ i386-unknown-netbsdelf2.99.15 gcc 3.3.3 Qt 3.3.3 0.0.5 ok
sparc-sun-solaris2.9 gcc 2.95.3 Qt 3.1.1 0.0.2 ok
powerpc-apple-darwin7.4.0 gcc 3.3 Qt 3.3.2 0.0.2 ok
powerpc-apple-darwin7.5.0 gcc 3.3 Qt 3.3.2 0.0.3 ok
powerpc-unknown-linux-gnu gcc 3.4.1 Qt 3.3.3 0.0.5 ok

View File

@ -1,3 +1,7 @@
2005-05-15 Stefan Jahn <stefan@lkcc.org>
* diode.cpp (Diode): Added 'Bv' and 'Ibv' properties.
2004-11-11 Stefan Jahn <stefan@lkcc.org>
* ac_sim.cpp (AC_Sim), dc_sim.cpp (DC_Sim): Incorporate linebreak

View File

@ -69,6 +69,10 @@ Diode::Diode()
QObject::tr("flicker noise exponent")));
Props.append(new Property("Ffe", "1.0", false,
QObject::tr("flicker noise frequency exponent")));
Props.append(new Property("Bv", "0", false,
QObject::tr("reverse breakdown voltage")));
Props.append(new Property("Ibv", "1 mA", false,
QObject::tr("current at reverse breakdown voltage")));
}
Diode::~Diode()

View File

@ -2802,6 +2802,14 @@ Verwendung: qucsedit [-r] Datei
<source>ERROR: No file name in SPICE component &quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>reverse breakdown voltage</source>
<translation>Durchbruchspannung rückwärts</translation>
</message>
<message>
<source>current at reverse breakdown voltage</source>
<translation>Strom bei der Durchbruchspannung im Rückwärtsbetrieb</translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -6776,7 +6784,7 @@ Fehler:
<name>SpiceDialog</name>
<message>
<source>Edit Spice Component Properties</source>
<translation>SPICE-Komponenteneigenschaften bearbeiten</translation>
<translation type="obsolete">SPICE-Komponenteneigenschaften bearbeiten</translation>
</message>
<message>
<source>Name:</source>
@ -6796,7 +6804,7 @@ Fehler:
</message>
<message>
<source>Spice net nodes:</source>
<translation>SPICE Netzknoten:</translation>
<translation type="obsolete">SPICE Netzknoten:</translation>
</message>
<message>
<source>Add &gt;&gt;</source>

View File

@ -2599,6 +2599,14 @@ Use: qucsedit [-r] archivo
<source>ERROR: No file name in SPICE component &quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>current at reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>

View File

@ -2587,6 +2587,14 @@ Invocation : qucsedit [-r] fichier
<source>ERROR: No file name in SPICE component &quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>current at reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>

View File

@ -2517,6 +2517,14 @@ Usage: qucsedit [-r] file
<source>ERROR: No file name in SPICE component &quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>current at reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>

View File

@ -2574,6 +2574,14 @@ Használat: qucsedit [-r] fájl
<source>ERROR: No file name in SPICE component &quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>current at reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>

View File

@ -2689,6 +2689,14 @@ Usage: qucsedit [-r] file
<source>ERROR: No file name in SPICE component &quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>current at reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>
@ -6326,10 +6334,6 @@ Errori:
<source>show file name in schematic</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Spice net nodes:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Add &gt;&gt;</source>
<translation type="unfinished"></translation>

View File

@ -2563,6 +2563,14 @@ Usage: qucsedit [-r] file
<source>ERROR: No file name in SPICE component &quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>current at reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>

View File

@ -2642,6 +2642,14 @@ Stosowanie: qucsedit [-r] plik
<source>ERROR: No file name in SPICE component &quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>current at reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>

View File

@ -2526,6 +2526,14 @@ Usage: qucsedit [-r] file
<source>ERROR: No file name in SPICE component &quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>current at reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>

View File

@ -2602,6 +2602,14 @@ Folosire: qucsedit [-r] file
<source>ERROR: No file name in SPICE component &quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>current at reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>

View File

@ -2405,6 +2405,14 @@ Usage: qucsedit [-r] file
<source>ERROR: No file name in SPICE component &quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>current at reverse breakdown voltage</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsActions</name>

View File

@ -434,7 +434,8 @@ void QucsActions::slotSelectAll()
void QucsActions::editFile(const QString& File)
{
QStringList com;
com << QucsSettings.Editor << File;
com << QucsSettings.Editor;
if (!File.isEmpty()) com << File;
QProcess *QucsEditor = new QProcess(com);
QucsEditor->setCommunication(0);
if(!QucsEditor->start()) {