|
Qucs-GUI
0.0.19
|
Superclass of all schematic drawing elements. More...
#include <element.h>

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 |
| Element::Element | ( | ) |
Definition at line 20 of file element.cpp.
| Element::~Element | ( | ) | [virtual] |
Definition at line 27 of file element.cpp.
| 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.

| 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.

| 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.

| int Element::cx |
| int Element::cy |
| bool Element::isSelected |
| int Element::Type |
| int Element::x1 |
| int Element::x2 |
| int Element::y1 |
| int Element::y2 |
1.7.6.1