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

#include <painting.h>

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

Public Member Functions

 Painting ()
 ~Painting ()
virtual void getCenter (int &, int &)
virtual bool getSelected (float, float, float)
virtual PaintingnewOne ()
virtual bool load (const QString &)
virtual QString save ()
virtual QString saveCpp ()
virtual QString saveJSON ()
virtual void paint (ViewPainter *)
virtual void MouseMoving (Schematic *, int, int, int, int, Schematic *, int, int, bool)
virtual bool MousePressing ()
virtual void Bounding (int &, int &, int &, int &)
virtual bool resizeTouched (float, float, float)
virtual void MouseResizeMoving (int, int, Schematic *)
virtual void rotate ()
virtual void mirrorX ()
virtual void mirrorY ()
virtual bool Dialog ()
QString toPenString (int)
QString toBrushString (int)

Data Fields

QString Name
int State

Detailed Description

Definition at line 25 of file painting.h.


Constructor & Destructor Documentation

Definition at line 19 of file painting.cpp.

Here is the caller graph for this function:

Painting::~Painting ( ) [inline]

Definition at line 28 of file painting.h.


Member Function Documentation

void Painting::Bounding ( int &  _x1,
int &  _y1,
int &  _x2,
int &  _y2 
) [virtual]

Reimplemented in GraphicText, GraphicLine, Arrow, and PortSymbol.

Definition at line 30 of file painting.cpp.

Here is the caller graph for this function:

virtual bool Painting::Dialog ( ) [inline, virtual]

Reimplemented in ID_Text, GraphicLine, Arrow, Ellipse, GraphicText, Rectangle, and EllipseArc.

Definition at line 49 of file painting.h.

virtual void Painting::getCenter ( int &  ,
int &   
) [inline, virtual]

Reimplemented from Element.

Reimplemented in ID_Text, GraphicText, Arrow, GraphicLine, Ellipse, EllipseArc, PortSymbol, and Rectangle.

Definition at line 30 of file painting.h.

Here is the caller graph for this function:

virtual bool Painting::getSelected ( float  ,
float  ,
float   
) [inline, virtual]

Reimplemented in ID_Text, GraphicText, Ellipse, GraphicLine, Rectangle, Arrow, EllipseArc, and PortSymbol.

Definition at line 31 of file painting.h.

virtual bool Painting::load ( const QString &  ) [inline, virtual]

Reimplemented in ID_Text, GraphicText, Arrow, Ellipse, GraphicLine, Rectangle, EllipseArc, and PortSymbol.

Definition at line 34 of file painting.h.

Here is the caller graph for this function:

virtual void Painting::mirrorX ( ) [inline, virtual]

Reimplemented in ID_Text, GraphicLine, Arrow, Ellipse, GraphicText, Rectangle, EllipseArc, and PortSymbol.

Definition at line 47 of file painting.h.

Here is the caller graph for this function:

virtual void Painting::mirrorY ( ) [inline, virtual]

Reimplemented in ID_Text, GraphicLine, Arrow, Ellipse, GraphicText, Rectangle, EllipseArc, and PortSymbol.

Definition at line 48 of file painting.h.

Here is the caller graph for this function:

virtual void Painting::MouseMoving ( Schematic ,
int  ,
int  ,
int  ,
int  ,
Schematic ,
int  ,
int  ,
bool   
) [inline, virtual]

Reimplemented in GraphicText, Ellipse, GraphicLine, Rectangle, Arrow, and EllipseArc.

Definition at line 39 of file painting.h.

virtual bool Painting::MousePressing ( ) [inline, virtual]

Reimplemented in GraphicText, Ellipse, GraphicLine, Rectangle, Arrow, and EllipseArc.

Definition at line 41 of file painting.h.

virtual void Painting::MouseResizeMoving ( int  ,
int  ,
Schematic  
) [inline, virtual]

Reimplemented in GraphicLine, Arrow, Ellipse, Rectangle, and EllipseArc.

Definition at line 44 of file painting.h.

Painting * Painting::newOne ( ) [virtual]

Reimplemented in GraphicText, Arrow, GraphicLine, Ellipse, EllipseArc, and Rectangle.

Definition at line 25 of file painting.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void Painting::paint ( ViewPainter ) [inline, virtual]

Reimplemented in ID_Text, GraphicText, Ellipse, GraphicLine, Rectangle, EllipseArc, PortSymbol, and Arrow.

Definition at line 38 of file painting.h.

virtual bool Painting::resizeTouched ( float  ,
float  ,
float   
) [inline, virtual]

Reimplemented in GraphicLine, Arrow, Ellipse, Rectangle, and EllipseArc.

Definition at line 43 of file painting.h.

virtual void Painting::rotate ( ) [inline, virtual]

Reimplemented in ID_Text, GraphicLine, Arrow, Ellipse, GraphicText, Rectangle, EllipseArc, and PortSymbol.

Definition at line 46 of file painting.h.

Here is the caller graph for this function:

QString Painting::save ( ) [virtual]

Reimplemented in ID_Text, GraphicText, Arrow, Ellipse, GraphicLine, Rectangle, EllipseArc, and PortSymbol.

Definition at line 36 of file painting.cpp.

Here is the caller graph for this function:

QString Painting::saveCpp ( ) [virtual]

Reimplemented in ID_Text, GraphicText, Arrow, Ellipse, GraphicLine, Rectangle, EllipseArc, and PortSymbol.

Definition at line 41 of file painting.cpp.

Here is the caller graph for this function:

QString Painting::saveJSON ( ) [virtual]

Reimplemented in ID_Text, GraphicText, Arrow, Ellipse, GraphicLine, Rectangle, EllipseArc, and PortSymbol.

Definition at line 46 of file painting.cpp.

Here is the caller graph for this function:

QString Painting::toBrushString ( int  brush)

Definition at line 64 of file painting.cpp.

Here is the caller graph for this function:

QString Painting::toPenString ( int  pen)

Definition at line 51 of file painting.cpp.

Here is the caller graph for this function:


Field Documentation

QString Painting::Name

Definition at line 53 of file painting.h.

Definition at line 54 of file painting.h.


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