My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
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 void paint (ViewPainter *)
 
virtual void MouseMoving (QPainter *, int, int, int, int, QPainter *, int, int, bool)
 
virtual bool MousePressing ()
 
virtual void Bounding (int &, int &, int &, int &)
 
virtual bool resizeTouched (float, float, float)
 
virtual void MouseResizeMoving (int, int, QPainter *)
 
virtual void rotate ()
 
virtual void mirrorX ()
 
virtual void mirrorY ()
 
virtual bool Dialog ()
 
QString toPenString (int)
 
QString toBrushString (int)
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 
virtual void paintScheme (QPainter *)
 
virtual void setCenter (int, int, bool relative=false)
 

Public Attributes

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 27 of file painting.h.

Constructor & Destructor Documentation

Painting::Painting ( )

Definition at line 20 of file painting.cpp.

Here is the caller graph for this function:

Painting::~Painting ( )
inline

Definition at line 30 of file painting.h.

Member Function Documentation

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

Reimplemented in Arrow, GraphicLine, GraphicText, and PortSymbol.

Definition at line 31 of file painting.cpp.

Here is the caller graph for this function:

virtual bool Painting::Dialog ( )
inlinevirtual

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

Definition at line 50 of file painting.h.

virtual void Painting::getCenter ( int &  ,
int &   
)
inlinevirtual

Reimplemented from Element.

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

Definition at line 32 of file painting.h.

Here is the caller graph for this function:

virtual bool Painting::getSelected ( float  ,
float  ,
float   
)
inlinevirtual

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

Definition at line 33 of file painting.h.

virtual bool Painting::load ( const QString &  )
inlinevirtual

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

Definition at line 36 of file painting.h.

virtual void Painting::mirrorX ( )
inlinevirtual

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

Definition at line 48 of file painting.h.

Here is the caller graph for this function:

virtual void Painting::mirrorY ( )
inlinevirtual

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

Definition at line 49 of file painting.h.

Here is the caller graph for this function:

virtual void Painting::MouseMoving ( QPainter *  ,
int  ,
int  ,
int  ,
int  ,
QPainter *  ,
int  ,
int  ,
bool   
)
inlinevirtual

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

Definition at line 40 of file painting.h.

virtual bool Painting::MousePressing ( )
inlinevirtual

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

Definition at line 42 of file painting.h.

virtual void Painting::MouseResizeMoving ( int  ,
int  ,
QPainter *   
)
inlinevirtual

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

Definition at line 45 of file painting.h.

Painting * Painting::newOne ( )
virtual

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

Definition at line 26 of file painting.cpp.

Here is the call graph for this function:

virtual void Painting::paint ( ViewPainter )
inlinevirtual

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

Definition at line 39 of file painting.h.

virtual bool Painting::resizeTouched ( float  ,
float  ,
float   
)
inlinevirtual

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

Definition at line 44 of file painting.h.

virtual void Painting::rotate ( )
inlinevirtual

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

Definition at line 47 of file painting.h.

Here is the caller graph for this function:

QString Painting::save ( )
virtual

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

Definition at line 37 of file painting.cpp.

QString Painting::saveCpp ( )
virtual

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

Definition at line 42 of file painting.cpp.

Here is the caller graph for this function:

QString Painting::toBrushString ( int  brush)

Definition at line 60 of file painting.cpp.

Here is the caller graph for this function:

QString Painting::toPenString ( int  pen)

Definition at line 47 of file painting.cpp.

Here is the caller graph for this function:

Member Data Documentation

QString Painting::Name

Definition at line 54 of file painting.h.

int Painting::State

Definition at line 55 of file painting.h.


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