2006-08-26 Stefan Jahn <stefan@lkcc.org>

* qucsdigi.bat: Closing stdin when running the simulator.

        * qtgeneric_tr.ts, qucs_tr.ts: Updated Turkish translations.
        Thanks to Ozgur.

        * Makefile.am (bin_SCRIPTS): Care about the host system when
        installing the qucsdigi script.

2006-08-26  Stefan Jahn  <stefan@lkcc.org>

        * qucshelp.cpp (setupActions): Made some more user visible
        strings translatable.  Renamed the "Sidebar" into "Table of
        Contents".
This commit is contained in:
raimi 2006-08-28 08:15:45 +00:00
parent 52d2630e08
commit d984410d9c
25 changed files with 908 additions and 315 deletions

3
NEWS
View File

@ -26,11 +26,12 @@ files.
Version 0.0.10
--------------
* optimization dialog for ASCO added, creating config files
* added an attenuator synthesis application
* many, many small bug fixes and improvements
* support for nine-valued VHDL logic
* support for user libraries created from subcircuits
* import of Touchstone, CITI and VCD data files
* import of Touchstone, CITI, VCD and MDL data files
* export data to CSV files
* creation of project package file for data exchange
* schematic frame as document property

4
TODO
View File

@ -23,6 +23,10 @@ unfixed) have a look at the file BUGS.
(completed tasks are indented one tab)
- simulation messages are sometimes swallowed by the output parser due
to the concept how the progress bar is extracted, fix this
- check if -fno-rtti can be used
- in order to abort the qucsdigi script use tryTerminate, then kill
- add an export to csv file feature as context menu item when
clicking on graphs in diagrams
- add an easy to use volt-meter (for differential voltages)

View File

@ -52,6 +52,7 @@ case $host_os in
*mingw*) WIN32=yes ;;
*) WIN32=no ;;
esac
AM_CONDITIONAL(COND_WIN32, test x$WIN32 = xyes)
dnl Yet another compiler check.
if test "x$GCC" = xyes; then

View File

@ -1,3 +1,9 @@
2006-08-26 Stefan Jahn <stefan@lkcc.org>
* qucshelp.cpp (setupActions): Made some more user visible
strings translatable. Renamed the "Sidebar" into "Table of
Contents".
2006-08-12 Gopala Krishna <krishna.ggk@gmail.com>
* qucshelp is an application now

View File

@ -273,7 +273,7 @@ QChar HtmlDataFetcher::unicodeFor(QString placeHolder)
placeHolder.remove(' ');
placeHolder.remove('\t');
Q_ASSERT(placeHolder[0] == '&');
Q_ASSERT(placeHolder[placeHolder.length() - 1] == ';');
Q_ASSERT(placeHolder[(int)placeHolder.length() - 1] == ';');
placeHolder.remove(placeHolder.length() - 1,1);//remove ';'
placeHolder.remove(0,1);// remove '&'
if(placeHolder[0] == '#')

View File

@ -78,11 +78,11 @@ void QucsHelp::setupActions()
ks, this);
nextAction = new QAction(QIconSet(QPixmap(QucsSettings.BitmapDir + "next.png")),
tr("&Next"), ks, this);
viewBrowseDock = new QAction(tr("&Sidebar"), 0, this);
viewBrowseDock = new QAction(tr("&Table of Contents"), 0, this);
viewBrowseDock->setToggleAction(true);
viewBrowseDock->setOn(true);
viewBrowseDock->setStatusTip(tr("Enables/disables the sidebar"));
viewBrowseDock->setWhatsThis(tr("Sidebar\n\nEnables/disables the sidebar"));
viewBrowseDock->setStatusTip(tr("Enables/disables the table of contents"));
viewBrowseDock->setWhatsThis(tr("Table of Contents\n\nEnables/disables the table of contents"));
connect(quitAction,SIGNAL(activated()),qApp,SLOT(quit()));
@ -121,12 +121,12 @@ void QucsHelp::setupActions()
viewBrowseDock->addTo(viewMenu);
QPopupMenu *helpMenu = new QPopupMenu(this);
helpMenu->insertItem("&About Qt",qApp,SLOT(aboutQt()));
helpMenu->insertItem(tr("&About Qt"),qApp,SLOT(aboutQt()));
bar->insertItem( "&File", fileMenu );
bar->insertItem("&View",viewMenu);
bar->insertItem(tr("&File"), fileMenu );
bar->insertItem(tr("&View"),viewMenu);
bar->insertSeparator();
bar->insertItem("&Help",helpMenu);
bar->insertItem(tr("&Help"),helpMenu);
}
@ -140,7 +140,7 @@ void QucsHelp::createSidebar()
chaptersView = new QListView(dock,"chapters_view");
chaptersView->setRootIsDecorated(false);
chaptersView->addColumn("Contents");
chaptersView->addColumn(tr("Contents"));
chaptersView->setSorting(-1);
chaptersView->setSelectionMode(QListView::Single);

View File

@ -1,3 +1,13 @@
2006-08-26 Stefan Jahn <stefan@lkcc.org>
* qucsdigi.bat: Closing stdin when running the simulator.
* qtgeneric_tr.ts, qucs_tr.ts: Updated Turkish translations.
Thanks to Ozgur.
* Makefile.am (bin_SCRIPTS): Care about the host system when
installing the qucsdigi script.
2006-08-19 Stefan Jahn <stefan@lkcc.org>
* qucs_hu.ts: Updated Hungarian translations. Thanks to

View File

@ -24,7 +24,11 @@
SUBDIRS = bitmaps components diagrams paintings dialogs
dist_bin_SCRIPTS = qucsdigi qucsdigi.bat
if COND_WIN32
bin_SCRIPTS = qucsdigi.bat
else
bin_SCRIPTS = qucsdigi
endif
bin_PROGRAMS = qucs
@ -89,7 +93,8 @@ qucs_%.ts: $(qucs_SOURCES)
langdatadir = ${prefix}/share/qucs/lang
langdata_DATA = $(TRANSFILES)
EXTRA_DIST = $(TRANSLATIONS) $(GENTRANSLATIONS) README.translations
EXTRA_DIST = $(TRANSLATIONS) $(GENTRANSLATIONS) README.translations \
qucsdigi qucsdigi.bat
all-local: $(TRANSLATIONS) $(TRANSFILES)

View File

@ -3,7 +3,7 @@
<name>QApplication</name>
<message>
<source>Executable &apos;%1&apos; requires Qt %2, found Qt %3.</source>
<translation>Çalıştırılabilir dosya &apos;%1&apos;, Qt %2&apos; ye ihtiyaç duyarken varolan Qt %3.</translation>
<translation>Çalıştırılabilir kütük &apos;%1&apos;, Qt %2&apos; ye ihtiyaç duyarken varolan Qt %3.</translation>
</message>
<message>
<source>Incompatible Qt Library Error</source>
@ -14,15 +14,15 @@
<name>QColorDialog</name>
<message>
<source>Hu&amp;e:</source>
<translation>Hu&amp;e:</translation>
<translation>Ren&amp;k:</translation>
</message>
<message>
<source>&amp;Sat:</source>
<translation>&amp;Sat:</translation>
<translation>&amp;Doygunluk:</translation>
</message>
<message>
<source>&amp;Val:</source>
<translation>&amp;Val:</translation>
<translation>&amp;Değer:</translation>
</message>
<message>
<source>&amp;Red:</source>
@ -38,7 +38,7 @@
</message>
<message>
<source>A&amp;lpha channel:</source>
<translation>A&amp;lfa kanal:</translation>
<translation>A&amp;lfa kanalı:</translation>
</message>
<message>
<source>&amp;Basic colors</source>
@ -734,7 +734,7 @@ Yolu ve kütük adını kontrol edin.</translation>
</message>
<message>
<source>Number of copies:</source>
<translation>Kopya sayısı:</translation>
<translation>Çoğaltım sayısı:</translation>
</message>
<message>
<source>Paper format</source>
@ -766,7 +766,7 @@ Yolu ve kütük adını kontrol edin.</translation>
</message>
<message>
<source>A4 (210x297 mm, 8.26x11.7 inches)</source>
<translation>A4 (210x297 mm, 8.26x11.7 inches)</translation>
<translation>A4 (210x297 mm, 8.26x11.7 inç)</translation>
</message>
<message>
<source>A5 (148 x 210 mm)</source>
@ -810,7 +810,7 @@ Yolu ve kütük adını kontrol edin.</translation>
</message>
<message>
<source>B5 (176 x 250 mm, 6.93x9.84 inches)</source>
<translation>B5 (176 x 250 mm, 6.93x9.84 inches)</translation>
<translation>B5 (176 x 250 mm, 6.93x9.84 inç)</translation>
</message>
<message>
<source>B6 (125 x 176 mm)</source>
@ -842,7 +842,7 @@ Yolu ve kütük adını kontrol edin.</translation>
</message>
<message>
<source>Executive (7.5x10 inches, 191x254 mm)</source>
<translation>Executive (7.5x10 inches, 191x254 mm)</translation>
<translation>Executive (7.5x10 inç, 191x254 mm)</translation>
</message>
<message>
<source>Folio (210 x 330 mm)</source>
@ -866,7 +866,7 @@ Yolu ve kütük adını kontrol edin.</translation>
</message>
<message>
<source>US Common #10 Envelope (105 x 241 mm)</source>
<translation>US Common #10 Envelope (105 x 241 mm)</translation>
<translation>ABD Genel #10 Zarfı (105 x 241 mm)</translation>
</message>
<message>
<source>Setup Printer</source>

View File

@ -1146,7 +1146,7 @@ void QucsApp::slotExportGraphAsCsv()
// First output the names of independent and dependent variables.
for(pD = g->cPointsX.first(); pD!=0; pD = g->cPointsX.next())
Stream << '\"' << pD->Var << "\";";
Stream << "\"" << g->Var << " (real)\";\"" << g->Var << " (imag)\"\n";
Stream << "\"r " << g->Var << "\";\"i " << g->Var << "\"\n";
int n, m;

View File

@ -8836,6 +8836,46 @@ Filtersynthese-Programm
<source>&amp;Next</source>
<translation>&amp;Nächste</translation>
</message>
<message>
<source>Home</source>
<translation>Startseite</translation>
</message>
<message>
<source>&amp;Table of Contents</source>
<translation>&amp;Inhaltsverzeichnis</translation>
</message>
<message>
<source>Enables/disables the table of contents</source>
<translation>Schaltet das Inhaltsverzeichnis ein/aus</translation>
</message>
<message>
<source>Table of Contents
Enables/disables the table of contents</source>
<translation>Inhaltsverzeichnis
Schaltet das Inhaltsverzeichnis ein/aus</translation>
</message>
<message>
<source>&amp;About Qt</source>
<translation>Über &amp;Qt</translation>
</message>
<message>
<source>&amp;File</source>
<translation>&amp;Datei</translation>
</message>
<message>
<source>&amp;View</source>
<translation>&amp;Ansicht</translation>
</message>
<message>
<source>&amp;Help</source>
<translation>&amp;Hilfe</translation>
</message>
<message>
<source>Contents</source>
<translation>Inhalte</translation>
</message>
</context>
<context>
<name>QucsInit</name>

View File

@ -6895,6 +6895,44 @@ Programa de síntexis de filtros</translation>
<source>&amp;Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Home</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Table of Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Table of Contents
Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished">&amp;Archivo</translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished">&amp;Ver</translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished">&amp;Ayuda</translation>
</message>
<message>
<source>Contents</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsInit</name>

View File

@ -6911,6 +6911,44 @@ Application de synthèse de filtres
<source>&amp;Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Home</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Table of Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Table of Contents
Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished">&amp;Fichier</translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished">&amp;Afficher</translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished">&amp;Aide</translation>
</message>
<message>
<source>Contents</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsInit</name>

View File

@ -6681,6 +6681,44 @@ Filter synthesis program
<source>&amp;Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Home</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Table of Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Table of Contents
Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished">&amp;קובץ</translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished">&amp;צפה</translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished">&amp;עזרה</translation>
</message>
<message>
<source>Contents</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsInit</name>

View File

@ -7004,6 +7004,44 @@ Szűrő méretező program
<source>&amp;Next</source>
<translation>&amp;Következő</translation>
</message>
<message>
<source>Home</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Table of Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Table of Contents
Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished">&amp;Fájl</translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished">&amp;Megjelenítés</translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished">&amp;Súgó</translation>
</message>
<message>
<source>Contents</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsInit</name>

View File

@ -7308,6 +7308,44 @@ Programma di sintesi dei filtri
<source>&amp;Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Home</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Table of Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Table of Contents
Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished">&amp;File</translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished">&amp;Visualizza</translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished">&amp;Aiuto</translation>
</message>
<message>
<source>Contents</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsInit</name>

View File

@ -6775,6 +6775,44 @@ Filter synthesis program
<source>&amp;Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Home</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Table of Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Table of Contents
Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished">(&amp;F)</translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished">(&amp;V)</translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished">(&amp;H)</translation>
</message>
<message>
<source>Contents</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsInit</name>

View File

@ -6900,6 +6900,44 @@ Program syntezy filtrów
<source>&amp;Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Home</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Table of Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Table of Contents
Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished">&amp;Plik</translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished">&amp;Widok</translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished">&amp;Pomoc</translation>
</message>
<message>
<source>Contents</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsInit</name>

View File

@ -6642,6 +6642,44 @@ Filter synthesis program
<source>&amp;Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Home</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Table of Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Table of Contents
Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished">&amp;Arquivo</translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished">&amp;Ver</translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished">&amp;Ajuda</translation>
</message>
<message>
<source>Contents</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsInit</name>

View File

@ -6781,6 +6781,44 @@ Filter synthesis program
<source>&amp;Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Home</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Table of Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Table of Contents
Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished">&amp;Fişier</translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished">&amp;Afişaj</translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished">A&amp;jutor</translation>
</message>
<message>
<source>Contents</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsInit</name>

View File

@ -8795,6 +8795,44 @@ Filter synthesis program
<source>&amp;Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Home</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Table of Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Table of Contents
Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished">&amp;Файл</translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished">&amp;Вид</translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished">&amp;Справка</translation>
</message>
<message>
<source>Contents</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsInit</name>

View File

@ -6622,6 +6622,44 @@ Filtersyntesprogram
<source>&amp;Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Home</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Table of Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Table of Contents
Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished">&amp;Fil</translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished">&amp;Vy</translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished">&amp;Hjälp</translation>
</message>
<message>
<source>Contents</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsInit</name>

File diff suppressed because it is too large Load Diff

View File

@ -5984,6 +5984,44 @@ Filter synthesis program
<source>&amp;Next</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Home</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Table of Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Table of Contents
Enables/disables the table of contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;About Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;View</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Contents</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QucsLib</name>

View File

@ -64,7 +64,7 @@ echo linking...
%CXX% %NAME%._main_.o %NAME%.o %LDFLAGS% %LIBS% -o %NAME%.exe
echo simulating...
%NAME%.exe -q -cmd "dc -f %NAME%.vcd -t 1 ps -q;d;run %TIME%;q;"
%NAME%.exe -q -cmd "dc -f %NAME%.vcd -t 1 ps -q;d;run %TIME%;q;" < NUL
echo running VCD conversion...
qucsconv %OPTION% -if vcd -of qucsdata -i %NAME%.vcd -o %NAMEOUT%