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

#include <graphictext.h>

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

Public Member Functions

 GraphicText ()
 
 ~GraphicText ()
 
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)
 
void Bounding (int &, int &, int &, int &)
 
void rotate ()
 
void mirrorX ()
 
void mirrorY ()
 
bool Dialog ()
 
- Public Member Functions inherited from Painting
 Painting ()
 
 ~Painting ()
 
virtual bool resizeTouched (float, float, float)
 
virtual void MouseResizeMoving (int, int, QPainter *)
 
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

QColor Color
 
QFont Font
 
QString Text
 
int Angle
 
- 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 24 of file graphictext.h.

Constructor & Destructor Documentation

GraphicText::GraphicText ( )

Definition at line 33 of file graphictext.cpp.

Here is the caller graph for this function:

GraphicText::~GraphicText ( )

Definition at line 45 of file graphictext.cpp.

Member Function Documentation

void GraphicText::Bounding ( int &  xmin,
int &  ymin,
int &  xmax,
int &  ymax 
)
virtual

Reimplemented from Painting.

Definition at line 246 of file graphictext.cpp.

Here is the call graph for this function:

bool GraphicText::Dialog ( )
virtual

Reimplemented from Painting.

Definition at line 299 of file graphictext.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from Painting.

Definition at line 100 of file graphictext.cpp.

bool GraphicText::getSelected ( float  fX,
float  fY,
float   
)
virtual

Reimplemented from Painting.

Definition at line 229 of file graphictext.cpp.

Here is the call graph for this function:

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

Definition at line 121 of file graphictext.cpp.

Here is the call graph for this function:

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

Reimplemented from Painting.

Definition at line 131 of file graphictext.cpp.

Here is the call graph for this function:

void GraphicText::mirrorX ( )
virtual

Reimplemented from Painting.

Definition at line 286 of file graphictext.cpp.

void GraphicText::mirrorY ( )
virtual

Reimplemented from Painting.

Definition at line 292 of file graphictext.cpp.

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

Reimplemented from Painting.

Definition at line 200 of file graphictext.cpp.

bool GraphicText::MousePressing ( )
virtual

Reimplemented from Painting.

Definition at line 221 of file graphictext.cpp.

Here is the call graph for this function:

Painting * GraphicText::newOne ( )
virtual

Reimplemented from Painting.

Definition at line 115 of file graphictext.cpp.

Here is the call graph for this function:

void GraphicText::paint ( ViewPainter p)
virtual

Reimplemented from Painting.

Definition at line 50 of file graphictext.cpp.

Here is the call graph for this function:

void GraphicText::paintScheme ( QPainter *  p)
virtual

Reimplemented from Element.

Definition at line 86 of file graphictext.cpp.

void GraphicText::rotate ( )
virtual

Reimplemented from Painting.

Definition at line 276 of file graphictext.cpp.

QString GraphicText::save ( )
virtual

Reimplemented from Painting.

Definition at line 170 of file graphictext.cpp.

Here is the call graph for this function:

QString GraphicText::saveCpp ( )
virtual

Reimplemented from Painting.

Definition at line 183 of file graphictext.cpp.

Here is the call graph for this function:

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

Reimplemented from Element.

Definition at line 108 of file graphictext.cpp.

Member Data Documentation

int GraphicText::Angle

Definition at line 52 of file graphictext.h.

QColor GraphicText::Color

Definition at line 49 of file graphictext.h.

QFont GraphicText::Font

Definition at line 50 of file graphictext.h.

QString GraphicText::Text

Definition at line 51 of file graphictext.h.


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