mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00
2009-10-27 Stefan Jahn <stefan@lkcc.org>
* paintings/rectangle.cpp, paintings/portsymbol.cpp, paintings/id_text.cpp, paintings/graphictext.cpp, paintings/graphicline.cpp, paintings/ellipsearc.cpp, paintings/ellipse.cpp, paintings/arrow.cpp (saveCpp): Added support functions for saving drawing as C++ code snippet. * dialogs/vasettingsdialog.cpp (VASettingsDialog): Added new property dialog for Verilog-A files. * textdoc.cpp (getModuleName): Added function to obtain module/entity name of a text file (e.g. Verilog or VHDL). (saveSettings): Saving additional settings for Verilog-A text files. * schematic_file.cpp (saveSymbolCpp): Added code to save C++ symbol drawing code into the dataset of a schematic. (saveDocument): Usin above function to save C++ code of a symbol drawing document associated with a Verilog-A file. * schematic.cpp (adjustPortNumbers): Creating/updating Verilog-A text file's default symbol when switching to symbol page. 2009-10-27 Stefan Jahn <stefan@lkcc.org> * vafile.cpp (VerilogA_File_Info): Added new class parsing ports and module name of a Verilog-A file.
This commit is contained in:
parent
560eb02f09
commit
257cbe54b0
5
NEWS
5
NEWS
@ -26,7 +26,10 @@ files.
|
||||
Version 0.0.16
|
||||
--------------
|
||||
|
||||
* direct association of symbol drawings to Verilog-HDL and VHDL code
|
||||
* support for C++ code export of symbol drawings associated with
|
||||
Verilog-A files
|
||||
* direct association of symbol drawings to Verilog-HDL, Verilog-A
|
||||
and VHDL code
|
||||
* added Verilog-HDL syntax highlighting in text documents
|
||||
* support for pre-compiled VHDL modules and libraries made from user
|
||||
written VHDL code
|
||||
|
@ -1,3 +1,27 @@
|
||||
2009-10-27 Stefan Jahn <stefan@lkcc.org>
|
||||
|
||||
* paintings/rectangle.cpp, paintings/portsymbol.cpp,
|
||||
paintings/id_text.cpp, paintings/graphictext.cpp,
|
||||
paintings/graphicline.cpp, paintings/ellipsearc.cpp,
|
||||
paintings/ellipse.cpp, paintings/arrow.cpp (saveCpp): Added
|
||||
support functions for saving drawing as C++ code snippet.
|
||||
|
||||
* dialogs/vasettingsdialog.cpp (VASettingsDialog): Added new
|
||||
property dialog for Verilog-A files.
|
||||
|
||||
* textdoc.cpp (getModuleName): Added function to obtain
|
||||
module/entity name of a text file (e.g. Verilog or VHDL).
|
||||
(saveSettings): Saving additional settings for Verilog-A text
|
||||
files.
|
||||
|
||||
* schematic_file.cpp (saveSymbolCpp): Added code to save C++
|
||||
symbol drawing code into the dataset of a schematic.
|
||||
(saveDocument): Usin above function to save C++ code of a symbol
|
||||
drawing document associated with a Verilog-A file.
|
||||
|
||||
* schematic.cpp (adjustPortNumbers): Creating/updating Verilog-A
|
||||
text file's default symbol when switching to symbol page.
|
||||
|
||||
2009-10-25 Stefan Jahn <stefan@lkcc.org>
|
||||
|
||||
* dialogs/qucssettingsdialog.cpp (QucsSettingsDialog): Added
|
||||
@ -28,7 +52,7 @@
|
||||
* syntax.cpp (highlightParagraph): Added support for (* *)
|
||||
comments in Verilog-HDL files. Also nested comments are allowed.
|
||||
|
||||
* schematic.cpp (adjustPortNumbers): Support for ceation of
|
||||
* schematic.cpp (adjustPortNumbers): Support for creation of
|
||||
Verilog-HDL text file's default symbol.
|
||||
|
||||
2009-10-22 Stefan Jahn <stefan@lkcc.org>
|
||||
|
@ -1,3 +1,8 @@
|
||||
2009-10-27 Stefan Jahn <stefan@lkcc.org>
|
||||
|
||||
* vafile.cpp (VerilogA_File_Info): Added new class parsing ports
|
||||
and module name of a Verilog-A file.
|
||||
|
||||
2009-10-23 Stefan Jahn <stefan@lkcc.org>
|
||||
|
||||
* verilogfile.cpp (Verilog_File_Info): Added class for parsing
|
||||
|
@ -54,7 +54,7 @@ libcomponents_a_SOURCES = phaseshifter.cpp gyrator.cpp componentdialog.cpp \
|
||||
gatedDlatch.cpp logic_0.cpp logic_1.cpp mux2to1.cpp mux4to1.cpp mux8to1.cpp \
|
||||
DLS_nto1.cpp DLS_1ton.cpp andor4x2.cpp andor4x3.cpp andor4x4.cpp \
|
||||
dmux2to4.cpp dmux3to8.cpp dmux4to16.cpp ha1b.cpp fa1b.cpp fa2b.cpp \
|
||||
pad2bit.cpp pad3bit.cpp pad4bit.cpp binarytogrey4bit.cpp \
|
||||
pad2bit.cpp pad3bit.cpp pad4bit.cpp binarytogrey4bit.cpp vafile.cpp \
|
||||
greytobinary4bit.cpp comp_1bit.cpp comp_2bit.cpp comp_4bit.cpp \
|
||||
hpribin4bit.cpp msrstub.cpp phototransistor.cpp nigbt.cpp
|
||||
|
||||
@ -83,7 +83,8 @@ noinst_HEADERS = $(MOCHEADERS) resistor.h components.h capacitor.h vccs.h \
|
||||
mux2to1.h mux4to1.h mux8to1.h DLS_nto1.h DLS_1ton.h andor4x2.h andor4x3.h \
|
||||
andor4x4.h dmux2to4.h dmux3to8.h dmux4to16.h ha1b.h fa1b.h fa2b.h pad2bit.h \
|
||||
pad3bit.h pad4bit.h binarytogrey4bit.h greytobinary4bit.h comp_1bit.h \
|
||||
comp_2bit.h comp_4bit.h hpribin4bit.h msrstub.h phototransistor.h nigbt.h
|
||||
comp_2bit.h comp_4bit.h hpribin4bit.h msrstub.h phototransistor.h nigbt.h \
|
||||
vafile.h
|
||||
|
||||
INCLUDES = $(X11_INCLUDES) $(QT_INCLUDES) -I$(top_srcdir)/qucs
|
||||
|
||||
|
@ -51,7 +51,7 @@ SOURCES = phaseshifter.cpp gyrator.cpp componentdialog.cpp \
|
||||
gatedDlatch.cpp logic_0.cpp logic_1.cpp mux2to1.cpp mux4to1.cpp mux8to1.cpp \
|
||||
DLS_nto1.cpp DLS_1ton.cpp andor4x2.cpp andor4x3.cpp andor4x4.cpp \
|
||||
dmux2to4.cpp dmux3to8.cpp dmux4to16.cpp ha1b.cpp fa1b.cpp fa2b.cpp \
|
||||
pad2bit.cpp pad3bit.cpp pad4bit.cpp binarytogrey4bit.cpp \
|
||||
pad2bit.cpp pad3bit.cpp pad4bit.cpp binarytogrey4bit.cpp vafile.cpp \
|
||||
greytobinary4bit.cpp comp_1bit.cpp comp_2bit.cpp comp_4bit.cpp \
|
||||
hpribin4bit.cpp msrstub.cpp phototransistor.cpp nigbt.cpp
|
||||
|
||||
|
124
qucs/components/vafile.cpp
Normal file
124
qucs/components/vafile.cpp
Normal file
@ -0,0 +1,124 @@
|
||||
/***************************************************************************
|
||||
vafile.cpp
|
||||
------------
|
||||
begin : Sun Oct 26 2009
|
||||
copyright : (C) 2009 by Stefan Jahn
|
||||
email : stefa@lkcc.org
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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 <qstring.h>
|
||||
#include <qregexp.h>
|
||||
#include <qfile.h>
|
||||
#include <qfileinfo.h>
|
||||
|
||||
#include "vafile.h"
|
||||
|
||||
// -------------------------------------------------------
|
||||
VerilogA_File_Info::VerilogA_File_Info () {
|
||||
ModuleName = "";
|
||||
PortNames = "";
|
||||
}
|
||||
|
||||
// -------------------------------------------------------
|
||||
VerilogA_File_Info::VerilogA_File_Info (QString File, bool isfile)
|
||||
{
|
||||
if (isfile) {
|
||||
QFile f (File);
|
||||
if (!f.open (IO_ReadOnly))
|
||||
File = "";
|
||||
else {
|
||||
QByteArray FileContent = f.readAll ();
|
||||
File = QString (FileContent);
|
||||
}
|
||||
f.close();
|
||||
}
|
||||
|
||||
QString s;
|
||||
int i=0, j, k=0;
|
||||
while((i=File.find("//", i)) >= 0) { // remove all Verilog-A comments
|
||||
j = File.find('\n', i+2); // (This also finds "//" within a ...
|
||||
if(j < 0) // string, but as no strings are ...
|
||||
File = File.left(i); // allowed in module headers, it ...
|
||||
else // does not matter.)
|
||||
File.remove(i, j-i);
|
||||
}
|
||||
|
||||
i=0;
|
||||
while((i=File.find("/*", i)) >= 0) { // remove all Verilog-A comments
|
||||
j = File.find("*/", i+2); // (This also finds "/*" within a ...
|
||||
if(j < 0) // string, but as no strings are ...
|
||||
File = File.left(i); // allowed in module headers, it ...
|
||||
else // does not matter.)
|
||||
File.remove(i, j-i+2);
|
||||
}
|
||||
|
||||
QRegExp Expr,Expr1;
|
||||
Expr.setCaseSensitive(true);
|
||||
Expr1.setCaseSensitive(true);
|
||||
k--;
|
||||
Expr.setPattern("\\bmodule\\b"); // start of last module
|
||||
k = File.findRev(Expr, k);
|
||||
if(k < 0)
|
||||
return;
|
||||
|
||||
Expr.setPattern("\\bendmodule\\b"); // end of last module
|
||||
i = File.find(Expr, k+7);
|
||||
if(i < 0)
|
||||
return;
|
||||
s = File.mid(k+7, i-k-7); // cut out module declaration
|
||||
|
||||
Expr.setPattern("\\b");
|
||||
i = s.find(Expr);
|
||||
if(i < 0)
|
||||
return;
|
||||
j = s.find(Expr, i+1);
|
||||
if(j < 0)
|
||||
return;
|
||||
ModuleName = s.mid(i, j-i); // save module name
|
||||
|
||||
i = s.find('(', j);
|
||||
if(i < 0)
|
||||
return;
|
||||
|
||||
j = s.find(')', i);
|
||||
if(j < 0)
|
||||
return;
|
||||
s = s.mid(i+1, j-i-1);
|
||||
|
||||
// parse ports, i.e. network connections
|
||||
PortNames = parsePorts (s, 0);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------
|
||||
QString VerilogA_File_Info::parsePorts(QString s, int i)
|
||||
{
|
||||
QRegExp Expr,Expr1;
|
||||
Expr.setCaseSensitive(true);
|
||||
Expr1.setCaseSensitive(true);
|
||||
|
||||
int j;
|
||||
i = 0; // remove all Verilog-A identifiers (e.g. "input")
|
||||
Expr.setPattern("(\\binput\\b|\\boutput\\b|\\binout\\b)");
|
||||
Expr1.setPattern("(\\b)");
|
||||
while((i=s.find(Expr, i)) >= 0) {
|
||||
j = s.find(Expr1, i+1);
|
||||
if(j < 0)
|
||||
s = s.left(i);
|
||||
else
|
||||
s.remove(i, j-i);
|
||||
}
|
||||
|
||||
s.remove(' ');
|
||||
s.remove('\n');
|
||||
s.remove('\t');
|
||||
return s;
|
||||
}
|
33
qucs/components/vafile.h
Normal file
33
qucs/components/vafile.h
Normal file
@ -0,0 +1,33 @@
|
||||
/***************************************************************************
|
||||
vafile.h
|
||||
----------
|
||||
begin : Sun Oct 26 2009
|
||||
copyright : (C) 2009 by Stefan Jahn
|
||||
email : stefa@lkcc.org
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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 VAFILE_H
|
||||
#define VAFILE_H
|
||||
|
||||
class VerilogA_File_Info {
|
||||
public:
|
||||
VerilogA_File_Info ();
|
||||
VerilogA_File_Info (QString, bool isfile = false);
|
||||
~VerilogA_File_Info () {};
|
||||
QString parsePorts (QString, int);
|
||||
|
||||
public:
|
||||
QString ModuleName;
|
||||
QString PortNames;
|
||||
};
|
||||
|
||||
#endif
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Automake input file.
|
||||
#
|
||||
# Copyright (C) 2004, 2006 Stefan Jahn <stefan@lkcc.org>
|
||||
# Copyright (C) 2004, 2006, 2009 Stefan Jahn <stefan@lkcc.org>
|
||||
#
|
||||
# This is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -27,16 +27,16 @@ noinst_LIBRARIES = libdialogs.a
|
||||
MOCHEADERS = settingsdialog.h simmessage.h qucssettingsdialog.h \
|
||||
labeldialog.h changedialog.h matchdialog.h digisettingsdialog.h \
|
||||
sweepdialog.h searchdialog.h librarydialog.h importdialog.h \
|
||||
packagedialog.h savedialog.h \
|
||||
packagedialog.h savedialog.h vasettingsdialog.h \
|
||||
vtabbutton.h vtabbar.h vtabwidget.h vtabbeddockwidget.h
|
||||
|
||||
MOCFILES = $(MOCHEADERS:.h=.moc.cpp)
|
||||
|
||||
libdialogs_a_SOURCES = settingsdialog.cpp newprojdialog.cpp \
|
||||
simmessage.cpp qucssettingsdialog.cpp labeldialog.cpp changedialog.cpp \
|
||||
simmessage.cpp qucssettingsdialog.cpp labeldialog.cpp changedialog.cpp \
|
||||
matchdialog.cpp sweepdialog.cpp digisettingsdialog.cpp searchdialog.cpp \
|
||||
librarydialog.cpp importdialog.cpp packagedialog.cpp \
|
||||
savedialog.cpp \
|
||||
savedialog.cpp vasettingsdialog.cpp \
|
||||
vtabbutton.cpp vtabbar.cpp vtabwidget.cpp vtabbeddockwidget.cpp
|
||||
|
||||
nodist_libdialogs_a_SOURCES = $(MOCFILES)
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# qucs/dialogs/libdialogs.ap - Autodsp input file.
|
||||
#
|
||||
# Copyright (C) 2005, 2006, 2007 Stefan Jahn <stefan@lkcc.org>
|
||||
# Copyright (C) 2005, 2006, 2007, 2009 Stefan Jahn <stefan@lkcc.org>
|
||||
#
|
||||
# This is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -29,14 +29,14 @@ SOURCES = savedialog.cpp settingsdialog.cpp newprojdialog.cpp \
|
||||
changedialog.cpp matchdialog.cpp sweepdialog.cpp \
|
||||
digisettingsdialog.cpp searchdialog.cpp librarydialog.cpp \
|
||||
importdialog.cpp packagedialog.cpp vtabbutton.cpp vtabbar.cpp \
|
||||
vtabwidget.cpp vtabbeddockwidget.cpp
|
||||
vtabwidget.cpp vtabbeddockwidget.cpp vasettingsdialog.cpp
|
||||
|
||||
# List of special Qt files.
|
||||
MOCHEADERS = savedialog.h settingsdialog.h simmessage.h \
|
||||
qucssettingsdialog.h labeldialog.h changedialog.h matchdialog.h \
|
||||
sweepdialog.h digisettingsdialog.h searchdialog.h librarydialog.h \
|
||||
importdialog.h packagedialog.h vtabbutton.h vtabbar.h vtabwidget.h \
|
||||
vtabbeddockwidget.h
|
||||
vtabbeddockwidget.h vasettingsdialog.h
|
||||
|
||||
# Additional libraries.
|
||||
LIBS =
|
||||
|
219
qucs/dialogs/vasettingsdialog.cpp
Normal file
219
qucs/dialogs/vasettingsdialog.cpp
Normal file
@ -0,0 +1,219 @@
|
||||
/***************************************************************************
|
||||
vasettingsdialog.cpp
|
||||
----------------------
|
||||
begin : Sun Oct 26 2009
|
||||
copyright : (C) 2009 by Stefan Jahn
|
||||
email : stefa@lkcc.org
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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 <qhbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlayout.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qvalidator.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <qbuttongroup.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qvgroupbox.h>
|
||||
#include <qstring.h>
|
||||
#include <qstringlist.h>
|
||||
#include <qbutton.h>
|
||||
#include <qtoolbutton.h>
|
||||
#include <qpixmap.h>
|
||||
#include <qimage.h>
|
||||
#include <qradiobutton.h>
|
||||
#include <qfileinfo.h>
|
||||
#include <qfiledialog.h>
|
||||
|
||||
#include "vasettingsdialog.h"
|
||||
#include "textdoc.h"
|
||||
#include "main.h"
|
||||
|
||||
|
||||
VASettingsDialog::VASettingsDialog (TextDoc * Doc_)
|
||||
: QDialog (Doc_, 0, true, Qt::WDestructiveClose)
|
||||
{
|
||||
Doc = Doc_;
|
||||
setCaption (tr("Document Settings"));
|
||||
|
||||
QString Module = Doc->getModuleName ();
|
||||
|
||||
Expr.setPattern("[0-9a-zA-Z /\\]+"); // valid expression for IconEdit
|
||||
Validator = new QRegExpValidator (Expr, this);
|
||||
|
||||
QGridLayout * box = new QGridLayout (this, 1, 1, 5);
|
||||
|
||||
QVGroupBox * setGroup = new QVGroupBox (tr("Code Creation Settings"), this);
|
||||
box->addWidget (setGroup, 0, 0);
|
||||
QWidget * f = new QWidget (setGroup);
|
||||
QGridLayout * all = new QGridLayout (f, 7, 5, 5);
|
||||
|
||||
if (Doc->Icon.isEmpty ())
|
||||
Doc->Icon = Module + ".png";
|
||||
|
||||
IconButt = new QLabel (f);
|
||||
IconButt->setPixmap (QPixmap (Doc->Icon));
|
||||
all->addWidget (IconButt, 0, 0);
|
||||
|
||||
IconEdit = new QLineEdit (f);
|
||||
IconEdit->setValidator (Validator);
|
||||
IconEdit->setText (Doc->Icon);
|
||||
IconEdit->setCursorPosition (0);
|
||||
all->addMultiCellWidget (IconEdit, 0, 0, 1, 3);
|
||||
|
||||
BrowseButt = new QPushButton (tr("Browse"), f);
|
||||
connect (BrowseButt, SIGNAL (clicked()), SLOT (slotBrowse()));
|
||||
all->addWidget (BrowseButt, 0, 4);
|
||||
|
||||
QLabel * l1 = new QLabel (tr("Output file:"), f);
|
||||
l1->setAlignment (Qt::AlignRight);
|
||||
all->addWidget (l1, 1, 0);
|
||||
OutputEdit = new QLineEdit (f);
|
||||
OutputEdit->setText (Module + ".cpp");
|
||||
all->addMultiCellWidget (OutputEdit, 1, 1, 1, 3);
|
||||
|
||||
RecreateCheck = new QCheckBox (tr("Recreate"), f);
|
||||
all->addWidget (RecreateCheck, 1, 4);
|
||||
RecreateCheck->setChecked (Doc->recreate);
|
||||
|
||||
if (Doc->ShortDesc.isEmpty ())
|
||||
Doc->ShortDesc = Module;
|
||||
|
||||
QLabel * l2 = new QLabel (tr("Icon description:"), f);
|
||||
l2->setAlignment (Qt::AlignRight);
|
||||
all->addWidget (l2, 2, 0);
|
||||
ShortDescEdit = new QLineEdit (f);
|
||||
ShortDescEdit->setText (Doc->ShortDesc);
|
||||
all->addMultiCellWidget (ShortDescEdit, 2, 2, 1, 4);
|
||||
|
||||
if (Doc->LongDesc.isEmpty ())
|
||||
Doc->LongDesc = Module + " verilog device";
|
||||
|
||||
QLabel * l3 = new QLabel (tr("Description:"), f);
|
||||
l3->setAlignment (Qt::AlignRight);
|
||||
all->addWidget (l3, 3, 0);
|
||||
LongDescEdit = new QLineEdit (f);
|
||||
LongDescEdit->setText (Doc->LongDesc);
|
||||
all->addMultiCellWidget (LongDescEdit, 3, 3, 1, 4);
|
||||
|
||||
toggleGroupDev = new QButtonGroup ();
|
||||
QRadioButton * nonRadio =
|
||||
new QRadioButton (tr("unspecified device"), f);
|
||||
QRadioButton * bjtRadio =
|
||||
new QRadioButton (tr("NPN/PNP polarity"), f);
|
||||
QRadioButton * mosRadio =
|
||||
new QRadioButton (tr("NMOS/PMOS polarity"), f);
|
||||
toggleGroupDev->insert (nonRadio, 0);
|
||||
toggleGroupDev->insert (bjtRadio, DEV_BJT);
|
||||
toggleGroupDev->insert (mosRadio, DEV_MOS);
|
||||
if (Doc->devtype & DEV_BJT)
|
||||
bjtRadio->setChecked (true);
|
||||
else if (Doc->devtype & DEV_MOS)
|
||||
mosRadio->setChecked (true);
|
||||
else
|
||||
nonRadio->setChecked (true);
|
||||
all->addMultiCellWidget (nonRadio, 4, 4, 0, 1);
|
||||
all->addWidget (bjtRadio, 4, 2);
|
||||
all->addMultiCellWidget (mosRadio, 4, 4, 3, 4);
|
||||
|
||||
toggleGroupTyp = new QButtonGroup ();
|
||||
QRadioButton * anaRadio =
|
||||
new QRadioButton (tr("analog only"), f);
|
||||
QRadioButton * digRadio =
|
||||
new QRadioButton (tr("digital only"), f);
|
||||
QRadioButton * allRadio =
|
||||
new QRadioButton (tr("both"), f);
|
||||
toggleGroupTyp->insert (digRadio, DEV_DIG);
|
||||
toggleGroupTyp->insert (anaRadio, DEV_ANA);
|
||||
toggleGroupTyp->insert (allRadio, DEV_ALL);
|
||||
if ((Doc->devtype & DEV_ALL) == DEV_ALL)
|
||||
allRadio->setChecked (true);
|
||||
else if (Doc->devtype & DEV_ANA)
|
||||
anaRadio->setChecked (true);
|
||||
else
|
||||
digRadio->setChecked (true);
|
||||
all->addMultiCellWidget (anaRadio, 5, 5, 0, 1);
|
||||
all->addWidget (allRadio, 5, 2);
|
||||
all->addMultiCellWidget (digRadio, 5, 5, 3, 4);
|
||||
|
||||
QHBox * Buttons = new QHBox (f);
|
||||
all->addMultiCellWidget (Buttons, 6, 6, 0, 4);
|
||||
QPushButton * ButtonOk = new QPushButton (tr("Ok"), Buttons);
|
||||
QPushButton * ButtonCancel = new QPushButton (tr("Cancel"), Buttons);
|
||||
connect (ButtonOk, SIGNAL(clicked()), SLOT(slotOk()));
|
||||
connect (ButtonCancel, SIGNAL(clicked()), SLOT(reject()));
|
||||
ButtonOk->setDefault(true);
|
||||
}
|
||||
|
||||
VASettingsDialog::~VASettingsDialog ()
|
||||
{
|
||||
delete Validator;
|
||||
}
|
||||
|
||||
void VASettingsDialog::slotOk ()
|
||||
{
|
||||
bool changed = false;
|
||||
|
||||
if (Doc->Icon != IconEdit->text ()) {
|
||||
Doc->Icon = IconEdit->text ();
|
||||
changed = true;
|
||||
}
|
||||
if (Doc->ShortDesc != ShortDescEdit->text ()) {
|
||||
Doc->ShortDesc = ShortDescEdit->text ();
|
||||
changed = true;
|
||||
}
|
||||
if (Doc->LongDesc != LongDescEdit->text ()) {
|
||||
Doc->LongDesc = LongDescEdit->text ();
|
||||
changed = true;
|
||||
}
|
||||
if (Doc->DataSet != OutputEdit->text ()) {
|
||||
Doc->DataSet = OutputEdit->text ();
|
||||
changed = true;
|
||||
}
|
||||
if (Doc->recreate != RecreateCheck->isChecked ()) {
|
||||
Doc->recreate = RecreateCheck->isChecked ();
|
||||
changed = true;
|
||||
}
|
||||
if ((Doc->devtype & DEV_MASK_TYP) != toggleGroupTyp->selectedId ()) {
|
||||
Doc->devtype &= ~DEV_MASK_TYP;
|
||||
Doc->devtype |= toggleGroupTyp->selectedId ();
|
||||
changed = true;
|
||||
}
|
||||
if ((Doc->devtype & DEV_MASK_DEV) != toggleGroupDev->selectedId ()) {
|
||||
Doc->devtype &= ~DEV_MASK_DEV;
|
||||
Doc->devtype |= toggleGroupDev->selectedId ();
|
||||
changed = true;
|
||||
}
|
||||
|
||||
if (changed) {
|
||||
Doc->SetChanged = true;
|
||||
Doc->slotSetChanged ();
|
||||
}
|
||||
accept ();
|
||||
}
|
||||
|
||||
void VASettingsDialog::slotBrowse ()
|
||||
{
|
||||
QString s = QFileDialog::getOpenFileName (
|
||||
lastDir.isEmpty () ? QString (".") : lastDir,
|
||||
tr("PNG files")+" (*.png);;"+
|
||||
tr("Any file")+" (*)",
|
||||
this, 0, tr("Enter an Icon File Name"));
|
||||
|
||||
if (!s.isEmpty ()) {
|
||||
QFileInfo Info (s);
|
||||
lastDir = Info.dirPath (true); // remember last directory
|
||||
IconEdit->setText (s);
|
||||
IconButt->setPixmap (QPixmap (s));
|
||||
}
|
||||
}
|
55
qucs/dialogs/vasettingsdialog.h
Normal file
55
qucs/dialogs/vasettingsdialog.h
Normal file
@ -0,0 +1,55 @@
|
||||
/***************************************************************************
|
||||
vasettingsdialog.h
|
||||
--------------------
|
||||
begin : Sun Oct 26 2009
|
||||
copyright : (C) 2009 by Stefan Jahn
|
||||
email : stefa@lkcc.org
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* 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 VASETTINGSDIALOG_H
|
||||
#define VASETTINGSDIALOG_H
|
||||
|
||||
#include <qdialog.h>
|
||||
#include <qregexp.h>
|
||||
|
||||
class TextDoc;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QRegExpValidator;
|
||||
class QLabel;
|
||||
class QCheckBox;
|
||||
class QButtonGroup;
|
||||
|
||||
class VASettingsDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
VASettingsDialog (TextDoc *);
|
||||
~VASettingsDialog ();
|
||||
|
||||
QLineEdit * IconEdit, * OutputEdit, * NameEdit, * ShortDescEdit,
|
||||
* LongDescEdit;
|
||||
QPushButton * BrowseButt;
|
||||
QLabel * IconButt;
|
||||
QCheckBox * RecreateCheck;
|
||||
QButtonGroup * toggleGroupDev, * toggleGroupTyp;
|
||||
|
||||
private slots:
|
||||
void slotOk ();
|
||||
void slotBrowse ();
|
||||
|
||||
private:
|
||||
TextDoc * Doc;
|
||||
QRegExp Expr;
|
||||
QRegExpValidator * Validator;
|
||||
};
|
||||
|
||||
#endif
|
@ -206,6 +206,18 @@ QString Arrow::save()
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
QString Arrow::saveCpp()
|
||||
{
|
||||
// arrow not allowed in symbols, thus we use line here
|
||||
QString s =
|
||||
QString ("new Line (%1, %2, %3, %4, QPen (QColor (\"%5\"), %6, %7))").
|
||||
arg(cx+x1).arg(cy+y1).arg(cx+x2).arg(cy+y2).
|
||||
arg(Pen.color().name()).arg(Pen.width()).arg(toPenString(Pen.style()));
|
||||
s = "Lines.append (" + s + ");";
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// Checks if the resize area was clicked.
|
||||
bool Arrow::resizeTouched(float fX, float fY, float len)
|
||||
|
@ -37,6 +37,7 @@ public:
|
||||
static Element* info(QString&, char* &, bool getNewOne=false);
|
||||
bool load(const QString&);
|
||||
QString save();
|
||||
QString saveCpp();
|
||||
void MouseMoving(QPainter*, int, int, int, int, QPainter*, int, int, bool);
|
||||
bool MousePressing();
|
||||
bool getSelected(float, float, float);
|
||||
|
@ -178,6 +178,22 @@ QString Ellipse::save()
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
QString Ellipse::saveCpp()
|
||||
{
|
||||
QString b = filled ?
|
||||
QString (", QBrush (QColor (\"%1\"), %2)").
|
||||
arg(Brush.color().name()).arg(toBrushString(Brush.style())) : "";
|
||||
QString s =
|
||||
QString ("new Area (%1, %2, %3, %4, "
|
||||
"QPen (QColor (\"%5\"), %6, %7)%8)").
|
||||
arg(cx).arg(cy).arg(x2).arg(y2).
|
||||
arg(Pen.color().name()).arg(Pen.width()).arg(toPenString(Pen.style())).
|
||||
arg(b);
|
||||
s = "Ellips.append (" + s + ");";
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// Checks if the resize area was clicked.
|
||||
bool Ellipse::resizeTouched(float fX, float fY, float len)
|
||||
|
@ -37,6 +37,7 @@ public:
|
||||
static Element* info_filled(QString&, char* &, bool getNewOne=false);
|
||||
bool load(const QString&);
|
||||
QString save();
|
||||
QString saveCpp();
|
||||
void paint(ViewPainter*);
|
||||
void MouseMoving(QPainter*, int, int, int, int, QPainter*, int, int, bool);
|
||||
bool MousePressing();
|
||||
|
@ -154,6 +154,18 @@ QString EllipseArc::save()
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
QString EllipseArc::saveCpp()
|
||||
{
|
||||
QString s =
|
||||
QString ("new Arc (%1, %2, %3, %4, %5, %6, "
|
||||
"QPen (QColor (\"%7\"), %8, %8))").
|
||||
arg(cx).arg(cy).arg(x2).arg(y2).arg(Angle).arg(ArcLen).
|
||||
arg(Pen.color().name()).arg(Pen.width()).arg(toPenString(Pen.style()));
|
||||
s = "Arcs.append (" + s + ");";
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// Checks if the resize area was clicked.
|
||||
bool EllipseArc::resizeTouched(float fX, float fY, float len)
|
||||
|
@ -36,6 +36,7 @@ public:
|
||||
static Element* info(QString&, char* &, bool getNewOne=false);
|
||||
bool load(const QString&);
|
||||
QString save();
|
||||
QString saveCpp();
|
||||
void paint(ViewPainter*);
|
||||
void MouseMoving(QPainter*, int, int, int, int, QPainter*, int, int, bool);
|
||||
bool MousePressing();
|
||||
|
@ -145,6 +145,17 @@ QString GraphicLine::save()
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
QString GraphicLine::saveCpp()
|
||||
{
|
||||
QString s =
|
||||
QString ("new Line (%1, %2, %3, %4, QPen (QColor (\"%5\"), %6, %7))").
|
||||
arg(cx+x1).arg(cy+y1).arg(cx+x2).arg(cy+y2).
|
||||
arg(Pen.color().name()).arg(Pen.width()).arg(toPenString(Pen.style()));
|
||||
s = "Lines.append (" + s + ");";
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// Checks if the resize area was clicked.
|
||||
bool GraphicLine::resizeTouched(float fX, float fY, float len)
|
||||
|
@ -35,6 +35,7 @@ public:
|
||||
static Element* info(QString&, char* &, bool getNewOne=false);
|
||||
bool load(const QString&);
|
||||
QString save();
|
||||
QString saveCpp();
|
||||
void paint(ViewPainter*);
|
||||
void MouseMoving(QPainter*, int, int, int, int, QPainter*, int, int, bool);
|
||||
bool MousePressing();
|
||||
|
@ -179,6 +179,21 @@ QString GraphicText::save()
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
QString GraphicText::saveCpp()
|
||||
{
|
||||
QString t = Text;
|
||||
convert2ASCII(t);
|
||||
|
||||
QString s =
|
||||
QString ("new Text (%1, %2, \"%3\", QColor (\"%4\"), %5, %6, %7)").
|
||||
arg(cx).arg(cy).arg(t).
|
||||
arg(Color.name()).arg(Font.pointSize()).
|
||||
arg(sin(M_PI * Angle / 180.0)).arg(cos(M_PI * Angle / 180.0));
|
||||
s = "Texts.append (" + s + ");";
|
||||
return s;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
// fx/fy are the precise coordinates, gx/gy are the coordinates set on grid.
|
||||
// x/y are coordinates without scaling.
|
||||
|
@ -34,6 +34,7 @@ public:
|
||||
static Element* info(QString&, char* &, bool getNewOne=false);
|
||||
bool load(const QString&);
|
||||
QString save();
|
||||
QString saveCpp();
|
||||
void paint(ViewPainter*);
|
||||
void MouseMoving(QPainter*, int, int, int, int, QPainter*, int, int, bool);
|
||||
bool MousePressing();
|
||||
|
@ -139,6 +139,15 @@ QString ID_Text::save()
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
QString ID_Text::saveCpp()
|
||||
{
|
||||
QString s =
|
||||
QString ("tx = %1; ty = %2;").
|
||||
arg(cx).arg(cy);
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// Checks if the coordinates x/y point to the painting.
|
||||
bool ID_Text::getSelected(float fX, float fY, float)
|
||||
|
@ -46,6 +46,7 @@ public:
|
||||
|
||||
bool load(const QString&);
|
||||
QString save();
|
||||
QString saveCpp();
|
||||
void paint(ViewPainter*);
|
||||
bool getSelected(float, float, float);
|
||||
|
||||
|
@ -38,3 +38,43 @@ QString Painting::save()
|
||||
{
|
||||
return QString();
|
||||
}
|
||||
|
||||
QString Painting::saveCpp()
|
||||
{
|
||||
return QString();
|
||||
}
|
||||
|
||||
QString Painting::toPenString (int pen) {
|
||||
switch (pen) {
|
||||
case Qt::NoPen: return "Qt::NoPen";
|
||||
case Qt::SolidLine: return "Qt::SolidLine";
|
||||
case Qt::DashLine: return "Qt::DashLine";
|
||||
case Qt::DotLine: return "Qt::DotLine";
|
||||
case Qt::DashDotLine: return "Qt::DashDotLine";
|
||||
case Qt::DashDotDotLine: return "Qt::DashDotDotLine";
|
||||
case Qt::MPenStyle: return "Qt::MPenStyle";
|
||||
}
|
||||
return "Qt::NoPen";
|
||||
}
|
||||
|
||||
QString Painting::toBrushString (int brush) {
|
||||
switch (brush) {
|
||||
case Qt::NoBrush: return "Qt::NoBrush";
|
||||
case Qt::SolidPattern: return "Qt::SolidPattern";
|
||||
case Qt::Dense1Pattern: return "Qt::Dense1Pattern";
|
||||
case Qt::Dense2Pattern: return "Qt::Dense2Pattern";
|
||||
case Qt::Dense3Pattern: return "Qt::Dense3Pattern";
|
||||
case Qt::Dense4Pattern: return "Qt::Dense4Pattern";
|
||||
case Qt::Dense5Pattern: return "Qt::Dense5Pattern";
|
||||
case Qt::Dense6Pattern: return "Qt::Dense6Pattern";
|
||||
case Qt::Dense7Pattern: return "Qt::Dense7Pattern";
|
||||
case Qt::HorPattern: return "Qt::HorPattern";
|
||||
case Qt::VerPattern: return "Qt::VerPattern";
|
||||
case Qt::CrossPattern: return "Qt::CrossPattern";
|
||||
case Qt::BDiagPattern: return "Qt::BDiagPattern";
|
||||
case Qt::FDiagPattern: return "Qt::FDiagPattern";
|
||||
case Qt::DiagCrossPattern: return "Qt::DiagCrossPattern";
|
||||
case Qt::CustomPattern : return "Qt::CustomPattern ";
|
||||
}
|
||||
return "Qt::NoBrush";
|
||||
}
|
||||
|
@ -35,6 +35,7 @@ public:
|
||||
virtual Painting* newOne();
|
||||
virtual bool load(const QString&) { return true; };
|
||||
virtual QString save();
|
||||
virtual QString saveCpp();
|
||||
virtual void paint(ViewPainter*) {};
|
||||
virtual void MouseMoving(QPainter*, int, int, int, int,
|
||||
QPainter*, int, int, bool) {};
|
||||
@ -48,6 +49,8 @@ public:
|
||||
virtual void mirrorY() {};
|
||||
virtual bool Dialog() { return false; };
|
||||
|
||||
QString toPenString (int);
|
||||
QString toBrushString (int);
|
||||
QString Name; // name of painting, e.g. for saving
|
||||
int State; // state for different mouse operations
|
||||
};
|
||||
|
@ -158,6 +158,16 @@ QString PortSymbol::save()
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
QString PortSymbol::saveCpp()
|
||||
{
|
||||
QString s =
|
||||
QString ("new Port (%1, %2)").
|
||||
arg(cx).arg(cy);
|
||||
s = "Ports.append (" + s + "); /* " + nameStr + " */";
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// Checks if the coordinates x/y point to the painting.
|
||||
bool PortSymbol::getSelected(float fX, float fY, float)
|
||||
|
@ -33,6 +33,7 @@ public:
|
||||
|
||||
bool load(const QString&);
|
||||
QString save();
|
||||
QString saveCpp();
|
||||
void paint(ViewPainter*);
|
||||
bool getSelected(float, float, float);
|
||||
void Bounding(int&, int&, int&, int&);
|
||||
|
@ -177,6 +177,22 @@ QString Rectangle::save()
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
QString Rectangle::saveCpp()
|
||||
{
|
||||
QString b = filled ?
|
||||
QString (", QBrush (QColor (\"%1\"), %2)").
|
||||
arg(Brush.color().name()).arg(toBrushString(Brush.style())) : "";
|
||||
QString s =
|
||||
QString ("new Area (%1, %2, %3, %4, "
|
||||
"QPen (QColor (\"%5\"), %6, %7)%8)").
|
||||
arg(cx).arg(cy).arg(x2).arg(y2).
|
||||
arg(Pen.color().name()).arg(Pen.width()).arg(toPenString(Pen.style())).
|
||||
arg(b);
|
||||
s = "Rects.append (" + s + ");";
|
||||
return s;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// Checks if the resize area was clicked.
|
||||
bool Rectangle::resizeTouched(float fX, float fY, float len)
|
||||
|
@ -37,6 +37,7 @@ public:
|
||||
static Element* info_filled(QString&, char* &, bool getNewOne=false);
|
||||
bool load(const QString&);
|
||||
QString save();
|
||||
QString saveCpp();
|
||||
void paint(ViewPainter*);
|
||||
void MouseMoving(QPainter*, int, int, int, int, QPainter*, int, int, bool);
|
||||
bool MousePressing();
|
||||
|
@ -56,11 +56,13 @@
|
||||
#include <qlineedit.h>
|
||||
#include <qstringlist.h>
|
||||
#include <qdragobject.h>
|
||||
#include <qsyntaxhighlighter.h>
|
||||
|
||||
#include "main.h"
|
||||
#include "qucs.h"
|
||||
#include "qucsdoc.h"
|
||||
#include "textdoc.h"
|
||||
#include "syntax.h"
|
||||
#include "schematic.h"
|
||||
#include "mouseactions.h"
|
||||
#include "wire.h"
|
||||
@ -71,6 +73,7 @@
|
||||
#include "dialogs/newprojdialog.h"
|
||||
#include "dialogs/settingsdialog.h"
|
||||
#include "dialogs/digisettingsdialog.h"
|
||||
#include "dialogs/vasettingsdialog.h"
|
||||
#include "dialogs/qucssettingsdialog.h"
|
||||
#include "dialogs/searchdialog.h"
|
||||
#include "dialogs/sweepdialog.h"
|
||||
@ -661,7 +664,7 @@ void QucsApp::slotCMenuDelGroup ()
|
||||
// search, if files are open
|
||||
if (findDoc (Name)) {
|
||||
QMessageBox::critical(this, tr("Error"),
|
||||
tr("Cannot delete the open file `%1'!").arg(Short));
|
||||
tr("Cannot delete the open file \"%1\"!").arg(Short));
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -691,7 +694,7 @@ void QucsApp::slotCMenuDelGroup ()
|
||||
// remove files
|
||||
if (!QFile::remove (Name)) {
|
||||
QMessageBox::critical(this, tr("Error"),
|
||||
tr("Cannot delete %1: `%2'!").arg(fileType (extensions[i])).
|
||||
tr("Cannot delete %1: \"%2\"!").arg(fileType (extensions[i])).
|
||||
arg(Short));
|
||||
continue;
|
||||
}
|
||||
@ -1427,18 +1430,28 @@ void QucsApp::slotNextTab()
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------
|
||||
void QucsApp::slotFileSettings()
|
||||
void QucsApp::slotFileSettings ()
|
||||
{
|
||||
editText->setHidden(true); // disable text edit of component property
|
||||
editText->setHidden (true); // disable text edit of component property
|
||||
|
||||
QWidget *w = DocumentTab->currentPage();
|
||||
if(isTextDocument (w)) {
|
||||
DigiSettingsDialog *d = new DigiSettingsDialog((TextDoc*)w);
|
||||
d->exec();
|
||||
QWidget * w = DocumentTab->currentPage ();
|
||||
if (isTextDocument (w)) {
|
||||
QucsDoc * Doc = (QucsDoc *) ((TextDoc *) w);
|
||||
// Verilog-A properties
|
||||
if (Doc->fileSuffix () == "va") {
|
||||
VASettingsDialog * d = new VASettingsDialog ((TextDoc *) w);
|
||||
d->exec ();
|
||||
}
|
||||
// VHDL and Verilog-HDL properties
|
||||
else {
|
||||
DigiSettingsDialog * d = new DigiSettingsDialog ((TextDoc *) w);
|
||||
d->exec ();
|
||||
}
|
||||
}
|
||||
// schematic properties
|
||||
else {
|
||||
SettingsDialog *d = new SettingsDialog((Schematic*)w);
|
||||
d->exec();
|
||||
SettingsDialog * d = new SettingsDialog ((Schematic *) w);
|
||||
d->exec ();
|
||||
}
|
||||
view->drawn = false;
|
||||
}
|
||||
@ -1720,7 +1733,7 @@ void QucsApp::slotSimulate()
|
||||
if(Doc->SimTime.isEmpty() && ((TextDoc*)Doc)->simulation) {
|
||||
DigiSettingsDialog *d = new DigiSettingsDialog((TextDoc*)Doc);
|
||||
if(d->exec() == QDialog::Rejected)
|
||||
return;
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
123
qucs/qucs_ar.ts
123
qucs/qucs_ar.ts
@ -6860,6 +6860,10 @@ qucsedit [-r] file :إستعمال
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsApp</name>
|
||||
@ -8967,18 +8971,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -8991,6 +8987,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -10671,4 +10675,107 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">ضبط وثائق</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Digital Simulation Settings</source>
|
||||
<translation type="obsolete">المحاكاة الرقمية إعدادات</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">المحاكاة </translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">مدة المحاكاة :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Precompile Module</source>
|
||||
<translation type="obsolete">Precompile نميطة</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">مكتبة الاسم :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Libraries:</source>
|
||||
<translation type="obsolete">مكتبات :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">موافق</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">إلغاء</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">خطأ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">تصفح</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished">وصف:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
111
qucs/qucs_ca.ts
111
qucs/qucs_ca.ts
@ -7104,6 +7104,10 @@ Use: qucsedit [-r] fitxer
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -9657,18 +9661,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -9681,6 +9677,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -12830,4 +12834,95 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Propietats del document</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Simulació</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">Durada de la Simulació:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">Nom de la Biblioteca:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">Acceptar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">Cancel·lar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Examinar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
107
qucs/qucs_cs.ts
107
qucs/qucs_cs.ts
@ -7326,6 +7326,10 @@ Použití: qucsedit [-r] soubor
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -10060,18 +10064,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -10084,6 +10080,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -14933,4 +14937,91 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Nastavení dokumentu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Simulace</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">Doba trvání simulace:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">Jméno knihovny:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">Ok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished">Popis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
123
qucs/qucs_de.ts
123
qucs/qucs_de.ts
@ -7382,6 +7382,10 @@ Verwendung: qucsedit [-r] Datei
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -10122,18 +10126,10 @@ Konvertiert Datendatei in verschiedene Datenformate</translation>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -10146,6 +10142,14 @@ Konvertiert Datendatei in verschiedene Datenformate</translation>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -15020,4 +15024,107 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Dokumenteneinstellungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Digital Simulation Settings</source>
|
||||
<translation type="obsolete">Einstellungen für die Digitalsimulation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Simulation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">Zeitdauer der Simulation:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Precompile Module</source>
|
||||
<translation type="obsolete">Modul vorkompilieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">Bibliotheksname:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Libraries:</source>
|
||||
<translation type="obsolete">Bibliotheken:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">Ok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">Abbrechen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Durchsuchen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished">Beschreibung:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished">Alle Dateien</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
123
qucs/qucs_es.ts
123
qucs/qucs_es.ts
@ -7128,6 +7128,10 @@ Use: qucsedit [-r] archivo
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -9689,18 +9693,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -9713,6 +9709,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -12866,4 +12870,107 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Propiedades del documento</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Digital Simulation Settings</source>
|
||||
<translation type="obsolete">Ajustes de la simulación digital</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Simulación</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">Duración de la Simulación:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Precompile Module</source>
|
||||
<translation type="obsolete">Módulo a precompilar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">Nombre de la Biblioteca:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Libraries:</source>
|
||||
<translation type="obsolete">Librerías:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">Aceptar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">Cancelar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Examinar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished">Descripción:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
111
qucs/qucs_fr.ts
111
qucs/qucs_fr.ts
@ -7132,6 +7132,10 @@ Invocation : qucsedit [-r] fichier
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -9753,18 +9757,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -9777,6 +9773,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -13080,4 +13084,95 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Simulation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">Durée de la simulation:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">Nom de la bibliothèque :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">Ok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Erreur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Choisir</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished">Description :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
103
qucs/qucs_he.ts
103
qucs/qucs_he.ts
@ -6959,6 +6959,10 @@ Usage: qucsedit [-r] file
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -9386,18 +9390,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -9410,6 +9406,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -12344,4 +12348,87 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">הגדרות מסמך</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">סימולציה</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">אשר</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">בטל</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">שגיאה</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">סייר</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
111
qucs/qucs_hu.ts
111
qucs/qucs_hu.ts
@ -7102,6 +7102,10 @@ Digitális szimuláció</translation>
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -9743,18 +9747,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -9767,6 +9763,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -12996,4 +13000,95 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Dokumentum tulajdonságai</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Szimuláció</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">A szimuláció időtartama:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">Alkatrész katalógus neve:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">Ok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">Mégsem</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Hiba</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Kiválasztás</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished">Leírás:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
111
qucs/qucs_it.ts
111
qucs/qucs_it.ts
@ -7277,6 +7277,10 @@ Usage: qucsedit [-r] file
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -10111,18 +10115,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -10135,6 +10131,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -13451,4 +13455,95 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Impostazioni Documento</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Simulazione</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">Durata della Simulazione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">Nome Libreria:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">Ok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Errore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Sfoglia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished">Descrizione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
123
qucs/qucs_jp.ts
123
qucs/qucs_jp.ts
@ -7058,6 +7058,10 @@ Usage: qucsedit [-r] file
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -9592,18 +9596,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -9616,6 +9612,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -12704,4 +12708,107 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">ドキュメント セッティング</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Digital Simulation Settings</source>
|
||||
<translation type="obsolete">ディジタルシミュレーション設定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">シミュレーション</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">シミュレーション時間:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Precompile Module</source>
|
||||
<translation type="obsolete">モジュールをプリコンパイル</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">ライブラリ名:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Libraries:</source>
|
||||
<translation type="obsolete">ライブラリ:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">OK</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">キャンセル</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">エラー</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">参照</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished">説明:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished">その他ファイル</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
123
qucs/qucs_kk.ts
123
qucs/qucs_kk.ts
@ -6810,6 +6810,10 @@ Usage: qucsedit [-r] file
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsApp</name>
|
||||
@ -8903,18 +8907,10 @@ Trolltech Qt жайлы</translation>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -8927,6 +8923,14 @@ Trolltech Qt жайлы</translation>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -10598,4 +10602,107 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Құжат реттемесі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Digital Simulation Settings</source>
|
||||
<translation type="obsolete">Цифрлық моделдеу реттемесі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Моделдеу</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">Моделдеу ұзақтығы:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Precompile Module</source>
|
||||
<translation type="obsolete">Компиляциялық модуль</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">Кітапхана аты:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Libraries:</source>
|
||||
<translation type="obsolete">Кітапханалар:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">ИЯ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Қате</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Көріп шығу</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished">Бейнелеу:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished">Басқа файлдар</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
111
qucs/qucs_pl.ts
111
qucs/qucs_pl.ts
@ -7164,6 +7164,10 @@ Stosowanie: qucsedit [-r] plik
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -9740,18 +9744,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -9764,6 +9760,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -12892,4 +12896,95 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Ustawienia dokumentu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Symulacja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">Czas trwania symulacji:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">Nazwa biblioteki:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">OK</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">Porzuć</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Błąd</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Pokaż</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished">Opis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
@ -6970,6 +6970,10 @@ Usage: qucsedit [-r] file
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsApp</name>
|
||||
@ -8876,18 +8880,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -8900,6 +8896,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -10568,4 +10572,83 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Configurações do Documento</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">Ok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">Cancelar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Erro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Procurar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
103
qucs/qucs_ro.ts
103
qucs/qucs_ro.ts
@ -7043,6 +7043,10 @@ Folosire: qucsedit [-r] file
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -9476,18 +9480,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -9500,6 +9496,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -12448,4 +12452,87 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Setările Documentului</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Simulare</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">Revocare</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Eroare</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Căutare</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
123
qucs/qucs_ru.ts
123
qucs/qucs_ru.ts
@ -7373,6 +7373,10 @@ Usage: qucsedit [-r] file
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -10103,18 +10107,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -10127,6 +10123,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -14991,4 +14995,107 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Настройки документа</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Digital Simulation Settings</source>
|
||||
<translation type="obsolete">Настройки цифрового моделирования</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Моделирование</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">Продолжительность моделирования:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Precompile Module</source>
|
||||
<translation type="obsolete">Предкомпиляция модуля</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">Имя библиотеки:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Libraries:</source>
|
||||
<translation type="obsolete">Библиотеки:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">Ok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">Отменить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Ошибка</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Просмотр</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished">Описание:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished">Любой файл</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
107
qucs/qucs_sv.ts
107
qucs/qucs_sv.ts
@ -6924,6 +6924,10 @@ Usage: qucsedit [-r] file
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -9356,18 +9360,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -9380,6 +9376,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -12549,4 +12553,91 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Dokumentsinställningar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Simulering</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">Simuleringslängd:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">Ok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">Avbryt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Fel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Bläddra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
111
qucs/qucs_tr.ts
111
qucs/qucs_tr.ts
@ -6967,6 +6967,10 @@ Kullanım: qucsedit [-r] kütük
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsActions</name>
|
||||
@ -9442,18 +9446,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -9466,6 +9462,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -12621,4 +12625,95 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Belge Ayarları</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Benzetim</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">Benzetim Süresi:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">Kütüphane Adı:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">Tamam</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Hata</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Gözat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished">Açıklama:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
111
qucs/qucs_uk.ts
111
qucs/qucs_uk.ts
@ -6962,6 +6962,10 @@ Usage: qucsedit [-r] file
|
||||
<source>gate-drain overlap depletion threshold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot save C++ file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsApp</name>
|
||||
@ -9563,18 +9567,10 @@ Convert data file to various file formats</source>
|
||||
<source>configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file `%1'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>This will delete the files%1permanently! Continue ?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: `%2'!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Verilog-A Sources</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -9587,6 +9583,14 @@ Convert data file to various file formats</source>
|
||||
<source>Verilog-A source</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete the open file "%1"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cannot delete %1: "%2"!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QucsAttenuator</name>
|
||||
@ -11393,4 +11397,95 @@ Inserts the skeleton of a Verilog module</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VASettingsDialog</name>
|
||||
<message>
|
||||
<source>Document Settings</source>
|
||||
<translation type="unfinished">Налаштування документа</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Simulation</source>
|
||||
<translation type="obsolete">Моделювання</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Duration of Simulation:</source>
|
||||
<translation type="obsolete">Тривалість моделювання:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Library Name:</source>
|
||||
<translation type="obsolete">Ім'я бібліотеки:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ok</source>
|
||||
<translation type="unfinished">Гаразд</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">Скасувати</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="obsolete">Помилка</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code Creation Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse</source>
|
||||
<translation type="unfinished">Перегляд</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Output file:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Recreate</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Icon description:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Description:</source>
|
||||
<translation type="unfinished">Опис:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unspecified device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NPN/PNP polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NMOS/PMOS polarity</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>analog only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>digital only</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>both</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PNG files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Any file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enter an Icon File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
@ -46,6 +46,7 @@
|
||||
#include "paintings/paintings.h"
|
||||
#include "components/vhdlfile.h"
|
||||
#include "components/verilogfile.h"
|
||||
#include "components/vafile.h"
|
||||
|
||||
// just dummies for empty lists
|
||||
QPtrList<Wire> SymbolWires;
|
||||
@ -1371,6 +1372,51 @@ int Schematic::adjustPortNumbers()
|
||||
}
|
||||
}
|
||||
}
|
||||
// handle Verilog-A file symbol
|
||||
else if (Suffix == "va") {
|
||||
|
||||
QStringList::iterator it;
|
||||
QStringList Names;
|
||||
int Number;
|
||||
|
||||
// get ports from Verilog-A file
|
||||
QFileInfo Info (DocName);
|
||||
QString Name = Info.dirPath() + QDir::separator() + DataDisplay;
|
||||
|
||||
// obtain Verilog-A information either from open text document or the
|
||||
// file directly
|
||||
VerilogA_File_Info VInfo;
|
||||
TextDoc * d = (TextDoc*)App->findDoc (Name);
|
||||
if (d)
|
||||
VInfo = VerilogA_File_Info (d->text());
|
||||
else
|
||||
VInfo = VerilogA_File_Info (Name, true);
|
||||
Names = QStringList::split(",",VInfo.PortNames);
|
||||
|
||||
for(pp = SymbolPaints.first(); pp!=0; pp = SymbolPaints.next())
|
||||
if(pp->Name == ".ID ") {
|
||||
ID_Text * id = (ID_Text *) pp;
|
||||
id->Prefix = VInfo.ModuleName.upper();
|
||||
id->Parameter.clear();
|
||||
}
|
||||
|
||||
for(Number = 1, it = Names.begin(); it != Names.end(); ++it, Number++) {
|
||||
countPort++;
|
||||
|
||||
Str = QString::number(Number);
|
||||
// search for matching port symbol
|
||||
for(pp = SymbolPaints.first(); pp!=0; pp = SymbolPaints.next())
|
||||
if(pp->Name == ".PortSym ")
|
||||
if(((PortSymbol*)pp)->numberStr == Str) break;
|
||||
|
||||
if(pp)
|
||||
((PortSymbol*)pp)->nameStr = *it;
|
||||
else {
|
||||
SymbolPaints.append(new PortSymbol(x1, y2, Str, *it));
|
||||
y2 += 40;
|
||||
}
|
||||
}
|
||||
}
|
||||
// handle schematic symbol
|
||||
else {
|
||||
// go through all components in a schematic
|
||||
|
@ -88,6 +88,7 @@ public:
|
||||
bool paste(QTextStream*, QPtrList<Element>*);
|
||||
bool load();
|
||||
int save();
|
||||
int saveSymbolCpp (void);
|
||||
void becomeCurrent(bool);
|
||||
bool undo();
|
||||
bool redo();
|
||||
|
@ -180,6 +180,68 @@ bool Schematic::pasteFromClipboard(QTextStream *stream, QPtrList<Element> *pe)
|
||||
return true;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------
|
||||
int Schematic::saveSymbolCpp (void)
|
||||
{
|
||||
QFileInfo info (DocName);
|
||||
QString cppfile = info.dirPath () + QDir::separator() + DataSet;
|
||||
QFile file (cppfile);
|
||||
|
||||
if (!file.open (IO_WriteOnly)) {
|
||||
QMessageBox::critical (0, QObject::tr("Error"),
|
||||
QObject::tr("Cannot save C++ file \"%1\"!").arg(cppfile));
|
||||
return -1;
|
||||
}
|
||||
|
||||
QTextStream stream (&file);
|
||||
|
||||
// automatically compute boundings of drawing
|
||||
int xmin = INT_MAX;
|
||||
int ymin = INT_MAX;
|
||||
int xmax = INT_MIN;
|
||||
int ymax = INT_MIN;
|
||||
int x1, y1, x2, y2;
|
||||
int maxNum = 0;
|
||||
Painting * pp;
|
||||
|
||||
stream << " // symbol drawing code\n";
|
||||
for (pp = SymbolPaints.first (); pp != 0; pp = SymbolPaints.next ()) {
|
||||
if (pp->Name == ".ID ") continue;
|
||||
pp->Bounding (x1, y1, x2, y2);
|
||||
if (x1 < xmin) xmin = x1;
|
||||
if (x2 > xmax) xmax = x2;
|
||||
if (y1 < ymin) ymin = y1;
|
||||
if (y2 > ymax) ymax = y2;
|
||||
if (pp->Name == ".PortSym ") {
|
||||
if (((PortSymbol*)pp)->numberStr.toInt() > maxNum)
|
||||
maxNum = ((PortSymbol*)pp)->numberStr.toInt();
|
||||
continue;
|
||||
}
|
||||
stream << " " << pp->saveCpp () << "\n";
|
||||
}
|
||||
|
||||
stream << "\n // terminal definitions\n";
|
||||
for (int i = 1; i <= maxNum; i++) {
|
||||
for (pp = SymbolPaints.first (); pp != 0; pp = SymbolPaints.next ()) {
|
||||
if (pp->Name == ".PortSym ")
|
||||
if (((PortSymbol*)pp)->numberStr.toInt() == i)
|
||||
stream << " " << pp->saveCpp () << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
stream << "\n // symbol boundings\n"
|
||||
<< " x1 = " << xmin << "; " << " y1 = " << ymin << ";\n"
|
||||
<< " x2 = " << xmax << "; " << " y2 = " << ymax << ";\n";
|
||||
|
||||
stream << "\n // property text position\n";
|
||||
for (pp = SymbolPaints.first (); pp != 0; pp = SymbolPaints.next ())
|
||||
if (pp->Name == ".ID ")
|
||||
stream << " " << pp->saveCpp () << "\n";
|
||||
|
||||
file.close ();
|
||||
return 0;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------
|
||||
// Returns the number of subcircuit ports.
|
||||
int Schematic::saveDocument()
|
||||
@ -255,6 +317,15 @@ int Schematic::saveDocument()
|
||||
stream << "</Paintings>\n";
|
||||
|
||||
file.close();
|
||||
|
||||
// additionally save symbol C++ code if in a symbol drawing and the
|
||||
// associated file is a Verilog-A file
|
||||
if (fileSuffix () == "sym") {
|
||||
if (fileSuffix (DataDisplay) == "va") {
|
||||
saveSymbolCpp ();
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -35,6 +35,9 @@
|
||||
#include "qucs.h"
|
||||
#include "textdoc.h"
|
||||
#include "syntax.h"
|
||||
#include "components/vhdlfile.h"
|
||||
#include "components/verilogfile.h"
|
||||
#include "components/vafile.h"
|
||||
|
||||
TextDoc::TextDoc(QucsApp *App_, const QString& Name_) : QucsDoc(App_, Name_)
|
||||
{
|
||||
@ -49,6 +52,7 @@ TextDoc::TextDoc(QucsApp *App_, const QString& Name_) : QucsDoc(App_, Name_)
|
||||
Library = "";
|
||||
Libraries = "";
|
||||
SetChanged = false;
|
||||
devtype = DEV_DEF;
|
||||
|
||||
tmpPosX = tmpPosY = 1; // set to 1 to trigger line highlighting
|
||||
Scale = (float)TextFont.pointSize();
|
||||
@ -107,54 +111,68 @@ void TextDoc::setLanguage (int lang)
|
||||
}
|
||||
|
||||
// ---------------------------------------------------
|
||||
bool TextDoc::saveSettings(void)
|
||||
bool TextDoc::saveSettings (void)
|
||||
{
|
||||
QFile file(DocName + ".cfg");
|
||||
if(!file.open(IO_WriteOnly))
|
||||
QFile file (DocName + ".cfg");
|
||||
if (!file.open (IO_WriteOnly))
|
||||
return false;
|
||||
|
||||
QTextStream stream(&file);
|
||||
|
||||
stream << "VHDL settings file, Qucs " PACKAGE_VERSION "\n"
|
||||
QTextStream stream (&file);
|
||||
stream << "Textfile settings file, Qucs " PACKAGE_VERSION "\n"
|
||||
<< "Simulation=" << simulation << "\n"
|
||||
<< "Duration=" << SimTime << "\n"
|
||||
<< "Module=" << (!simulation) << "\n"
|
||||
<< "Library=" << Library << "\n"
|
||||
<< "Libraries=" << Libraries << "\n";
|
||||
<< "Libraries=" << Libraries << "\n"
|
||||
<< "ShortDesc=" << ShortDesc << "\n"
|
||||
<< "LongDesc=" << LongDesc << "\n"
|
||||
<< "Icon=" << Icon << "\n"
|
||||
<< "Recreate=" << recreate << "\n"
|
||||
<< "DeviceType=" << devtype << "\n";
|
||||
|
||||
file.close();
|
||||
file.close ();
|
||||
SetChanged = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------
|
||||
bool TextDoc::loadSettings(void)
|
||||
bool TextDoc::loadSettings (void)
|
||||
{
|
||||
QFile file(DocName + ".cfg");
|
||||
if(!file.open(IO_ReadOnly))
|
||||
QFile file (DocName + ".cfg");
|
||||
if (!file.open (IO_ReadOnly))
|
||||
return false;
|
||||
|
||||
QTextStream stream(&file);
|
||||
QTextStream stream (&file);
|
||||
QString Line, Setting;
|
||||
|
||||
bool ok;
|
||||
while(!stream.atEnd()) {
|
||||
Line = stream.readLine();
|
||||
Setting = Line.section('=',0,0);
|
||||
Line = Line.section('=',1).stripWhiteSpace();
|
||||
if(Setting == "Simulation") {
|
||||
simulation = Line.toInt(&ok);
|
||||
} else if(Setting == "Duration") {
|
||||
while (!stream.atEnd ()) {
|
||||
Line = stream.readLine ();
|
||||
Setting = Line.section ('=', 0, 0);
|
||||
Line = Line.section ('=', 1).stripWhiteSpace ();
|
||||
if (Setting == "Simulation") {
|
||||
simulation = Line.toInt (&ok);
|
||||
} else if (Setting == "Duration") {
|
||||
SimTime = Line;
|
||||
} else if(Setting == "Module") {
|
||||
} else if(Setting == "Library") {
|
||||
} else if (Setting == "Module") {
|
||||
} else if (Setting == "Library") {
|
||||
Library = Line;
|
||||
} else if(Setting == "Libraries") {
|
||||
} else if (Setting == "Libraries") {
|
||||
Libraries = Line;
|
||||
} else if (Setting == "ShortDesc") {
|
||||
ShortDesc = Line;
|
||||
} else if (Setting == "LongDesc") {
|
||||
LongDesc = Line;
|
||||
} else if (Setting == "Icon") {
|
||||
Icon = Line;
|
||||
} else if (Setting == "Recreate") {
|
||||
recreate = Line.toInt (&ok);
|
||||
} else if (Setting == "DeviceType") {
|
||||
devtype = Line.toInt (&ok);
|
||||
}
|
||||
}
|
||||
|
||||
file.close();
|
||||
file.close ();
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -430,3 +448,27 @@ void TextDoc::insertSkeleton ()
|
||||
insert ("module ( );\ninput ;\noutput ;\nbegin\n\nend\n"
|
||||
"endmodule\n\n");
|
||||
}
|
||||
|
||||
// ---------------------------------------------------
|
||||
QString TextDoc::getModuleName (void)
|
||||
{
|
||||
switch (language) {
|
||||
case LANG_VHDL:
|
||||
{
|
||||
VHDL_File_Info VInfo (text ());
|
||||
return VInfo.EntityName;
|
||||
}
|
||||
case LANG_VERILOG:
|
||||
{
|
||||
Verilog_File_Info VInfo (text ());
|
||||
return VInfo.ModuleName;
|
||||
}
|
||||
case LANG_VERILOGA:
|
||||
{
|
||||
VerilogA_File_Info VInfo (text ());
|
||||
return VInfo.ModuleName;
|
||||
}
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
@ -28,46 +28,62 @@ class SyntaxHighlighter;
|
||||
extern const char *smallsave_xpm[];// icon for unsaved files (diskette)
|
||||
extern const char *empty_xpm[]; // provides same height than "smallsave_xpm"
|
||||
|
||||
// device type flags
|
||||
#define DEV_BJT 0x0001
|
||||
#define DEV_MOS 0x0002
|
||||
#define DEV_MASK_DEV 0x00FF
|
||||
#define DEV_DIG 0x0100
|
||||
#define DEV_ANA 0x0200
|
||||
#define DEV_ALL 0x0300
|
||||
#define DEV_MASK_TYP 0xFF00
|
||||
#define DEV_DEF 0x0200 // default value
|
||||
|
||||
class TextDoc : public QTextEdit, public QucsDoc {
|
||||
Q_OBJECT
|
||||
public:
|
||||
TextDoc(QucsApp*, const QString&);
|
||||
~TextDoc();
|
||||
TextDoc (QucsApp *, const QString&);
|
||||
~TextDoc ();
|
||||
|
||||
void setName(const QString&);
|
||||
bool load();
|
||||
int save();
|
||||
void print(QPrinter*, QPainter*, bool, bool);
|
||||
float zoomBy(float);
|
||||
void showAll();
|
||||
void showNoZoom();
|
||||
void becomeCurrent(bool);
|
||||
bool loadSimulationTime(QString&);
|
||||
void setName (const QString&);
|
||||
bool load ();
|
||||
int save ();
|
||||
void print (QPrinter*, QPainter*, bool, bool);
|
||||
float zoomBy (float);
|
||||
void showAll ();
|
||||
void showNoZoom ();
|
||||
void becomeCurrent (bool);
|
||||
bool loadSimulationTime (QString&);
|
||||
void commentSelected ();
|
||||
void insertSkeleton ();
|
||||
void setLanguage (int);
|
||||
void setLanguage (const QString&);
|
||||
QString getModuleName (void);
|
||||
|
||||
QFont TextFont;
|
||||
|
||||
bool simulation; // simulation or module
|
||||
QString Library; // library this document belongs to
|
||||
QString Libraries; // libraries to be linked with
|
||||
QString ShortDesc; // icon description
|
||||
QString LongDesc; // component description
|
||||
QString Icon; // icon file
|
||||
bool recreate; // recreate output file
|
||||
int devtype; // device type
|
||||
|
||||
bool SetChanged;
|
||||
int language;
|
||||
|
||||
bool loadSettings(void);
|
||||
bool saveSettings(void);
|
||||
bool loadSettings (void);
|
||||
bool saveSettings (void);
|
||||
|
||||
QPopupMenu *createPopupMenu( const QPoint & );
|
||||
QPopupMenu * createPopupMenu (const QPoint&);
|
||||
|
||||
public slots:
|
||||
void slotCursorPosChanged(int, int);
|
||||
void slotSetChanged();
|
||||
void slotCursorPosChanged (int, int);
|
||||
void slotSetChanged ();
|
||||
|
||||
private:
|
||||
int language;
|
||||
SyntaxHighlighter *syntaxHighlight;
|
||||
SyntaxHighlighter * syntaxHighlight;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user