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

#include <portsymbol.h>

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

Public Member Functions

 PortSymbol (int cx_=0, int cy_=0, const QString &numberStr_="1", const QString &nameStr_="")
 ~PortSymbol ()
void paintScheme (Schematic *)
void getCenter (int &, int &)
void setCenter (int, int, bool relative=false)
bool load (const QString &)
QString save ()
QString saveCpp ()
QString saveJSON ()
void paint (ViewPainter *)
bool getSelected (float, float, float)
void Bounding (int &, int &, int &, int &)
void rotate ()
void mirrorX ()
void mirrorY ()

Data Fields

int Angel
QString numberStr
QString nameStr

Detailed Description

Definition at line 25 of file portsymbol.h.


Constructor & Destructor Documentation

PortSymbol::PortSymbol ( int  cx_ = 0,
int  cy_ = 0,
const QString &  numberStr_ = "1",
const QString &  nameStr_ = "" 
)

Definition at line 23 of file portsymbol.cpp.

Definition at line 43 of file portsymbol.cpp.


Member Function Documentation

void PortSymbol::Bounding ( int &  _x1,
int &  _y1,
int &  _x2,
int &  _y2 
) [virtual]

Reimplemented from Painting.

Definition at line 199 of file portsymbol.cpp.

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

Reimplemented from Painting.

Definition at line 122 of file portsymbol.cpp.

bool PortSymbol::getSelected ( float  fX,
float  fY,
float   
) [virtual]

Reimplemented from Painting.

Definition at line 188 of file portsymbol.cpp.

bool PortSymbol::load ( const QString &  s) [virtual]

Reimplemented from Painting.

Definition at line 137 of file portsymbol.cpp.

void PortSymbol::mirrorX ( ) [virtual]

Reimplemented from Painting.

Definition at line 215 of file portsymbol.cpp.

void PortSymbol::mirrorY ( ) [virtual]

Reimplemented from Painting.

Definition at line 223 of file portsymbol.cpp.

void PortSymbol::paint ( ViewPainter p) [virtual]

Reimplemented from Painting.

Definition at line 48 of file portsymbol.cpp.

Here is the call graph for this function:

void PortSymbol::paintScheme ( Schematic p) [virtual]

Reimplemented from Element.

Definition at line 115 of file portsymbol.cpp.

Here is the call graph for this function:

void PortSymbol::rotate ( ) [virtual]

Reimplemented from Painting.

Definition at line 207 of file portsymbol.cpp.

QString PortSymbol::save ( ) [virtual]

Reimplemented from Painting.

Definition at line 162 of file portsymbol.cpp.

QString PortSymbol::saveCpp ( ) [virtual]

Reimplemented from Painting.

Definition at line 170 of file portsymbol.cpp.

Here is the caller graph for this function:

QString PortSymbol::saveJSON ( ) [virtual]

Reimplemented from Painting.

Definition at line 179 of file portsymbol.cpp.

Here is the caller graph for this function:

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

Reimplemented from Element.

Definition at line 130 of file portsymbol.cpp.


Field Documentation

Definition at line 47 of file portsymbol.h.

Definition at line 48 of file portsymbol.h.

Definition at line 48 of file portsymbol.h.


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