|
Qucs-GUI
0.0.19
|
#include <vacomponent.h>


Public Member Functions | |
| vacomponent (QString filename) | |
| vacomponent::vacomponent | |
| ~vacomponent () | |
| virtual Component * | newOne (QString filename) |
| vacomponent::newOne is used to mouse drop new items into the schematic. | |
Static Public Member Functions | |
| static Element * | info (QString &, QString &, bool getNewOne=false, QString filename="") |
| vacomponent::info is used to either get information or create objects. | |
Protected Member Functions | |
| void | createSymbol (QString filename) |
| vacomponent::createSymbol Constructor call this to create the symbol. | |
Definition at line 33 of file vacomponent.h.
| vacomponent::vacomponent | ( | QString | filename | ) |
| filename | File (JSON) containing the symbol paintins and properties. |
TODO adjust location of text
Definition at line 40 of file vacomponent.cpp.


| vacomponent::~vacomponent | ( | ) | [inline] |
Definition at line 38 of file vacomponent.h.
| void vacomponent::createSymbol | ( | QString | filename | ) | [protected] |
vacomponent::createSymbol Constructor call this to create the symbol.
| filename | File (JSON) containing the symbol paintins and properties. It reads the JSON file and parses the symbol paintings. Data is appended to to the appropriate lists, Lines, Rects, Ellips, ... |
Definition at line 143 of file vacomponent.cpp.


| Element * vacomponent::info | ( | QString & | Name, |
| QString & | BitmapFile, | ||
| bool | getNewOne = false, |
||
| QString | filename = "" |
||
| ) | [static] |
vacomponent::info is used to either get information or create objects.
| Name | Model name, returned by reference |
| BitmapFile | Bitmap file for the dock, returned by reference |
| getNewOne | if set return new object based on JSON file |
| filename | File (JSON) containing the symbol paintins and properties. |
getNewOne is true Used to get Name and BitmapFile. It can also create new objects from symbol file. Default BitmapFile is [modulename] The BitmapFile JSON entry can be modified in
Definition at line 118 of file vacomponent.cpp.


| Component * vacomponent::newOne | ( | QString | filename | ) | [virtual] |
vacomponent::newOne is used to mouse drop new items into the schematic.
| filename | File (JSON) containing the symbol paintins and properties. |
filename Used by mouseactions to drop new items into the schematic. Definition at line 98 of file vacomponent.cpp.

1.7.6.1