Qucs-GUI  0.0.19
Public Member Functions | Data Fields | Private Attributes
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 setHighlighted (bool newval)
void paint (ViewPainter *)
void rotate ()
QString save ()
bool load (const QString &s)
bool isHorizontal ()

Data Fields

ConductorpOwner
QString Name
QString initValue

Private Attributes

bool isHighlighted

Detailed Description

Definition at line 31 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 25 of file wirelabel.cpp.

Here is the call graph for this function:

Definition at line 40 of file wirelabel.cpp.


Member Function Documentation

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

Definition at line 95 of file wirelabel.cpp.

Here is the caller graph for this function:

bool WireLabel::load ( const QString &  s)

Definition at line 107 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 45 of file wirelabel.cpp.

Here is the caller graph for this function:

QString WireLabel::save ( )

Definition at line 209 of file wirelabel.cpp.

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

Reimplemented from Element.

Definition at line 65 of file wirelabel.cpp.

void WireLabel::setHighlighted ( bool  newval) [inline]

Definition at line 41 of file wirelabel.h.

Here is the caller graph for this function:

void WireLabel::setName ( const QString &  Name_)

Definition at line 194 of file wirelabel.cpp.

Here is the caller graph for this function:


Field Documentation

Definition at line 45 of file wirelabel.h.

bool WireLabel::isHighlighted [private]

Definition at line 54 of file wirelabel.h.

QString WireLabel::Name

Definition at line 45 of file wirelabel.h.

Definition at line 41 of file wirelabel.h.


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