My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Arrow Class Reference

#include <arrow.h>

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

Public Member Functions

 Arrow ()
 
 ~Arrow ()
 
void paint (ViewPainter *)
 
void paintScheme (QPainter *)
 
void getCenter (int &, int &)
 
void setCenter (int, int, bool relative=false)
 
PaintingnewOne ()
 
bool load (const QString &)
 
QString save ()
 
QString saveCpp ()
 
void MouseMoving (QPainter *, int, int, int, int, QPainter *, int, int, bool)
 
bool MousePressing ()
 
bool getSelected (float, float, float)
 
void Bounding (int &, int &, int &, int &)
 
bool resizeTouched (float, float, float)
 
void MouseResizeMoving (int, int, QPainter *)
 
void rotate ()
 
void mirrorX ()
 
void mirrorY ()
 
bool Dialog ()
 
void calcArrowHead ()
 
- Public Member Functions inherited from Painting
 Painting ()
 
 ~Painting ()
 
QString toPenString (int)
 
QString toBrushString (int)
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 

Static Public Member Functions

static Elementinfo (QString &, char *&, bool getNewOne=false)
 

Public Attributes

QPen Pen
 
int Style
 
double Height
 
double Width
 
double Length
 
double beta
 
int xp1
 
int yp1
 
int xp2
 
int yp2
 
- Public Attributes inherited from Painting
QString Name
 
int State
 
- 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 26 of file arrow.h.

Constructor & Destructor Documentation

Arrow::Arrow ( )

Definition at line 28 of file arrow.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Arrow::~Arrow ( )

Definition at line 44 of file arrow.cpp.

Member Function Documentation

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

Reimplemented from Painting.

Definition at line 413 of file arrow.cpp.

void Arrow::calcArrowHead ( )

Definition at line 255 of file arrow.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool Arrow::Dialog ( )
virtual

Reimplemented from Painting.

Definition at line 465 of file arrow.cpp.

Here is the call graph for this function:

void Arrow::getCenter ( int &  x,
int &  y 
)
virtual

Reimplemented from Painting.

Definition at line 112 of file arrow.cpp.

bool Arrow::getSelected ( float  fX,
float  fY,
float  w 
)
virtual

Reimplemented from Painting.

Definition at line 319 of file arrow.cpp.

Here is the call graph for this function:

Element * Arrow::info ( QString &  Name,
char *&  BitmapFile,
bool  getNewOne = false 
)
static

Definition at line 133 of file arrow.cpp.

Here is the call graph for this function:

bool Arrow::load ( const QString &  s)
virtual

Reimplemented from Painting.

Definition at line 143 of file arrow.cpp.

Here is the call graph for this function:

void Arrow::mirrorX ( )
virtual

Reimplemented from Painting.

Definition at line 444 of file arrow.cpp.

void Arrow::mirrorY ( )
virtual

Reimplemented from Painting.

Definition at line 454 of file arrow.cpp.

void Arrow::MouseMoving ( QPainter *  paintScale,
int  ,
int  ,
int  gx,
int  gy,
QPainter *  p,
int  x,
int  y,
bool  drawn 
)
virtual

Reimplemented from Painting.

Definition at line 271 of file arrow.cpp.

Here is the call graph for this function:

bool Arrow::MousePressing ( )
virtual

Reimplemented from Painting.

Definition at line 303 of file arrow.cpp.

Here is the call graph for this function:

void Arrow::MouseResizeMoving ( int  x,
int  y,
QPainter *  p 
)
virtual

Reimplemented from Painting.

Definition at line 244 of file arrow.cpp.

Here is the call graph for this function:

Painting * Arrow::newOne ( )
virtual

Reimplemented from Painting.

Definition at line 127 of file arrow.cpp.

Here is the call graph for this function:

void Arrow::paint ( ViewPainter p)
virtual

Reimplemented from Painting.

Definition at line 49 of file arrow.cpp.

Here is the call graph for this function:

void Arrow::paintScheme ( QPainter *  p)
virtual

Reimplemented from Element.

Definition at line 104 of file arrow.cpp.

Here is the caller graph for this function:

bool Arrow::resizeTouched ( float  fX,
float  fY,
float  len 
)
virtual

Reimplemented from Painting.

Definition at line 223 of file arrow.cpp.

void Arrow::rotate ( )
virtual

Reimplemented from Painting.

Definition at line 424 of file arrow.cpp.

QString Arrow::save ( )
virtual

Reimplemented from Painting.

Definition at line 199 of file arrow.cpp.

QString Arrow::saveCpp ( )
virtual

Reimplemented from Painting.

Definition at line 210 of file arrow.cpp.

Here is the call graph for this function:

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

Reimplemented from Element.

Definition at line 120 of file arrow.cpp.

Member Data Documentation

double Arrow::beta

Definition at line 58 of file arrow.h.

double Arrow::Height

Definition at line 57 of file arrow.h.

double Arrow::Length

Definition at line 58 of file arrow.h.

QPen Arrow::Pen

Definition at line 55 of file arrow.h.

int Arrow::Style

Definition at line 56 of file arrow.h.

double Arrow::Width

Definition at line 57 of file arrow.h.

int Arrow::xp1

Definition at line 59 of file arrow.h.

int Arrow::xp2

Definition at line 59 of file arrow.h.

int Arrow::yp1

Definition at line 59 of file arrow.h.

int Arrow::yp2

Definition at line 59 of file arrow.h.


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