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

#include <ellipse.h>

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

Public Member Functions

 Ellipse (bool _filled=false)
 
 ~Ellipse ()
 
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)
 
static Elementinfo_filled (QString &, char *&, bool getNewOne=false)
 

Public Attributes

QPen Pen
 
QBrush Brush
 
bool filled
 
- 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 ellipse.h.

Constructor & Destructor Documentation

Ellipse::Ellipse ( bool  _filled = false)

Definition at line 27 of file ellipse.cpp.

Here is the caller graph for this function:

Ellipse::~Ellipse ( )

Definition at line 39 of file ellipse.cpp.

Member Function Documentation

bool Ellipse::Dialog ( )
virtual

Reimplemented from Painting.

Definition at line 354 of file ellipse.cpp.

Here is the call graph for this function:

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

Reimplemented from Painting.

Definition at line 74 of file ellipse.cpp.

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

Reimplemented from Painting.

Definition at line 299 of file ellipse.cpp.

Here is the call graph for this function:

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

Definition at line 95 of file ellipse.cpp.

Here is the call graph for this function:

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

Definition at line 105 of file ellipse.cpp.

Here is the call graph for this function:

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

Reimplemented from Painting.

Definition at line 115 of file ellipse.cpp.

void Ellipse::mirrorX ( )
virtual

Reimplemented from Painting.

Definition at line 339 of file ellipse.cpp.

void Ellipse::mirrorY ( )
virtual

Reimplemented from Painting.

Definition at line 346 of file ellipse.cpp.

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

Reimplemented from Painting.

Definition at line 243 of file ellipse.cpp.

bool Ellipse::MousePressing ( )
virtual

Reimplemented from Painting.

Definition at line 278 of file ellipse.cpp.

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

Reimplemented from Painting.

Definition at line 221 of file ellipse.cpp.

Here is the call graph for this function:

Painting * Ellipse::newOne ( )
virtual

Reimplemented from Painting.

Definition at line 89 of file ellipse.cpp.

Here is the call graph for this function:

void Ellipse::paint ( ViewPainter p)
virtual

Reimplemented from Painting.

Definition at line 44 of file ellipse.cpp.

Here is the call graph for this function:

void Ellipse::paintScheme ( QPainter *  p)
virtual

Reimplemented from Element.

Definition at line 68 of file ellipse.cpp.

Here is the caller graph for this function:

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

Reimplemented from Painting.

Definition at line 199 of file ellipse.cpp.

void Ellipse::rotate ( )
virtual

Reimplemented from Painting.

Definition at line 328 of file ellipse.cpp.

QString Ellipse::save ( )
virtual

Reimplemented from Painting.

Definition at line 168 of file ellipse.cpp.

QString Ellipse::saveCpp ( )
virtual

Reimplemented from Painting.

Definition at line 182 of file ellipse.cpp.

Here is the call graph for this function:

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

Reimplemented from Element.

Definition at line 82 of file ellipse.cpp.

Member Data Documentation

QBrush Ellipse::Brush

Definition at line 54 of file ellipse.h.

bool Ellipse::filled

Definition at line 55 of file ellipse.h.

QPen Ellipse::Pen

Definition at line 53 of file ellipse.h.


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