Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields
Node Class Reference

#include <node.h>

Inheritance diagram for Node:
Conductor Element

Public Member Functions

 Node (int, int)
 
 ~Node ()
 
void paint (ViewPainter *)
 
bool getSelected (int, int)
 
void setName (const QString &, const QString &, int x_=0, int y_=0)
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 
virtual void paintScheme (Schematic *)
 
virtual void setCenter (int, int, bool relative=false)
 
virtual void getCenter (int &, int &)
 

Data Fields

Q3PtrList< ElementConnections
 
QString Name
 
QString DType
 
int State
 
- Data Fields inherited from Conductor
WireLabelLabel
 
- Data Fields inherited from Element
bool isSelected
 
int Type
 
int cx
 
int cy
 
int x1
 
int y1
 
int x2
 
int y2
 

Detailed Description

Definition at line 30 of file node.h.

Constructor & Destructor Documentation

Node::Node ( int  _x,
int  _y 
)

Definition at line 23 of file node.cpp.

Node::~Node ( )

Definition at line 34 of file node.cpp.

Member Function Documentation

bool Node::getSelected ( int  x_,
int  y_ 
)

Definition at line 62 of file node.cpp.

void Node::paint ( ViewPainter p)

Definition at line 39 of file node.cpp.

void Node::setName ( const QString &  Name_,
const QString &  Value_,
int  x_ = 0,
int  y_ = 0 
)

Definition at line 71 of file node.cpp.

Field Documentation

Q3PtrList<Element> Node::Connections

Definition at line 39 of file node.h.

QString Node::DType

Definition at line 41 of file node.h.

QString Node::Name

Definition at line 40 of file node.h.

int Node::State

Definition at line 42 of file node.h.


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