Qucs-GUI  0.0.19
Public Member Functions | Static Public Member Functions | Data Fields
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 (Schematic *)
void getCenter (int &, int &)
void setCenter (int, int, bool relative=false)
PaintingnewOne ()
bool load (const QString &)
QString save ()
QString saveCpp ()
QString saveJSON ()
void paint (ViewPainter *)
void MouseMoving (Schematic *, int, int, int, int, Schematic *, int, int, bool)
bool MousePressing ()
bool getSelected (float, float, float)
bool resizeTouched (float, float, float)
void MouseResizeMoving (int, int, Schematic *)
void rotate ()
void mirrorX ()
void mirrorY ()
bool Dialog ()

Static Public Member Functions

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

Data Fields

QPen Pen
QBrush Brush
bool filled

Detailed Description

Definition at line 26 of file ellipse.h.


Constructor & Destructor Documentation

Ellipse::Ellipse ( bool  _filled = false)

Definition at line 28 of file ellipse.cpp.

Here is the caller graph for this function:

Definition at line 40 of file ellipse.cpp.


Member Function Documentation

bool Ellipse::Dialog ( ) [virtual]

Reimplemented from Painting.

Definition at line 369 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 75 of file ellipse.cpp.

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

Reimplemented from Painting.

Definition at line 314 of file ellipse.cpp.

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

Definition at line 96 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 106 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 116 of file ellipse.cpp.

void Ellipse::mirrorX ( ) [virtual]

Reimplemented from Painting.

Definition at line 354 of file ellipse.cpp.

void Ellipse::mirrorY ( ) [virtual]

Reimplemented from Painting.

Definition at line 361 of file ellipse.cpp.

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

Reimplemented from Painting.

Definition at line 259 of file ellipse.cpp.

Here is the call graph for this function:

bool Ellipse::MousePressing ( ) [virtual]

Reimplemented from Painting.

Definition at line 293 of file ellipse.cpp.

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

Reimplemented from Painting.

Definition at line 237 of file ellipse.cpp.

Here is the call graph for this function:

Painting * Ellipse::newOne ( ) [virtual]

Reimplemented from Painting.

Definition at line 90 of file ellipse.cpp.

Here is the call graph for this function:

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

Reimplemented from Painting.

Definition at line 45 of file ellipse.cpp.

Here is the call graph for this function:

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

Reimplemented from Element.

Definition at line 69 of file ellipse.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from Painting.

Definition at line 215 of file ellipse.cpp.

void Ellipse::rotate ( ) [virtual]

Reimplemented from Painting.

Definition at line 343 of file ellipse.cpp.

QString Ellipse::save ( ) [virtual]

Reimplemented from Painting.

Definition at line 169 of file ellipse.cpp.

QString Ellipse::saveCpp ( ) [virtual]

Reimplemented from Painting.

Definition at line 183 of file ellipse.cpp.

Here is the call graph for this function:

QString Ellipse::saveJSON ( ) [virtual]

Reimplemented from Painting.

Definition at line 198 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 83 of file ellipse.cpp.


Field Documentation

Definition at line 55 of file ellipse.h.

Definition at line 56 of file ellipse.h.

Definition at line 54 of file ellipse.h.


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