187 Commits

Author SHA1 Message Date
Vadim Kuznetzov
581fea212e NgSpice functionality moved from schematic_file.cpp to ngspicesimdialog.cpp 2015-11-11 11:28:57 +03:00
Vadim Kuznetzov
30c2c30f52 Added ngspice execution and printing results from labeled nodes 2015-11-11 11:28:56 +03:00
Vadim Kuznetzov
ee5571f932 Added named nodes to spice sim results output 2015-11-11 11:28:56 +03:00
Vadim Kuznetzov
66dc186048 Added results writing for spice simulation 2015-11-11 11:28:56 +03:00
Vadim Kuznetzov
7a37a04598 Prepared for demonstation 2015-11-11 11:28:56 +03:00
Vadim Kuznetzov
954e5e9969 Corrected first line comment for spice circuits 2015-11-11 11:28:56 +03:00
Vadim Kuznetzov
13c3da654d Added isProbe property and spice_netlist() for Vrect 2015-11-11 11:28:55 +03:00
Vadim Kuznetzov
00e07e3b43 Added printing node voltages 2015-11-11 11:28:55 +03:00
Vadim Kuznetzov
2e550318cb Implemented labeled wires determination 2015-11-11 11:28:55 +03:00
Vadim Kuznetzov
5e069464d7 Added Mega (10e6) conversion and corrected log sweep points calculation 2015-11-11 11:28:55 +03:00
Vadim Kuznetzov
714922f39e Added isSimulation property analysis while generating spice netlist 2015-11-11 11:28:55 +03:00
Vadim Kuznetzov
018db5a72a The first attempt to auto-create spice netlist 2015-11-11 11:28:54 +03:00
Vadim Kuznetzov
2c746e538a Implemented stubs for creting spice netlist 2015-11-11 11:28:54 +03:00
Felix Salfelder
ea57204668 Fix component-from-library-lookup error message
ERROR: "someinstance": could not load "somemodel" from "somelib"

instead of

ERROR: "someinstance": bad.
2015-10-02 19:09:20 +02:00
Guilherme Brondani Torri
a8a8c43ac2 schematic_file: Send error to CLI, keep FileInfo
* When loading an schematic, assign the FileInfo. It is used by
  subcircuit, spicefile, componentdialog to figure out the full patch to
  a parent schematic file.

* Detect if the GUI or CLI is running, redirect (a few) error messages
  acordingly. Often the error messages are collected in a
  QPlainTextEdit. This cannot be rendered if the application is run from
  the command line. This is subject for another issue.

This is related to issue #333.
2015-09-13 18:57:58 +02:00
in3otd
3b5ccea310 Changed QTextEdit with QPlainTextEdit and adapted code accordingly.
QPlainTextEdit is better suited to handle large log files, as can result
from large simulations, when debug is enabled, when using the optimizer,
etc. It has also the advantage to automatically show the last messages
and to handle user scrolling of text nicely.
2015-04-19 18:50:42 +02:00
yodalee
e3c307373d add namespace misc to misc.h 2015-01-18 19:22:12 +08:00
yodalee
d0d99d77c2 move testFile function to schematic 2015-01-06 03:12:10 +08:00
global667
e33a3ae388 Delete QT3_US_SUPPORT from all CMakesLists.txt
SET( QT_USE_QT3SUPPORT TRUE ) is delete from all CmakeLists.txt and adapting the souces, but "FIND_PACKAGE( Qt4 4.6.3 REQUIRED QtCore QtGui Qt3Support QtSvg QtXml QtScript)" in the root-CMakeLists.txt is unchanged. So Q3*-Header like Q3PtrList will not produce an error.
2014-11-27 20:16:14 +01:00
Guilherme Brondani Torri
2e9bb21f6b Merge pull request #116 from yodalee/move-misc-function-to-single-file
Move various function from main.[h,cpp] to misc.[h.cpp]
2014-11-27 19:27:32 +01:00
yodalee
5e46417235 make a copy of function into misc 2014-11-21 02:27:36 +08:00
yodalee
ef3d952e06 move id_text Parameter to QList
Move Q3PtrList in Dialogs/sweepdialog:
Move Q3PtrList<QString> module: Categories:
Move Q3PtrList<QString> HierarchyHistory in qucs
Move Q3PtrList<subparameter> in painting/id_text
Move Q3ValueList<DigiSignal> in schematic_file
2014-11-09 00:00:07 +08:00
yodalee
71365d7845 move QValueList to QList in schematic_file 2014-11-08 01:44:33 +08:00
yodalee
e1feae0eec remove qtgui in main directory 2014-11-04 12:48:23 +08:00
yodalee
5553d4e502 clean schematic*.cpp unnecessary include
schematic.cpp
schematic_file.cpp
schematic_element.cpp
2014-10-30 21:12:04 +08:00
yodalee
22d1d3af8c allow painting load without gui
same as diagrams
2014-10-03 16:50:23 +02:00
yodalee
3b03ed406a allow diagram load without gui
In gui mode, diagram will use font setting in gui main
In non-gui mode, it use default font QFont("Helvetica", 12)
2014-10-03 16:50:23 +02:00
Guilherme Brondani Torri
1639940831 port Ports 2014-09-23 14:43:13 +02:00
Guilherme Brondani Torri
57c4495d52 a few more toNativeSeparators 2014-06-06 23:58:24 +02:00
Guilherme Brondani Torri
f06bb6d860 qucs: move from Q3TextStream to QTextStream 2014-06-06 22:06:38 +02:00
Guilherme Brondani Torri
d23cf04f19 add admsXml path to Qucs settings
* read environment variable ADMSXMLBINDIR for path
* set AdmsXml Path into Qucs settings
2014-05-18 23:14:16 +02:00
Guilherme Brondani Torri
9a56cb64c9 add build and load statustip and whatstip 2014-04-05 00:58:36 +02:00
Guilherme Brondani Torri
fa77d6dffe include -I path on save symbol for admsXml
Otherwise admsXml will emit the constants.vams and disciplines.vams
in the project directory.
2014-04-05 00:58:35 +02:00
Guilherme Brondani Torri
4998f7e3d9 fix messabox title 2014-04-05 00:58:34 +02:00
Guilherme Brondani Torri
edb1274070 deploy and use va2cpp and cpp2 lib makefiles 2014-04-05 00:58:32 +02:00
Guilherme Brondani Torri
4f82c92212 loader working with hardcoded paths 2014-04-05 00:58:31 +02:00
Guilherme Brondani Torri
8e00b7a77a loader: json output for paintigs 2014-04-05 00:58:25 +02:00
Richard C Crozier
b14b1d8d4f schematic_file.cpp: removed unnecessary qDebug statement 2014-01-29 17:15:00 +00:00
Richard C Crozier
137163034b Fix bugs in subcircuit search path lookup, and extend to spice files 2014-01-29 13:36:50 +00:00
Vadim Kuznetzov
b85858844c Added check box for ignoring schematic versions 2014-01-12 16:34:34 +04:00
Vadim Kuznetzov
916a4a3f83 Added ability to ignore version missmatch while loading schematics 2014-01-11 18:07:51 +04:00
Guilherme Brondani Torri
b8a6bf48c6 cli: add simple command line to Qucs
If command is parsed, it does not launch the graphical application.
Implemented schematic to netlist function.
2013-12-02 14:22:25 +01:00
Guilherme Brondani Torri
b0d7cce0b7 Fix several Qt3 deprecated header inclusion 2013-12-01 18:35:44 +01:00
Guilherme Brondani Torri
edde902512 Fix depreprecated header include
Silence the anoying warning:
c:/Qt/4.8.5/include/Qt/qbrush.h:3:10: warning: #warning "Inclusion of header fil
es from include/Qt is deprecated."
2013-12-01 18:35:44 +01:00
Frans Schreuder
f1cd67e73a removed q3process throughout the project 2013-09-27 20:41:10 +02:00
crobarcro
0465ace6d5 chnages to introduce new subcircuit search path 2013-09-08 03:01:59 +01:00
Frans Schreuder
6a56fc1a1f Qucs Home directory can now be edited in Application settings, as well as octave bin dir 2013-07-01 23:43:49 +02:00
Guilherme Brondani Torri
d2773e80f3 removed some qDegub messages 2013-06-16 15:00:47 +02:00
Frans Schreuder
a5534d8f9f Merge branch 'post-release-0.0.17'
Conflicts:
	qucs/qucs/dialogs/simmessage.cpp
2013-06-13 23:06:09 +02:00
Guilherme Brondani Torri
b37f81fb0e fix bug #98
Test the length of the error string before accessing it.
Added message at the start of the compilation
2013-06-11 14:41:26 +02:00