Properties | Public Member Functions | Public Slots | Signals | Protected Attributes | Protected Slots
CurrCluster Class Reference

#include <currcluster.h>

List of all members.

Properties

bool allowNegative
bool baseVisible
bool currencyDisabled
bool currencyEditable
bool currencyEnabled
bool currencyVisible
bool enabled
QString fieldNameCurr

Public Member Functions

 CurrCluster (QWidget *parent, const char *name=0)
bool allowNegative () const
bool baseVisible () const
QString currAbbr () const
bool currencyDisabled () const
bool currencyEnabled () const
bool currencyVisible () const
QString fieldNameCurr () const
int id () const
bool isBase () const
bool isEnabled () const

Public Slots

void clear ()
void set (const double, const int, const QDate &, const bool=true)
void setAllowNegative (bool)
void setBaseVisible (bool)
void setCurrencyDisabled (bool)
void setCurrencyEditable (bool)
void setCurrencyEnabled (bool)
void setCurrencyVisible (bool)
void setDataWidgetMap (XDataWidgetMapper *m)
void setEnabled (bool)
void setFieldNameCurr (QString p)
virtual void setFormat (CurrDisplayFormats)
void setId (int)
void setPaletteForegroundColor (const QColor &)
void sLostFocus ()

Signals

void editingFinished ()

Protected Attributes

bool _baseVisible
XComboBox_currency
bool _currencyEnabled
QDoubleValidator_validator
QLabel_valueBaseLit
QLabel_valueBaseWidget

Protected Slots

virtual void sId (int)
virtual void sReformat () const

Constructor & Destructor Documentation

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

Member Function Documentation

bool CurrCluster::allowNegative ( ) const [inline]
bool CurrCluster::baseVisible ( ) const [inline]
void CurrCluster::clear ( ) [slot]

Reimplemented from CurrDisplay.

QString CurrCluster::currAbbr ( ) const [inline, virtual]

Reimplemented from CurrDisplay.

bool CurrCluster::currencyDisabled ( ) const [inline]
bool CurrCluster::currencyEnabled ( ) const [inline]
bool CurrCluster::currencyVisible ( ) const [inline]
void CurrCluster::editingFinished ( ) [signal]
QString CurrCluster::fieldNameCurr ( ) const [inline]
int CurrCluster::id ( ) const [inline, virtual]

Reimplemented from CurrDisplay.

bool CurrCluster::isBase ( ) const [inline, virtual]

Reimplemented from CurrDisplay.

bool CurrCluster::isEnabled ( ) const [inline, virtual]

Reimplemented from CurrDisplay.

void CurrCluster::set ( const double  newValue,
const int  newId,
const QDate newDate,
const bool  isBase = true 
) [slot]

Reimplemented from CurrDisplay.

void CurrCluster::setAllowNegative ( bool  value) [slot]
void CurrCluster::setBaseVisible ( bool  showBase) [slot]
void CurrCluster::setCurrencyDisabled ( bool  newValue) [slot]
void CurrCluster::setCurrencyEditable ( bool  newValue) [slot]
void CurrCluster::setCurrencyEnabled ( bool  newValue) [slot]
void CurrCluster::setCurrencyVisible ( bool  showCurrency) [slot]
void CurrCluster::setDataWidgetMap ( XDataWidgetMapper m) [virtual, slot]

Reimplemented from CurrDisplay.

void CurrCluster::setEnabled ( bool  newValue) [slot]

Reimplemented from CurrDisplay.

void CurrCluster::setFieldNameCurr ( QString  p) [inline, slot]
void CurrCluster::setFormat ( CurrDisplayFormats  pFormat) [virtual, slot]

Reimplemented from CurrDisplay.

void CurrCluster::setId ( int  curr_id) [slot]

Reimplemented from CurrDisplay.

void CurrCluster::setPaletteForegroundColor ( const QColor newColor) [slot]

Reimplemented from CurrDisplay.

void CurrCluster::sId ( int  id) [protected, virtual, slot]
void CurrCluster::sLostFocus ( ) [slot]
void CurrCluster::sReformat ( ) const [protected, virtual, slot]

Reimplemented from CurrDisplay.


Member Data Documentation

bool CurrCluster::_baseVisible [protected]

Property Documentation

bool CurrCluster::allowNegative [read, write]
bool CurrCluster::baseVisible [read, write]
bool CurrCluster::currencyDisabled [read, write]
bool CurrCluster::currencyEditable [read, write]
bool CurrCluster::currencyEnabled [read, write]
bool CurrCluster::currencyVisible [read, write]
bool CurrCluster::enabled [read, write]

Reimplemented from CurrDisplay.


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

Generated on Mon Jan 23 2012 12:22:31 xTuple ERP Programmer Reference, Version 3.8.0 doxygen 1.7.6.1