From: Dany Z. <da...@gm...> - 2008-09-01 15:13:00
|
Hi all I've been browsing the code of qucs, and I noticed that the components are HARD-CODED into the component classes. I'm sure you will all agree this isn't right by any standard. I therefore propose to start thinking about a new way to represent components. So far I thought that maybe each component will be represented by a package (gzipped maybe) of: 1. an SVG file for the graphics 2. an XML for port data 3. XML (or whatever) for model data 4. Even the dynamic/static behavior of a component can be defined by means of some sort of script (Python spring to mind). I think it will make components more generic. Anyway, I'll start experimenting along these lines. What do you all think? Thanks, Dany Zatuchna |