Qucs-GUI
0.0.18
|
Definition of the vacomponent class. More...
#include "component.h"
#include <QFile>
#include <QTextStream>
#include <QScriptEngine>
#include <QScriptValue>
#include <QScriptValueIterator>
#include <QDebug>
Go to the source code of this file.
Data Structures | |
class | vacomponent |
Functions | |
QString | getData (QString filename) |
getData Reads the JSON file More... | |
double | getDouble (QScriptValue data, QString prop) |
getDouble Helper to get a property out of a JSON script More... | |
QString | getString (QScriptValue data, QString prop) |
getString Helper to get a property out of a JSON script More... | |
Definition of the vacomponent class.
Definition in file vacomponent.h.
QString getData | ( | QString | filename | ) |
getData Reads the JSON file
filename | File (JSON) containing the symbol paintings and properties. |
Definition at line 293 of file vacomponent.cpp.
double getDouble | ( | QScriptValue | data, |
QString | prop | ||
) |
getDouble Helper to get a property out of a JSON script
data | JSON data as a QScritValue |
prop | JSON property key |
Definition at line 320 of file vacomponent.cpp.
QString getString | ( | QScriptValue | data, |
QString | prop | ||
) |
getString Helper to get a property out of a JSON script
data | JSON data as a QScritValue |
prop | JSON property key |
Definition at line 330 of file vacomponent.cpp.