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

Label Class Reference

#include <Label.h>

List of all members.

Public Member Functions

 Label (QString string=QString(""), QFont font=QFont(QString("Adobe Times"), 14), QColor color=QColor("black"))
QStringList Info ()
void save (QTextStream *ts)
void open (QTextStream *ts, int version)
void draw (QPainter *p, Point pos, Point size, int w, int h, double phi)
bool inside (int x0, int y0, Point pos, Point size, int w, int h)
 return true if mouse inside (x0,y0)

bool insideY (int x0, int y0, Point pos, Point size, int w, int h)
bool insideZ (int x0, int y0, Point pos, Point size, int w, int h)
void setPosition (double X, double Y)
double X ()
double Y ()
QString title ()
void setTitle (QString title)
void setColor (QColor color)
QColor color ()
void setFont (QFont font)
QFont font ()
void setBoxed (bool b)
bool Boxed ()
double getRotation ()
void setRotation (double r)

Private Attributes

double x
double y
QString t
QFont f
QColor c
QSimpleRichText * richtext
bool boxed
double rotation


Constructor & Destructor Documentation

Label::Label QString  string = QString(""),
QFont  font = QFont(QString("Adobe Times"), 14),
QColor  color = QColor("black")
 


Member Function Documentation

bool Label::Boxed  )  [inline]
 

QColor Label::color  )  [inline]
 

void Label::draw QPainter *  p,
Point  pos,
Point  size,
int  w,
int  h,
double  phi
 

QFont Label::font  )  [inline]
 

double Label::getRotation  )  [inline]
 

QStringList Label::Info  ) 
 

bool Label::inside int  x0,
int  y0,
Point  pos,
Point  size,
int  w,
int  h
 

return true if mouse inside (x0,y0)

bool Label::insideY int  x0,
int  y0,
Point  pos,
Point  size,
int  w,
int  h
 

bool Label::insideZ int  x0,
int  y0,
Point  pos,
Point  size,
int  w,
int  h
 

void Label::open QTextStream *  ts,
int  version
 

void Label::save QTextStream *  ts  ) 
 

void Label::setBoxed bool  b  )  [inline]
 

void Label::setColor QColor  color  )  [inline]
 

void Label::setFont QFont  font  )  [inline]
 

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

void Label::setRotation double  r  )  [inline]
 

void Label::setTitle QString  title  )  [inline]
 

QString Label::title  )  [inline]
 

double Label::X  )  [inline]
 

double Label::Y  )  [inline]
 


Member Data Documentation

bool Label::boxed [private]
 

QColor Label::c [private]
 

QFont Label::f [private]
 

QSimpleRichText* Label::richtext [private]
 

double Label::rotation [private]
 

QString Label::t [private]
 

double Label::x [private]
 

double Label::y [private]
 


The documentation for this class was generated from the following files:
Generated on Sun Nov 28 22:31:17 2004 for LabPlot by doxygen 1.3.6