Qucs-GUI  0.0.19
Public Member Functions | Static Public Member Functions | Data Fields
Arrow Class Reference

The Arrow class implements the arrow painting. More...

#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 (Schematic *)
void getCenter (int &, int &)
void setCenter (int, int, bool relative=false)
PaintingnewOne ()
bool load (const QString &)
QString save ()
QString saveCpp ()
QString saveJSON ()
void MouseMoving (Schematic *, int, int, int, int, Schematic *, 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, Schematic *)
void rotate ()
void mirrorX ()
void mirrorY ()
bool Dialog ()
void calcArrowHead ()

Static Public Member Functions

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

Data Fields

QPen Pen
int Style
double Height
double Width
double Length
double beta
int xp1
int yp1
int xp2
int yp2

Detailed Description

The Arrow class implements the arrow painting.

Definition at line 26 of file arrow.h.


Constructor & Destructor Documentation

Definition at line 34 of file arrow.cpp.

Here is the caller graph for this function:

Definition at line 50 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 431 of file arrow.cpp.

Definition at line 273 of file arrow.cpp.

Here is the caller graph for this function:

bool Arrow::Dialog ( ) [virtual]

Reimplemented from Painting.

Definition at line 483 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 118 of file arrow.cpp.

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

Reimplemented from Painting.

Definition at line 337 of file arrow.cpp.

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

Definition at line 139 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 149 of file arrow.cpp.

Here is the call graph for this function:

void Arrow::mirrorX ( ) [virtual]

Reimplemented from Painting.

Definition at line 462 of file arrow.cpp.

void Arrow::mirrorY ( ) [virtual]

Reimplemented from Painting.

Definition at line 472 of file arrow.cpp.

void Arrow::MouseMoving ( Schematic paintScale,
int  ,
int  ,
int  gx,
int  gy,
Schematic p,
int  x,
int  y,
bool  drawn 
) [virtual]

Reimplemented from Painting.

Definition at line 289 of file arrow.cpp.

Here is the call graph for this function:

bool Arrow::MousePressing ( ) [virtual]

Reimplemented from Painting.

Definition at line 321 of file arrow.cpp.

Here is the call graph for this function:

void Arrow::MouseResizeMoving ( int  x,
int  y,
Schematic p 
) [virtual]

Reimplemented from Painting.

Definition at line 262 of file arrow.cpp.

Here is the call graph for this function:

Painting * Arrow::newOne ( ) [virtual]

Reimplemented from Painting.

Definition at line 133 of file arrow.cpp.

Here is the call graph for this function:

void Arrow::paint ( ViewPainter p) [virtual]

Reimplemented from Painting.

Definition at line 55 of file arrow.cpp.

Here is the call graph for this function:

void Arrow::paintScheme ( Schematic p) [virtual]

Reimplemented from Element.

Definition at line 110 of file arrow.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from Painting.

Definition at line 241 of file arrow.cpp.

void Arrow::rotate ( ) [virtual]

Reimplemented from Painting.

Definition at line 442 of file arrow.cpp.

QString Arrow::save ( ) [virtual]

Reimplemented from Painting.

Definition at line 205 of file arrow.cpp.

QString Arrow::saveCpp ( ) [virtual]

Reimplemented from Painting.

Definition at line 216 of file arrow.cpp.

Here is the call graph for this function:

QString Arrow::saveJSON ( ) [virtual]

Reimplemented from Painting.

Definition at line 227 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 126 of file arrow.cpp.


Field Documentation

double Arrow::beta

Definition at line 59 of file arrow.h.

double Arrow::Height

Definition at line 58 of file arrow.h.

double Arrow::Length

Definition at line 59 of file arrow.h.

QPen Arrow::Pen

Definition at line 56 of file arrow.h.

Definition at line 57 of file arrow.h.

double Arrow::Width

Definition at line 58 of file arrow.h.

Definition at line 60 of file arrow.h.

Definition at line 60 of file arrow.h.

Definition at line 60 of file arrow.h.

Definition at line 60 of file arrow.h.


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