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

#include <marker.h>

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

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 getCenter (int &, int &)
 

Public Attributes

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

Constructor & Destructor Documentation

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

Definition at line 32 of file marker.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Marker::~Marker ( )

Definition at line 54 of file marker.cpp.

Member Function Documentation

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

Definition at line 440 of file marker.cpp.

void Marker::createText ( )

Definition at line 167 of file marker.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 530 of file marker.cpp.

void Marker::getTextSize ( const QFont &  Font)

Definition at line 261 of file marker.cpp.

Here is the caller graph for this function:

void Marker::initText ( int  n)

Definition at line 60 of file marker.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool Marker::load ( const QString &  Line)

Definition at line 475 of file marker.cpp.

Here is the caller graph for this function:

void Marker::makeInvalid ( )

Definition at line 245 of file marker.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool Marker::moveLeftRight ( bool  left)

Definition at line 270 of file marker.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool Marker::moveUpDown ( bool  up)

Definition at line 299 of file marker.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 357 of file marker.cpp.

Here is the call graph for this function:

void Marker::paintScheme ( QPainter *  p)
virtual

Reimplemented from Element.

Definition at line 407 of file marker.cpp.

Marker * Marker::sameNewOne ( Graph pGraph_)

Definition at line 539 of file marker.cpp.

Here is the call graph for this function:

QString Marker::save ( )

Definition at line 457 of file marker.cpp.

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

Reimplemented from Element.

Definition at line 429 of file marker.cpp.

Member Data Documentation

Diagram* Marker::Diag

Definition at line 52 of file marker.h.

float Marker::fCX

Definition at line 57 of file marker.h.

float Marker::fCY

Definition at line 57 of file marker.h.

int Marker::numMode

Definition at line 63 of file marker.h.

int Marker::nVarPos

Definition at line 55 of file marker.h.

Graph* Marker::pGraph

Definition at line 53 of file marker.h.

int Marker::Precision

Definition at line 62 of file marker.h.

QString Marker::Text

Definition at line 59 of file marker.h.

bool Marker::transparent

Definition at line 60 of file marker.h.

double* Marker::VarPos

Definition at line 56 of file marker.h.


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