Monday, August 24, 2009

3D plotter and 2-way steady state analysis

The PlotTool now contains Plot2DWidget and Plot3DWidget, which are used for plotting 2D and 3D graphs. The "runsteadystate" C program now provides 2-parameter steady state analysis. See diagram below.

Wednesday, August 19, 2009

Some changes worth noting...

The class OutputWindow has been changed to ConsoleWindow, which makes more sense.

ItemHandle can be "hidden" from the SymbolsTable by setting visible=false. The SymbolsTable stores all the objects in the network, so this is a way of using a handle without making it part of the network itself. 

Saturday, August 15, 2009

TextParser class

The TextParser class is the parent class for all parser tools, such as the Antimony parser tool. This class listens to events in the text editor and responds accordingly. This parent class simply provides a basic structure for other parser tools.

activate ()
set this parser as the current parser

deactivate ()
this parser is no longer the current parser

parse (TextEditor *)
this parser has been requested to parse the text inside the given text editor

textChanged (TextEditor *, const QString &, const QString &, const QString &)
some text inside this editor has been changed

lineChanged (TextEditor *, int, const QString &)
the cursor has moved to a different line

validSyntax (bool)
signal indicating invalid syntax

setParser (TextParser *)
set the text parser for all text editors. The current text parser can be obtained using

The current text parser that is being used (can be 0 if none).