Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Macros
element.h File Reference

Defines drawing elements for schematics. More...

#include <QPen>
#include <QBrush>

Go to the source code of this file.

Data Structures

struct  Line
 
struct  Arc
 
struct  Area
 
struct  Port
 
struct  Text
 
struct  Property
 
class  Element
 Superclass of all schematic drawing elements. More...
 
class  Conductor
 label for Node and Wire classes More...
 

Macros

#define isDummyElement   0
 
#define isSpecialMask   -16
 
#define isComponent   0x30000
 
#define isComponentText   0x30002
 
#define isAnalogComponent   0x10000
 
#define isDigitalComponent   0x20000
 
#define isGraph   0x0020
 
#define isNode   0x0040
 
#define isMarker   0x0080
 
#define isWire   0x0100
 
#define isPainting   0x2000
 
#define isPaintingResize   0x2001
 
#define isLabel   0x4000
 
#define isHWireLabel   0x4020
 
#define isVWireLabel   0x4040
 
#define isNodeLabel   0x4080
 
#define isMovingLabel   0x4001
 
#define isHMovingLabel   0x4002
 
#define isVMovingLabel   0x4004
 
#define isDiagram   0x8000
 
#define isDiagramResize   0x8001
 
#define isDiagramHScroll   0x8002
 
#define isDiagramVScroll   0x8003
 

Detailed Description

Defines drawing elements for schematics.

element.h contains definitions of various drawing elements used used to render schematics and the schematic symbols. The following structs are defined to hold information on various drawing types:

Line Arc Area Port Text Property

The Element class is also defined here which is a superclass of every component symbol.

Definition in file element.h.

Macro Definition Documentation

#define isAnalogComponent   0x10000

Definition at line 112 of file element.h.

#define isComponent   0x30000

Definition at line 110 of file element.h.

#define isComponentText   0x30002

Definition at line 111 of file element.h.

#define isDiagram   0x8000

Definition at line 131 of file element.h.

#define isDiagramHScroll   0x8002

Definition at line 133 of file element.h.

#define isDiagramResize   0x8001

Definition at line 132 of file element.h.

#define isDiagramVScroll   0x8003

Definition at line 134 of file element.h.

#define isDigitalComponent   0x20000

Definition at line 113 of file element.h.

#define isDummyElement   0

Definition at line 107 of file element.h.

#define isGraph   0x0020

Definition at line 115 of file element.h.

#define isHMovingLabel   0x4002

Definition at line 128 of file element.h.

#define isHWireLabel   0x4020

Definition at line 124 of file element.h.

#define isLabel   0x4000

Definition at line 123 of file element.h.

#define isMarker   0x0080

Definition at line 117 of file element.h.

#define isMovingLabel   0x4001

Definition at line 127 of file element.h.

#define isNode   0x0040

Definition at line 116 of file element.h.

#define isNodeLabel   0x4080

Definition at line 126 of file element.h.

#define isPainting   0x2000

Definition at line 120 of file element.h.

#define isPaintingResize   0x2001

Definition at line 121 of file element.h.

#define isSpecialMask   -16

Definition at line 108 of file element.h.

#define isVMovingLabel   0x4004

Definition at line 129 of file element.h.

#define isVWireLabel   0x4040

Definition at line 125 of file element.h.

#define isWire   0x0100

Definition at line 118 of file element.h.