#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.
|
#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) |
|
#define DOC_X_FPOS (float(Event->pos().x())/Doc->Scale + float(Doc->ViewX1)) |
#define DOC_X_POS |
( |
|
x | ) |
(int(float(x)/Doc->Scale) + Doc->ViewX1) |
#define DOC_Y_FPOS (float(Event->pos().y())/Doc->Scale + float(Doc->ViewY1)) |
#define DOC_Y_POS |
( |
|
y | ) |
(int(float(y)/Doc->Scale) + 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) |