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

Symbol Class Reference

#include <Symbol.h>

List of all members.

Public Member Functions

 Symbol (SType t=SNONE, QColor c="blue", int s=5, FType f=FNONE, QColor fc="red", int b=1)
void save (QTextStream *t)
void open (QTextStream *t, int version)
void draw (QPainter *p, int X, int Y)
 draw the Symbol to the specified QPainter at position X,Y

SType getType ()
void setType (int t)
QColor getColor ()
void setColor (QString c)
int getSize ()
void setSize (int s)
FType getFill ()
void setFill (FType f)
QColor getFillColor ()
void setFillColor (QString fc)
int getBrush ()
void setBrush (int b)

Private Attributes

SType type
QColor color
int size
FType fill
QColor fillcolor
int brush


Constructor & Destructor Documentation

Symbol::Symbol SType  t = SNONE,
QColor  c = "blue",
int  s = 5,
FType  f = FNONE,
QColor  fc = "red",
int  b = 1
 


Member Function Documentation

void Symbol::draw QPainter *  p,
int  X,
int  Y
 

draw the Symbol to the specified QPainter at position X,Y

int Symbol::getBrush  )  [inline]
 

QColor Symbol::getColor  )  [inline]
 

FType Symbol::getFill  )  [inline]
 

QColor Symbol::getFillColor  )  [inline]
 

int Symbol::getSize  )  [inline]
 

SType Symbol::getType  )  [inline]
 

void Symbol::open QTextStream *  t,
int  version
 

void Symbol::save QTextStream *  t  ) 
 

void Symbol::setBrush int  b  )  [inline]
 

void Symbol::setColor QString  c  )  [inline]
 

void Symbol::setFill FType  f  )  [inline]
 

void Symbol::setFillColor QString  fc  )  [inline]
 

void Symbol::setSize int  s  )  [inline]
 

void Symbol::setType int  t  )  [inline]
 


Member Data Documentation

int Symbol::brush [private]
 

QColor Symbol::color [private]
 

FType Symbol::fill [private]
 

QColor Symbol::fillcolor [private]
 

int Symbol::size [private]
 

SType Symbol::type [private]
 


The documentation for this class was generated from the following files:
Generated on Sun Aug 29 14:56:05 2004 for LabPlot by doxygen 1.3.6