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

Arrow Class Reference

#include <Arrow.h>

List of all members.

Public Member Functions

 Arrow (bool l=0, bool e=false, double le=0.3, double a=30, bool f=true, QColor fc=QColor("blue"))
QStringList Info ()
void save (QTextStream *t)
void open (QTextStream *t, int version)
QDomElement saveXML (QDomDocument doc, QString id="Arrow")
void openXML (QDomNode node)
bool Location ()
void setLocation (bool l)
bool Enabled ()
void Enable (bool b=true)
void setEnabled (bool b=true)
double Length ()
void setLength (double l)
double Angle ()
void setAngle (double a)
bool Filled ()
void setFilled (bool f=true)
QColor fillColor ()
void setFillColor (QColor c)
void setFillColor (QString c)
void draw (QPainter *p, Point start, Point end, int X, int Y)

Protected Attributes

bool location
bool enabled
double length
double angle
bool filled
QColor fillcolor


Constructor & Destructor Documentation

Arrow::Arrow bool  l = 0,
bool  e = false,
double  le = 0.3,
double  a = 30,
bool  f = true,
QColor  fc = QColor("blue")
 


Member Function Documentation

double Arrow::Angle  )  [inline]
 

void Arrow::draw QPainter *  p,
Point  start,
Point  end,
int  X,
int  Y
 

void Arrow::Enable bool  b = true  )  [inline]
 

bool Arrow::Enabled  )  [inline]
 

QColor Arrow::fillColor  )  [inline]
 

bool Arrow::Filled  )  [inline]
 

QStringList Arrow::Info  ) 
 

double Arrow::Length  )  [inline]
 

bool Arrow::Location  )  [inline]
 

void Arrow::open QTextStream *  t,
int  version
 

void Arrow::openXML QDomNode  node  ) 
 

void Arrow::save QTextStream *  t  ) 
 

QDomElement Arrow::saveXML QDomDocument  doc,
QString  id = "Arrow"
 

void Arrow::setAngle double  a  )  [inline]
 

void Arrow::setEnabled bool  b = true  )  [inline]
 

void Arrow::setFillColor QString  c  )  [inline]
 

void Arrow::setFillColor QColor  c  )  [inline]
 

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

void Arrow::setLength double  l  )  [inline]
 

void Arrow::setLocation bool  l  )  [inline]
 


Member Data Documentation

double Arrow::angle [protected]
 

bool Arrow::enabled [protected]
 

QColor Arrow::fillcolor [protected]
 

bool Arrow::filled [protected]
 

double Arrow::length [protected]
 

bool Arrow::location [protected]
 


The documentation for this class was generated from the following files:
Generated on Sat Oct 13 21:55:02 2007 for LabPlot by  doxygen 1.4.4