List of all members | Properties | Public Slots | Public Member Functions
XLabel Class Reference

#include <xlabel.h>

Inheritance diagram for XLabel:
QLabel

Properties

QString fieldName
 
QString image
 
int precision
 

Public Slots

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

Public Member Functions

 XLabel (QWidget *, const char *=0)
 
virtual ~XLabel ()
 
virtual QString fieldName () const
 
virtual QString image () const
 
virtual int precision () const
 
virtual void setPrecision (int p)
 
virtual Q_INVOKABLE void setPrecision (QValidator *pval)
 
virtual Q_INVOKABLE double toDouble (bool *pIsValid=0)
 

Property Documentation

◆ fieldName

QString XLabel::fieldName
readwrite

◆ image

QString XLabel::image
readwrite

◆ precision

int XLabel::precision
readwrite

Constructor & Destructor Documentation

◆ XLabel()

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

◆ ~XLabel()

XLabel::~XLabel ( )
virtual

Member Function Documentation

◆ fieldName()

virtual QString XLabel::fieldName ( ) const
virtual

◆ image()

virtual QString XLabel::image ( ) const
virtual

◆ precision()

virtual int XLabel::precision ( ) const
virtual

◆ setDataWidgetMap

void XLabel::setDataWidgetMap ( XDataWidgetMapper m)
virtualslot

◆ setDouble

void XLabel::setDouble ( const double  pDouble,
const int  pPrec = -1 
)
virtualslot

◆ setFieldName

void XLabel::setFieldName ( QString  p)
virtualslot

◆ setImage

void XLabel::setImage ( QString  image)
virtualslot

◆ setPrecision() [1/2]

void XLabel::setPrecision ( int  p)
virtual

◆ setPrecision() [2/2]

void XLabel::setPrecision ( QValidator *  pval)
virtual

◆ setText [1/3]

void XLabel::setText ( const char *  pText)
virtualslot

◆ setText [2/3]

void XLabel::setText ( const QString &  pText)
virtualslot

◆ setText [3/3]

void XLabel::setText ( const QVariant &  pVariant)
virtualslot

◆ setTextColor

void XLabel::setTextColor ( const QString &  pColorName)
virtualslot

◆ toDouble()

double XLabel::toDouble ( bool *  pIsValid = 0)
virtual

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

Generated on Mon May 3 2021 xTuple ERP Programmer Reference, Version 4.12.0 doxygen 1.8.17