Qucs-GUI  0.0.19
Defines | Variables
/home/travis/build/Qucs/qucs/qucs/qucs/mouseactions.cpp File Reference
#include "qucs.h"
#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 <QTextStream>
#include <Q3PtrList>
#include <QMouseEvent>
#include <QClipboard>
#include <QApplication>
#include <QMessageBox>
#include <QMenu>
#include <QEvent>
#include <QAction>
#include <QLineEdit>
#include <QDebug>
#include <limits.h>
#include <stdlib.h>
Include dependency graph for mouseactions.cpp:

Go to the source code of this file.

Defines

#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

Define Documentation

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

Definition at line 55 of file mouseactions.cpp.

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

Definition at line 53 of file mouseactions.cpp.

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

Definition at line 56 of file mouseactions.cpp.

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

Definition at line 54 of file mouseactions.cpp.

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

Definition at line 58 of file mouseactions.cpp.

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

Definition at line 59 of file mouseactions.cpp.


Variable Documentation

QAction* formerAction

Definition at line 61 of file mouseactions.cpp.

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