Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Rect Class Reference

#include <Rect.h>

List of all members.

Public Member Functions

 Rect (Point s=0, Point e=0, QColor c="black", int w=1, bool f=true, QColor fi="white")
QStringList Info ()
void save (QTextStream *t)
void open (QTextStream *t, int version)
QDomElement saveXML (QDomDocument doc)
void openXML (QDomNode node)
Point startPoint ()
Point endPoint ()
void setStartPoint (double x, double y)
void setEndPoint (double x, double y)
int Width ()
void setWidth (int w)
QColor Color ()
void setColor (QColor c)
void setColor (QString c)
QColor FillColor ()
void setFillColor (QColor c)
void setFillColor (QString c)
bool isFilled ()
void setFilled (bool f=true)
void draw (QPainter *p, int w, int h)
bool inside (int x, int y, int w, int h)

Protected Attributes

Point start
Point end
QColor color
int width
bool filled
QColor fillcolor


Constructor & Destructor Documentation

Rect::Rect Point  s = 0,
Point  e = 0,
QColor  c = "black",
int  w = 1,
bool  f = true,
QColor  fi = "white"
 


Member Function Documentation

QColor Rect::Color  )  [inline]
 

void Rect::draw QPainter *  p,
int  w,
int  h
 

Point Rect::endPoint  )  [inline]
 

QColor Rect::FillColor  )  [inline]
 

QStringList Rect::Info  ) 
 

bool Rect::inside int  x,
int  y,
int  w,
int  h
 

bool Rect::isFilled  )  [inline]
 

void Rect::open QTextStream *  t,
int  version
 

void Rect::openXML QDomNode  node  ) 
 

void Rect::save QTextStream *  t  ) 
 

QDomElement Rect::saveXML QDomDocument  doc  ) 
 

void Rect::setColor QString  c  )  [inline]
 

void Rect::setColor QColor  c  )  [inline]
 

void Rect::setEndPoint double  x,
double  y
[inline]
 

void Rect::setFillColor QString  c  )  [inline]
 

void Rect::setFillColor QColor  c  )  [inline]
 

void Rect::setFilled bool  f = true  )  [inline]
 

void Rect::setStartPoint double  x,
double  y
[inline]
 

void Rect::setWidth int  w  )  [inline]
 

Point Rect::startPoint  )  [inline]
 

int Rect::Width  )  [inline]
 


Member Data Documentation

QColor Rect::color [protected]
 

Point Rect::end [protected]
 

QColor Rect::fillcolor [protected]
 

bool Rect::filled [protected]
 

Point Rect::start [protected]
 

int Rect::width [protected]
 


The documentation for this class was generated from the following files:
Generated on Sun Apr 2 02:05:10 2006 for LabPlot by  doxygen 1.4.4