TerraLib 4.1
TeQtGraphPlot Class Reference

#include <TeQtGraph.h>

Inheritance diagram for TeQtGraphPlot:
TeGraphPlot TePlotWidget

List of all members.

Public Member Functions

 TeQtGraphPlot (QWidget *parent=0, const char *name=0)
 ~TeQtGraphPlot ()
virtual void plot ()
void plotRectangle (int x, int y, int dx, int dy)
void value_to_pixel (double px, double py, int *x, int *y)
int getWidth ()
int getHeight ()
QPixmap * getPixmap ()
void plotOnWindow ()
void plotOnPixmap ()
void copyPixmapToWindow ()
void copyPixmapToWindow (int, int, int, int)
void copyPixmapToPrinter ()
void setLineAttributes (TeColor c, int, int)
void setFillAreaColor (TeColor c)
void setTextColor (TeColor c)
void fillRectangle (int x, int y, int dx, int dy)
void drawRectangle (int x, int y, int dx, int dy)
void drawLine (int sx, int sy, int dx, int dy)
void drawText (int x, int y, char *t, double angle=0)
void fillArc (int xc, int yc, int w, int h, double a1, double a2, TeColor c)
void drawArc (int xc, int yc, int w, int h, double a1, double a2, TeColor c)
void textExtent (string &str, int &w, int &h, double angle=0.)
void resize (int, int)

Public Attributes

int pwidth_
int pheight_
QWidget * widget_

Constructor & Destructor Documentation

TeQtGraphPlot::TeQtGraphPlot ( QWidget *  parent = 0,
const char *  name = 0 
)
TeQtGraphPlot::~TeQtGraphPlot ( )

Member Function Documentation

void TeQtGraphPlot::copyPixmapToPrinter ( )
void TeQtGraphPlot::copyPixmapToWindow ( )
void TeQtGraphPlot::copyPixmapToWindow ( int  ulx,
int  uly,
int  w,
int  h 
)
void TeQtGraphPlot::drawArc ( int  xc,
int  yc,
int  w,
int  h,
double  a1,
double  a2,
TeColor  c 
) [virtual]

Implements TeGraphPlot.

void TeQtGraphPlot::drawLine ( int  sx,
int  sy,
int  dx,
int  dy 
) [virtual]

Implements TeGraphPlot.

void TeQtGraphPlot::drawRectangle ( int  x,
int  y,
int  dx,
int  dy 
) [virtual]

Implements TeGraphPlot.

void TeQtGraphPlot::drawText ( int  x,
int  y,
char *  t,
double  angle = 0 
) [virtual]

Implements TeGraphPlot.

void TeQtGraphPlot::fillArc ( int  xc,
int  yc,
int  w,
int  h,
double  a1,
double  a2,
TeColor  c 
) [virtual]

Implements TeGraphPlot.

void TeQtGraphPlot::fillRectangle ( int  x,
int  y,
int  dx,
int  dy 
) [virtual]

Implements TeGraphPlot.

int TeQtGraphPlot::getHeight ( ) [virtual]

Implements TeGraphPlot.

QPixmap* TeQtGraphPlot::getPixmap ( ) [inline]
int TeQtGraphPlot::getWidth ( ) [virtual]

Implements TeGraphPlot.

void TeQtGraphPlot::plot ( ) [virtual]

Reimplemented in TePlotWidget.

void TeQtGraphPlot::plotOnPixmap ( )
void TeQtGraphPlot::plotOnWindow ( )
void TeQtGraphPlot::plotRectangle ( int  x,
int  y,
int  dx,
int  dy 
)
void TeQtGraphPlot::resize ( int  w,
int  h 
)
void TeQtGraphPlot::setFillAreaColor ( TeColor  c) [virtual]

Implements TeGraphPlot.

void TeQtGraphPlot::setLineAttributes ( TeColor  c,
int  ,
int  w 
) [virtual]

Implements TeGraphPlot.

void TeQtGraphPlot::setTextColor ( TeColor  c) [virtual]

Implements TeGraphPlot.

void TeQtGraphPlot::textExtent ( string str,
int &  w,
int &  h,
double  angle = 0. 
) [virtual]

Implements TeGraphPlot.

void TeQtGraphPlot::value_to_pixel ( double  px,
double  py,
int *  x,
int *  y 
)

Member Data Documentation


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