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

#include <marker.h>

Inheritance diagram for Marker:
Element

Public Member Functions

 Marker (Diagram *Diag_, Graph *pg_=0, int _nn=0, int cx_=0, int cy_=0)
 
 ~Marker ()
 
void initText (int)
 
void createText ()
 
void makeInvalid ()
 
bool moveLeftRight (bool)
 
bool moveUpDown (bool)
 
void paint (ViewPainter *, int, int)
 
void paintScheme (QPainter *)
 
void setCenter (int, int, bool)
 
void Bounding (int &_x1, int &_y1, int &_x2, int &_y2)
 
QString save ()
 
bool load (const QString &Line)
 
bool getSelected (int, int)
 
MarkersameNewOne (Graph *)
 
void getTextSize (const QFont &)
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 
virtual void paintScheme (Schematic *)
 
virtual void getCenter (int &, int &)
 

Data Fields

DiagramDiag
 
GraphpGraph
 
int nVarPos
 
double * VarPos
 
float fCX
 
float fCY
 
QString Text
 
bool transparent
 
int Precision
 
int numMode
 
double Z0
 
- 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 31 of file marker.h.

Constructor & Destructor Documentation

Marker::Marker ( Diagram Diag_,
Graph pg_ = 0,
int  _nn = 0,
int  cx_ = 0,
int  cy_ = 0 
)

Definition at line 38 of file marker.cpp.

Marker::~Marker ( )

Definition at line 61 of file marker.cpp.

Member Function Documentation

void Marker::Bounding ( int &  _x1,
int &  _y1,
int &  _x2,
int &  _y2 
)

Definition at line 478 of file marker.cpp.

void Marker::createText ( )

Definition at line 186 of file marker.cpp.

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

Definition at line 569 of file marker.cpp.

void Marker::getTextSize ( const QFont &  Font)

Definition at line 293 of file marker.cpp.

void Marker::initText ( int  n)

Definition at line 67 of file marker.cpp.

bool Marker::load ( const QString &  Line)

Definition at line 514 of file marker.cpp.

void Marker::makeInvalid ( )

Definition at line 277 of file marker.cpp.

bool Marker::moveLeftRight ( bool  left)

Definition at line 302 of file marker.cpp.

bool Marker::moveUpDown ( bool  up)

Definition at line 331 of file marker.cpp.

void Marker::paint ( ViewPainter p,
int  x0,
int  y0 
)

Definition at line 389 of file marker.cpp.

void Marker::paintScheme ( QPainter *  p)

Definition at line 445 of file marker.cpp.

Marker * Marker::sameNewOne ( Graph pGraph_)

Definition at line 578 of file marker.cpp.

QString Marker::save ( )

Definition at line 495 of file marker.cpp.

void Marker::setCenter ( int  x,
int  y,
bool  relative 
)
virtual

Reimplemented from Element.

Definition at line 467 of file marker.cpp.

Field Documentation

Diagram* Marker::Diag

Definition at line 51 of file marker.h.

float Marker::fCX

Definition at line 56 of file marker.h.

float Marker::fCY

Definition at line 56 of file marker.h.

int Marker::numMode

Definition at line 62 of file marker.h.

int Marker::nVarPos

Definition at line 54 of file marker.h.

Graph* Marker::pGraph

Definition at line 52 of file marker.h.

int Marker::Precision

Definition at line 61 of file marker.h.

QString Marker::Text

Definition at line 58 of file marker.h.

bool Marker::transparent

Definition at line 59 of file marker.h.

double* Marker::VarPos

Definition at line 55 of file marker.h.

double Marker::Z0

Definition at line 63 of file marker.h.


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