Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Variables
mouseactions.cpp File Reference
#include <QtGui>
#include "qucs.h"
#include <QTextStream>
#include <Q3PtrList>
#include <QMouseEvent>
#include "main.h"
#include "node.h"
#include "schematic.h"
#include "mouseactions.h"
#include "module.h"
#include "components/component.h"
#include "components/spicedialog.h"
#include "components/spicefile.h"
#include "components/optimizedialog.h"
#include "components/componentdialog.h"
#include "components/vacomponent.h"
#include "diagrams/diagramdialog.h"
#include "diagrams/markerdialog.h"
#include "diagrams/tabdiagram.h"
#include "diagrams/timingdiagram.h"
#include "dialogs/labeldialog.h"
#include <QInputDialog>
#include <QClipboard>
#include <QApplication>
#include <QMessageBox>
#include <Q3PopupMenu>
#include <QEvent>
#include <QAction>
#include <QTabWidget>
#include <limits.h>
#include <stdlib.h>

Go to the source code of this file.

Macros

#define DOC_X_POS(x)   (int(float(x)/Doc->Scale) + Doc->ViewX1)
 
#define DOC_Y_POS(y)   (int(float(y)/Doc->Scale) + Doc->ViewY1)
 
#define DOC_X_FPOS   (float(Event->pos().x())/Doc->Scale + float(Doc->ViewX1))
 
#define DOC_Y_FPOS   (float(Event->pos().y())/Doc->Scale + float(Doc->ViewY1))
 
#define SCR_X_POS(x)   int(float(x - Doc->ViewX1) * Doc->Scale)
 
#define SCR_Y_POS(y)   int(float(y - Doc->ViewY1) * Doc->Scale)
 

Variables

QAction * formerAction
 

Macro Definition Documentation

#define DOC_X_FPOS   (float(Event->pos().x())/Doc->Scale + float(Doc->ViewX1))

Definition at line 56 of file mouseactions.cpp.

#define DOC_X_POS (   x)    (int(float(x)/Doc->Scale) + Doc->ViewX1)

Definition at line 54 of file mouseactions.cpp.

#define DOC_Y_FPOS   (float(Event->pos().y())/Doc->Scale + float(Doc->ViewY1))

Definition at line 57 of file mouseactions.cpp.

#define DOC_Y_POS (   y)    (int(float(y)/Doc->Scale) + Doc->ViewY1)

Definition at line 55 of file mouseactions.cpp.

#define SCR_X_POS (   x)    int(float(x - Doc->ViewX1) * Doc->Scale)

Definition at line 59 of file mouseactions.cpp.

#define SCR_Y_POS (   y)    int(float(y - Doc->ViewY1) * Doc->Scale)

Definition at line 60 of file mouseactions.cpp.

Variable Documentation

QAction* formerAction

Definition at line 62 of file mouseactions.cpp.