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

#include <wire.h>

Inheritance diagram for Wire:
Inheritance graph
[legend]
Collaboration diagram for Wire:
Collaboration graph
[legend]

Public Member Functions

 Wire (int _x1=0, int _y1=0, int _x2=0, int _y2=0, Node *n1=0, Node *n2=0)
 ~Wire ()
void paint (ViewPainter *)
void paintScheme (QPainter *)
void setCenter (int, int, bool relative=false)
void getCenter (int &, int &)
bool getSelected (int, int)
void setName (const QString &, const QString &, int delta_=0, int x_=0, int y_=0)
void rotate ()
QString save ()
bool load (const QString &)
bool isHorizontal ()

Data Fields

NodePort1
NodePort2

Detailed Description

Definition at line 30 of file wire.h.


Constructor & Destructor Documentation

Wire::Wire ( int  _x1 = 0,
int  _y1 = 0,
int  _x2 = 0,
int  _y2 = 0,
Node n1 = 0,
Node n2 = 0 
)

Definition at line 21 of file wire.cpp.

Definition at line 37 of file wire.cpp.


Member Function Documentation

void Wire::getCenter ( int &  x,
int &  y 
) [virtual]

Reimplemented from Element.

Definition at line 81 of file wire.cpp.

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

Definition at line 89 of file wire.cpp.

Definition at line 123 of file wire.cpp.

Here is the caller graph for this function:

bool Wire::load ( const QString &  _s)

Definition at line 167 of file wire.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Wire::paint ( ViewPainter p)

Definition at line 108 of file wire.cpp.

Here is the call graph for this function:

void Wire::paintScheme ( QPainter *  p) [virtual]

Reimplemented from Element.

Definition at line 98 of file wire.cpp.

void Wire::rotate ( )

Definition at line 42 of file wire.cpp.

QString Wire::save ( )

Definition at line 151 of file wire.cpp.

Here is the caller graph for this function:

void Wire::setCenter ( int  x,
int  y,
bool  relative = false 
) [virtual]

Reimplemented from Element.

Definition at line 67 of file wire.cpp.

Here is the caller graph for this function:

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

Definition at line 129 of file wire.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

Definition at line 42 of file wire.h.

Definition at line 42 of file wire.h.


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