My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
Element Class Reference

#include <element.h>

Inheritance diagram for Element:
Inheritance graph
[legend]

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 119 of file element.h.

Constructor & Destructor Documentation

Element::Element ( )

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, Arrow, Ellipse, EllipseArc, Painting, Rectangle, GraphicLine, PortSymbol, and GraphicText.

Definition at line 39 of file element.cpp.

Here is the caller graph for this function:

void Element::paintScheme ( QPainter *  )
virtual

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

Definition at line 31 of file element.cpp.

Here is the caller graph for this function:

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

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

Definition at line 35 of file element.cpp.

Here is the caller graph for this function:

Member Data Documentation

int Element::cx

Definition at line 130 of file element.h.

int Element::cy

Definition at line 130 of file element.h.

bool Element::isSelected

Definition at line 128 of file element.h.

int Element::Type

Definition at line 129 of file element.h.

int Element::x1

Definition at line 130 of file element.h.

int Element::x2

Definition at line 130 of file element.h.

int Element::y1

Definition at line 130 of file element.h.

int Element::y2

Definition at line 130 of file element.h.


The documentation for this class was generated from the following files: