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

Legend Class Reference

#include <Legend.h>

List of all members.

Public Member Functions

 Legend ()
void save (QTextStream *t)
void open (QTextStream *t, int version)
void setFont (QFont font)
QFont font ()
void enable (bool b)
bool enabled ()
void setPosition (double X, double Y)
double X ()
double Y ()
void enableBorder (bool b)
bool borderEnabled ()
void draw (QPainter *p, PType type, GraphList *graphlist, Point pos, Point size, int w, int h)
bool inside (int X, int Y)
 calculate if point x,y is inside the legend box (for mouse event)


Private Attributes

double x
double y
int x1
int y1
int x2
int y2
QFont f
bool border
bool e
int namelength


Constructor & Destructor Documentation

Legend::Legend  ) 
 


Member Function Documentation

bool Legend::borderEnabled  )  [inline]
 

void Legend::draw QPainter *  p,
PType  type,
GraphList graphlist,
Point  pos,
Point  size,
int  w,
int  h
 

void Legend::enable bool  b  )  [inline]
 

void Legend::enableBorder bool  b  )  [inline]
 

bool Legend::enabled  )  [inline]
 

QFont Legend::font  )  [inline]
 

bool Legend::inside int  X,
int  Y
 

calculate if point x,y is inside the legend box (for mouse event)

void Legend::open QTextStream *  t,
int  version
 

void Legend::save QTextStream *  t  ) 
 

void Legend::setFont QFont  font  )  [inline]
 

void Legend::setPosition double  X,
double  Y
[inline]
 

double Legend::X  )  [inline]
 

double Legend::Y  )  [inline]
 


Member Data Documentation

bool Legend::border [private]
 

bool Legend::e [private]
 

QFont Legend::f [private]
 

int Legend::namelength [private]
 

double Legend::x [private]
 

int Legend::x1 [private]
 

int Legend::x2 [private]
 

double Legend::y [private]
 

int Legend::y1 [private]
 

int Legend::y2 [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