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

#include <ellipsearc.h>

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

Public Member Functions

 EllipseArc ()
 
 ~EllipseArc ()
 
void paintScheme (QPainter *)
 
void getCenter (int &, int &)
 
void setCenter (int, int, bool relative=false)
 
PaintingnewOne ()
 
bool load (const QString &)
 
QString save ()
 
QString saveCpp ()
 
void paint (ViewPainter *)
 
void MouseMoving (QPainter *, int, int, int, int, QPainter *, int, int, bool)
 
bool MousePressing ()
 
bool getSelected (float, float, float)
 
bool resizeTouched (float, float, float)
 
void MouseResizeMoving (int, int, QPainter *)
 
void rotate ()
 
void mirrorX ()
 
void mirrorY ()
 
bool Dialog ()
 
- Public Member Functions inherited from Painting
 Painting ()
 
 ~Painting ()
 
virtual void Bounding (int &, int &, int &, int &)
 
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 Angle
 
int ArcLen
 
- 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 ellipsearc.h.

Constructor & Destructor Documentation

EllipseArc::EllipseArc ( )

Definition at line 29 of file ellipsearc.cpp.

Here is the caller graph for this function:

EllipseArc::~EllipseArc ( )

Definition at line 37 of file ellipsearc.cpp.

Member Function Documentation

bool EllipseArc::Dialog ( )
virtual

Reimplemented from Painting.

Definition at line 371 of file ellipsearc.cpp.

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

Reimplemented from Painting.

Definition at line 68 of file ellipsearc.cpp.

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

Reimplemented from Painting.

Definition at line 306 of file ellipsearc.cpp.

Here is the call graph for this function:

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

Definition at line 89 of file ellipsearc.cpp.

Here is the call graph for this function:

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

Reimplemented from Painting.

Definition at line 99 of file ellipsearc.cpp.

void EllipseArc::mirrorX ( )
virtual

Reimplemented from Painting.

Definition at line 349 of file ellipsearc.cpp.

void EllipseArc::mirrorY ( )
virtual

Reimplemented from Painting.

Definition at line 359 of file ellipsearc.cpp.

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

Reimplemented from Painting.

Definition at line 215 of file ellipsearc.cpp.

Here is the call graph for this function:

bool EllipseArc::MousePressing ( )
virtual

Reimplemented from Painting.

Definition at line 288 of file ellipsearc.cpp.

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

Reimplemented from Painting.

Definition at line 193 of file ellipsearc.cpp.

Here is the call graph for this function:

Painting * EllipseArc::newOne ( )
virtual

Reimplemented from Painting.

Definition at line 83 of file ellipsearc.cpp.

Here is the call graph for this function:

void EllipseArc::paint ( ViewPainter p)
virtual

Reimplemented from Painting.

Definition at line 42 of file ellipsearc.cpp.

Here is the call graph for this function:

void EllipseArc::paintScheme ( QPainter *  p)
virtual

Reimplemented from Element.

Definition at line 62 of file ellipsearc.cpp.

Here is the caller graph for this function:

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

Reimplemented from Painting.

Definition at line 171 of file ellipsearc.cpp.

void EllipseArc::rotate ( )
virtual

Reimplemented from Painting.

Definition at line 335 of file ellipsearc.cpp.

QString EllipseArc::save ( )
virtual

Reimplemented from Painting.

Definition at line 146 of file ellipsearc.cpp.

QString EllipseArc::saveCpp ( )
virtual

Reimplemented from Painting.

Definition at line 158 of file ellipsearc.cpp.

Here is the call graph for this function:

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

Reimplemented from Element.

Definition at line 76 of file ellipsearc.cpp.

Member Data Documentation

int EllipseArc::Angle

Definition at line 53 of file ellipsearc.h.

int EllipseArc::ArcLen

Definition at line 53 of file ellipsearc.h.

QPen EllipseArc::Pen

Definition at line 52 of file ellipsearc.h.


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