Qucs-GUI  0.0.19
Data Structures | Functions | Variables
/home/travis/build/Qucs/qucs/qucs/qucs/main.h File Reference

Definitions and declarations for the main application. More...

#include <QFont>
#include <QColor>
#include <QStringList>
#include <QDir>
#include "wire.h"
#include "node.h"
#include "diagrams/diagram.h"
Include dependency graph for main.h:

Go to the source code of this file.

Data Structures

struct  tQucsSettings

Functions

bool loadSettings ()
bool saveApplSettings ()
void qucsMessageOutput (QtMsgType type, const char *msg)
 qucsMessageOutput handles qDebug, qWarning, qCritical, qFatal.

Variables

static const double pi = 3.1415926535897932384626433832795029
tQucsSettings QucsSettings
QucsAppQucsMain
QString lastDir
QStringList qucsPathList

Detailed Description

Definitions and declarations for the main application.

Definition in file main.h.


Function Documentation

bool loadSettings ( )

Definition at line 69 of file main.cpp.

Here is the caller graph for this function:

void qucsMessageOutput ( QtMsgType  type,
const char *  msg 
)

qucsMessageOutput handles qDebug, qWarning, qCritical, qFatal.

Parameters:
typeMessage type (Qt enum)
msgMessage

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>

Definition at line 214 of file main.cpp.

Here is the caller graph for this function:

bool saveApplSettings ( )

Definition at line 145 of file main.cpp.

Here is the caller graph for this function:


Variable Documentation

QString lastDir

Definition at line 64 of file main.cpp.

const double pi = 3.1415926535897932384626433832795029 [static]

Definition at line 37 of file main.h.

Definition at line 63 of file main.cpp.

QStringList qucsPathList

Definition at line 65 of file main.cpp.

Definition at line 61 of file main.cpp.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines