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
WireLabel Class Reference

#include <wirelabel.h>

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

Public Member Functions

 WireLabel (const QString &_Name=0, int _cx=0, int _cy=0, int _x1=0, int _y1=0, int _Type=isNodeLabel)
 
 ~WireLabel ()
 
void paintScheme (QPainter *p)
 
void setCenter (int x, int y, bool relative=false)
 
bool getSelected (int, int)
 
void setName (const QString &Name_)
 
void paint (ViewPainter *)
 
void rotate ()
 
QString save ()
 
bool load (const QString &s)
 
bool isHorizontal ()
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 
virtual void getCenter (int &, int &)
 

Public Attributes

ConductorpOwner
 
QString Name
 
QString initValue
 
- Public Attributes inherited from Element
bool isSelected
 
int Type
 
int cx
 
int cy
 
int x1
 
int y1
 
int x2
 
int y2
 

Detailed Description

Definition at line 32 of file wirelabel.h.

Constructor & Destructor Documentation

WireLabel::WireLabel ( const QString &  _Name = 0,
int  _cx = 0,
int  _cy = 0,
int  _x1 = 0,
int  _y1 = 0,
int  _Type = isNodeLabel 
)

Definition at line 24 of file wirelabel.cpp.

Here is the call graph for this function:

WireLabel::~WireLabel ( )

Definition at line 38 of file wirelabel.cpp.

Member Function Documentation

bool WireLabel::getSelected ( int  x,
int  y 
)

Definition at line 93 of file wirelabel.cpp.

Here is the caller graph for this function:

bool WireLabel::isHorizontal ( )
bool WireLabel::load ( const QString &  s)
void WireLabel::paint ( ViewPainter p)

Definition at line 105 of file wirelabel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WireLabel::paintScheme ( QPainter *  p)
virtual

Reimplemented from Element.

Definition at line 43 of file wirelabel.cpp.

void WireLabel::rotate ( )

Here is the caller graph for this function:

QString WireLabel::save ( )

Definition at line 190 of file wirelabel.cpp.

void WireLabel::setCenter ( int  x,
int  y,
bool  relative = false 
)
virtual

Reimplemented from Element.

Definition at line 63 of file wirelabel.cpp.

void WireLabel::setName ( const QString &  Name_)

Definition at line 176 of file wirelabel.cpp.

Here is the caller graph for this function:

Member Data Documentation

QString WireLabel::initValue

Definition at line 44 of file wirelabel.h.

QString WireLabel::Name

Definition at line 44 of file wirelabel.h.

Conductor* WireLabel::pOwner

Definition at line 43 of file wirelabel.h.


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