Qucs-GUI
0.0.18
|
Definitions and declarations for the main application. More...
#include <QFont>
#include <QColor>
#include <Q3PtrList>
#include <QStringList>
#include "wire.h"
#include "node.h"
#include "diagrams/diagram.h"
#include <QSettings>
#include <math.h>
Go to the source code of this file.
Data Structures | |
struct | tQucsSettings |
Macros | |
#define | M_PI 3.1415926535897932384626433832795029 |
Functions | |
bool | loadSettings () |
bool | saveApplSettings (QucsApp *) |
void | qucsMessageOutput (QtMsgType type, const char *msg) |
qucsMessageOutput handles qDebug, qWarning, qCritical, qFatal. More... | |
QString | complexRect (double, double, int Precision=3) |
QString | complexDeg (double, double, int Precision=3) |
QString | complexRad (double, double, int Precision=3) |
QString | StringNum (double, char form='g', int Precision=3) |
void | str2num (const QString &, double &, QString &, double &) |
QString | num2str (double) |
QString | StringNiceNum (double) |
void | convert2Unicode (QString &) |
void | convert2ASCII (QString &) |
QString | properName (const QString &) |
QString | properAbsFileName (const QString &) |
QString | properFileName (const QString &) |
bool | VHDL_Time (QString &, const QString &) |
bool | VHDL_Delay (QString &, const QString &) |
bool | Verilog_Time (QString &, const QString &) |
bool | Verilog_Delay (QString &, const QString &) |
QString | Verilog_Param (const QString) |
bool | checkVersion (QString &) |
Variables | |
tQucsSettings | QucsSettings |
QucsApp * | QucsMain |
QString | lastDir |
QStringList | qucsPathList |
Definitions and declarations for the main application.
Definition in file main.h.
QString complexRect | ( | double | , |
double | , | ||
int | Precision = 3 |
||
) |
void qucsMessageOutput | ( | QtMsgType | type, |
const char * | msg | ||
) |
qucsMessageOutput handles qDebug, qWarning, qCritical, qFatal.
type | Message type (Qt enum) |
msg | Message |
The message handler is used to get control of the messages. Particulary on Windows, as the messages are sent to the debugger and do not show on the terminal. The handler could aslo be extended to create a log mechanism. http://qt-project.org/doc/qt-4.8/debug.html#warning-and-debugging-messages http://qt-project.org/doc/qt-4.8/qtglobal.html#qInstallMsgHandler
void str2num | ( | const QString & | , |
double & | , | ||
QString & | , | ||
double & | |||
) |
QString StringNum | ( | double | , |
char | form = 'g' , |
||
int | Precision = 3 |
||
) |
tQucsSettings QucsSettings |