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

#include <graphicline.h>

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

Public Member Functions

 GraphicLine (int cx_=0, int cy_=0, int x2_=0, int y2_=0, QPen Pen_=QPen(QColor()))
 ~GraphicLine ()
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 &)
bool resizeTouched (float, float, float)
void MouseResizeMoving (int, int, Schematic *)
void rotate ()
void mirrorX ()
void mirrorY ()
bool Dialog ()

Static Public Member Functions

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

Data Fields

QPen Pen

Detailed Description

Definition at line 26 of file graphicline.h.


Constructor & Destructor Documentation

GraphicLine::GraphicLine ( int  cx_ = 0,
int  cy_ = 0,
int  x2_ = 0,
int  y2_ = 0,
QPen  Pen_ = QPen(QColor()) 
)

Definition at line 26 of file graphicline.cpp.

Here is the caller graph for this function:

Definition at line 38 of file graphicline.cpp.


Member Function Documentation

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

Reimplemented from Painting.

Definition at line 282 of file graphicline.cpp.

bool GraphicLine::Dialog ( ) [virtual]

Reimplemented from Painting.

Definition at line 322 of file graphicline.cpp.

void GraphicLine::getCenter ( int &  x,
int &  y 
) [virtual]

Reimplemented from Painting.

Definition at line 67 of file graphicline.cpp.

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

Reimplemented from Painting.

Definition at line 247 of file graphicline.cpp.

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

Definition at line 88 of file graphicline.cpp.

Here is the call graph for this function:

bool GraphicLine::load ( const QString &  s) [virtual]

Reimplemented from Painting.

Definition at line 98 of file graphicline.cpp.

void GraphicLine::mirrorX ( ) [virtual]

Reimplemented from Painting.

Definition at line 305 of file graphicline.cpp.

void GraphicLine::mirrorY ( ) [virtual]

Reimplemented from Painting.

Definition at line 313 of file graphicline.cpp.

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

Reimplemented from Painting.

Definition at line 204 of file graphicline.cpp.

Here is the call graph for this function:

bool GraphicLine::MousePressing ( ) [virtual]

Reimplemented from Painting.

Definition at line 233 of file graphicline.cpp.

void GraphicLine::MouseResizeMoving ( int  x,
int  y,
Schematic p 
) [virtual]

Reimplemented from Painting.

Definition at line 192 of file graphicline.cpp.

Here is the call graph for this function:

Painting * GraphicLine::newOne ( ) [virtual]

Reimplemented from Painting.

Definition at line 82 of file graphicline.cpp.

Here is the call graph for this function:

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

Reimplemented from Painting.

Definition at line 43 of file graphicline.cpp.

Here is the call graph for this function:

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

Reimplemented from Element.

Definition at line 61 of file graphicline.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool GraphicLine::resizeTouched ( float  fX,
float  fY,
float  len 
) [virtual]

Reimplemented from Painting.

Definition at line 170 of file graphicline.cpp.

void GraphicLine::rotate ( ) [virtual]

Reimplemented from Painting.

Definition at line 293 of file graphicline.cpp.

QString GraphicLine::save ( ) [virtual]

Reimplemented from Painting.

Definition at line 137 of file graphicline.cpp.

QString GraphicLine::saveCpp ( ) [virtual]

Reimplemented from Painting.

Definition at line 147 of file graphicline.cpp.

Here is the call graph for this function:

QString GraphicLine::saveJSON ( ) [virtual]

Reimplemented from Painting.

Definition at line 157 of file graphicline.cpp.

Here is the call graph for this function:

void GraphicLine::setCenter ( int  x,
int  y,
bool  relative = false 
) [virtual]

Reimplemented from Element.

Definition at line 75 of file graphicline.cpp.


Field Documentation

Definition at line 55 of file graphicline.h.


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