Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields
ID_Text Class Reference

#include <id_text.h>

Inheritance diagram for ID_Text:
Painting Element

Public Member Functions

 ID_Text (int cx_=0, int cy_=0)
 
 ~ID_Text ()
 
void paintScheme (Schematic *)
 
void getCenter (int &, int &)
 
void setCenter (int, int, bool relative=false)
 
bool load (const QString &)
 
QString save ()
 
QString saveCpp ()
 
QString saveJSON ()
 
void paint (ViewPainter *)
 
bool getSelected (float, float, float)
 
void rotate ()
 
void mirrorX ()
 
void mirrorY ()
 
bool Dialog ()
 
- Public Member Functions inherited from Painting
 Painting ()
 
 ~Painting ()
 
virtual PaintingnewOne ()
 
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 *)
 
QString toPenString (int)
 
QString toBrushString (int)
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 

Data Fields

QString Prefix
 
Q3PtrList< SubParameterParameter
 
- Data Fields inherited from Painting
QString Name
 
int State
 
- Data Fields inherited from Element
bool isSelected
 
int Type
 
int cx
 
int cy
 
int x1
 
int y1
 
int x2
 
int y2
 

Detailed Description

Definition at line 38 of file id_text.h.

Constructor & Destructor Documentation

ID_Text::ID_Text ( int  cx_ = 0,
int  cy_ = 0 
)

Definition at line 22 of file id_text.cpp.

ID_Text::~ID_Text ( )

Definition at line 34 of file id_text.cpp.

Member Function Documentation

bool ID_Text::Dialog ( )
virtual

Reimplemented from Painting.

Definition at line 190 of file id_text.cpp.

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

Reimplemented from Painting.

Definition at line 78 of file id_text.cpp.

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

Reimplemented from Painting.

Definition at line 159 of file id_text.cpp.

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

Reimplemented from Painting.

Definition at line 93 of file id_text.cpp.

void ID_Text::mirrorX ( )
virtual

Reimplemented from Painting.

Definition at line 177 of file id_text.cpp.

void ID_Text::mirrorY ( )
virtual

Reimplemented from Painting.

Definition at line 183 of file id_text.cpp.

void ID_Text::paint ( ViewPainter p)
virtual

Reimplemented from Painting.

Definition at line 39 of file id_text.cpp.

void ID_Text::paintScheme ( Schematic p)
virtual

Reimplemented from Element.

Definition at line 72 of file id_text.cpp.

void ID_Text::rotate ( )
virtual

Reimplemented from Painting.

Definition at line 171 of file id_text.cpp.

QString ID_Text::save ( )
virtual

Reimplemented from Painting.

Definition at line 127 of file id_text.cpp.

QString ID_Text::saveCpp ( )
virtual

Reimplemented from Painting.

Definition at line 143 of file id_text.cpp.

QString ID_Text::saveJSON ( )
virtual

Reimplemented from Painting.

Definition at line 151 of file id_text.cpp.

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

Reimplemented from Element.

Definition at line 86 of file id_text.cpp.

Field Documentation

Q3PtrList<SubParameter> ID_Text::Parameter

Definition at line 60 of file id_text.h.

QString ID_Text::Prefix

Definition at line 59 of file id_text.h.


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