Qucs-GUI  0.0.19
Public Member Functions | Static Public Member Functions | Data Fields
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 (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)
void Bounding (int &, int &, int &, int &)
void rotate ()
void mirrorX ()
void mirrorY ()
bool Dialog ()

Static Public Member Functions

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

Data Fields

QColor Color
QFont Font
QString Text
int Angle

Detailed Description

Definition at line 28 of file graphictext.h.


Constructor & Destructor Documentation

Definition at line 32 of file graphictext.cpp.

Here is the caller graph for this function:

Definition at line 44 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 268 of file graphictext.cpp.

bool GraphicText::Dialog ( ) [virtual]

Reimplemented from Painting.

Definition at line 321 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 106 of file graphictext.cpp.

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

Reimplemented from Painting.

Definition at line 251 of file graphictext.cpp.

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

Definition at line 127 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 137 of file graphictext.cpp.

Here is the call graph for this function:

void GraphicText::mirrorX ( ) [virtual]

Reimplemented from Painting.

Definition at line 308 of file graphictext.cpp.

void GraphicText::mirrorY ( ) [virtual]

Reimplemented from Painting.

Definition at line 314 of file graphictext.cpp.

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

Reimplemented from Painting.

Definition at line 222 of file graphictext.cpp.

Here is the call graph for this function:

bool GraphicText::MousePressing ( ) [virtual]

Reimplemented from Painting.

Definition at line 243 of file graphictext.cpp.

Here is the call graph for this function:

Painting * GraphicText::newOne ( ) [virtual]

Reimplemented from Painting.

Definition at line 121 of file graphictext.cpp.

Here is the call graph for this function:

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

Reimplemented from Painting.

Definition at line 49 of file graphictext.cpp.

Here is the call graph for this function:

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

Reimplemented from Element.

Definition at line 92 of file graphictext.cpp.

Here is the call graph for this function:

void GraphicText::rotate ( ) [virtual]

Reimplemented from Painting.

Definition at line 298 of file graphictext.cpp.

QString GraphicText::save ( ) [virtual]

Reimplemented from Painting.

Definition at line 177 of file graphictext.cpp.

Here is the call graph for this function:

QString GraphicText::saveCpp ( ) [virtual]

Reimplemented from Painting.

Definition at line 190 of file graphictext.cpp.

Here is the call graph for this function:

QString GraphicText::saveJSON ( ) [virtual]

Reimplemented from Painting.

Definition at line 204 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 114 of file graphictext.cpp.


Field Documentation

Definition at line 57 of file graphictext.h.

Definition at line 54 of file graphictext.h.

Definition at line 55 of file graphictext.h.

Definition at line 56 of file graphictext.h.


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