Qucs-GUI  0.0.19
Public Member Functions | Data Fields
Element Class Reference

Superclass of all schematic drawing elements. More...

#include <element.h>

Inheritance diagram for Element:
Inheritance graph
[legend]

Public Member Functions

 Element ()
virtual ~Element ()
virtual void paintScheme (Schematic *)
virtual void paintScheme (QPainter *)
virtual void setCenter (int, int, bool relative=false)
virtual void getCenter (int &, int &)

Data Fields

bool isSelected
int Type
int cx
int cy
int x1
int y1
int x2
int y2

Detailed Description

Superclass of all schematic drawing elements.

Definition at line 142 of file element.h.


Constructor & Destructor Documentation

Definition at line 20 of file element.cpp.

Element::~Element ( ) [virtual]

Definition at line 27 of file element.cpp.


Member Function Documentation

void Element::getCenter ( int &  ,
int &   
) [virtual]

Reimplemented in Diagram, Component, ID_Text, Wire, GraphicText, Arrow, GraphicLine, Ellipse, EllipseArc, PortSymbol, Rectangle, and Painting.

Definition at line 43 of file element.cpp.

Here is the caller graph for this function:

void Element::paintScheme ( Schematic ) [virtual]

Reimplemented in Diagram, ID_Text, Component, GraphicText, Arrow, GraphicLine, Ellipse, EllipseArc, PortSymbol, and Rectangle.

Definition at line 31 of file element.cpp.

Here is the caller graph for this function:

void Element::paintScheme ( QPainter *  ) [virtual]

Reimplemented in Marker, WireLabel, and Wire.

Definition at line 35 of file element.cpp.

void Element::setCenter ( int  ,
int  ,
bool  relative = false 
) [virtual]

Reimplemented in Diagram, Marker, ID_Text, Component, WireLabel, Wire, GraphicText, Arrow, GraphicLine, Ellipse, EllipseArc, PortSymbol, and Rectangle.

Definition at line 39 of file element.cpp.

Here is the caller graph for this function:


Field Documentation

Definition at line 154 of file element.h.

Definition at line 154 of file element.h.

Definition at line 152 of file element.h.

Definition at line 153 of file element.h.

Definition at line 154 of file element.h.

Definition at line 154 of file element.h.

Definition at line 154 of file element.h.

Definition at line 154 of file element.h.


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines