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

Label Class Reference

#include <Label.h>

List of all members.

Public Member Functions

 Label (QString t=QString(""), QFont f=QFont(QString("Adobe Times"), 14), QColor c=QColor("black"))
QStringList Info ()
void save (QTextStream *ts)
 ALSO change in Plot.cc !!!
void open (QTextStream *ts, int version, bool skip=true)
QDomElement saveXML (QDomDocument doc)
void openXML (QDomNode node)
void saveSettings (KConfig *config, QString entry)
void readSettings (KConfig *config, QString entry)
void draw (class Worksheet *ws, 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 ()
void setX (double X)
void setY (double Y)
QString Title ()
QString simpleTitle ()
void setTitle (QString t)
void setColor (QColor c)
void setColor (QString c)
QColor Color ()
void setBackgroundColor (QColor c)
void setBackgroundColor (QString c)
QColor BackgroundColor ()
void setFont (QFont f)
QFont Font ()
void setBoxed (bool b=true)
bool Boxed ()
void setTransparent (bool t)
bool Transparent ()
double Rotation ()
void setRotation (double r)
bool isTeXLabel ()
void setTeXLabel (bool t)
int Length ()

Private Attributes

double x
double y
QString title
QFont font
QColor color
QColor bgcolor
QSimpleRichText * richtext
bool boxed
bool transparent
double rotation
bool is_texlabel


Constructor & Destructor Documentation

Label::Label QString  t = QString(""),
QFont  f = QFont(QString("Adobe Times"), 14),
QColor  c = QColor("black")
 


Member Function Documentation

QColor Label::BackgroundColor  )  [inline]
 

bool Label::Boxed  )  [inline]
 

QColor Label::Color  )  [inline]
 

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

QFont Label::Font  )  [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
 

bool Label::isTeXLabel  )  [inline]
 

int Label::Length  ) 
 

void Label::open QTextStream *  ts,
int  version,
bool  skip = true
 

void Label::openXML QDomNode  node  ) 
 

void Label::readSettings KConfig *  config,
QString  entry
 

double Label::Rotation  )  [inline]
 

void Label::save QTextStream *  ts  ) 
 

ALSO change in Plot.cc !!!

void Label::saveSettings KConfig *  config,
QString  entry
 

QDomElement Label::saveXML QDomDocument  doc  ) 
 

void Label::setBackgroundColor QString  c  )  [inline]
 

void Label::setBackgroundColor QColor  c  )  [inline]
 

void Label::setBoxed bool  b = true  )  [inline]
 

void Label::setColor QString  c  )  [inline]
 

void Label::setColor QColor  c  )  [inline]
 

void Label::setFont QFont  f  )  [inline]
 

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

void Label::setRotation double  r  )  [inline]
 

void Label::setTeXLabel bool  t  )  [inline]
 

void Label::setTitle QString  t  )  [inline]
 

void Label::setTransparent bool  t  )  [inline]
 

void Label::setX double  X  )  [inline]
 

void Label::setY double  Y  )  [inline]
 

QString Label::simpleTitle  ) 
 

QString Label::Title  )  [inline]
 

bool Label::Transparent  )  [inline]
 

double Label::X  )  [inline]
 

double Label::Y  )  [inline]
 


Member Data Documentation

QColor Label::bgcolor [private]
 

bool Label::boxed [private]
 

QColor Label::color [private]
 

QFont Label::font [private]
 

bool Label::is_texlabel [private]
 

QSimpleRichText* Label::richtext [private]
 

double Label::rotation [private]
 

QString Label::title [private]
 

bool Label::transparent [private]
 

double Label::x [private]
 

double Label::y [private]
 


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