XLabel Class Reference

#include <xlabel.h>

List of all members.

Properties

QString fieldName
int precision

Public Member Functions

 XLabel (QWidget *, const char *=0)
virtual QString fieldName () const
int precision () const
virtual Q_INVOKABLE void setPrecision (QIntValidator *)
virtual Q_INVOKABLE void setPrecision (QDoubleValidator *)
virtual void setPrecision (int)
Q_INVOKABLE double toDouble (bool *=0)

Public Slots

virtual void setDataWidgetMap (XDataWidgetMapper *m)
virtual void setDouble (const double, const int=-1)
virtual void setFieldName (QString p)
virtual void setText (const QVariant &)
virtual void setText (const char *)
virtual void setText (const QString &)
virtual void setTextColor (const QString &)

Constructor & Destructor Documentation

XLabel::XLabel ( QWidget parent,
const char *  name = 0 
)

Member Function Documentation

virtual QString XLabel::fieldName (  )  const [inline, virtual]
int XLabel::precision (  )  const [inline]
void XLabel::setDataWidgetMap ( XDataWidgetMapper m  )  [virtual, slot]
void XLabel::setDouble ( const double  pDouble,
const int  pPrec = -1 
) [virtual, slot]
virtual void XLabel::setFieldName ( QString  p  )  [inline, virtual, slot]
void XLabel::setPrecision ( QIntValidator  )  [virtual]
void XLabel::setPrecision ( QDoubleValidator pVal  )  [virtual]
void XLabel::setPrecision ( int  pPrec  )  [virtual]
void XLabel::setText ( const QVariant pVariant  )  [virtual, slot]
void XLabel::setText ( const char *  pText  )  [virtual, slot]
void XLabel::setText ( const QString pText  )  [virtual, slot]

Reimplemented from QLabel.

void XLabel::setTextColor ( const QString pColorName  )  [virtual, slot]
double XLabel::toDouble ( bool *  pIsValid = 0  ) 

Property Documentation

QString XLabel::fieldName [read, write]
int XLabel::precision [read, write]

The documentation for this class was generated from the following files:

Generated on Tue Apr 20 12:03:57 2010 xTuple ERP Programmer Reference, Version 3.5.0 doxygen 1.6.1