#include <currcluster.h>
Properties | |
bool | allowNegative |
bool | baseVisible |
bool | currencyDisabled |
bool | currencyEditable |
bool | currencyEnabled |
bool | currencyVisible |
bool | enabled |
QString | fieldNameCurr |
Properties inherited from CurrDisplay | |
double | baseValue |
double | defaultLocalValue |
bool | enabled |
QString | fieldNameValue |
CurrDisplayFormats | format |
bool | localControl |
double | localValue |
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 Member Functions inherited from CurrDisplay | |
CurrDisplay (QWidget *parent, const char *name=0) | |
~CurrDisplay () | |
virtual double | baseValue () const |
virtual int | decimals () const |
double | defaultLocalValue () const |
virtual QDate | effective () const |
virtual QString | fieldNameValue () const |
virtual CurrDisplayFormats | format () const |
virtual bool | isEmpty () const |
virtual bool | isZero () const |
virtual bool | localControl () const |
virtual double | localValue () const |
void | set (const double, const int, const QDate &, const bool=true) |
void | setEffective (const QDate &) |
void | setEnabled (bool B) |
virtual void | setFieldNameValue (QString p) |
virtual void | setFormat (CurrDisplayFormats=Money) |
void | setLocalControl (bool) |
void | setLocalValue (double) |
void | setNA (const bool=true) |
void | setPaletteForegroundColor (const QColor &) |
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 () |
Public Slots inherited from CurrDisplay | |
void | clear () |
void | reset () |
void | setBaseValue (double) |
void | setDefaultLocalValue (double p) |
void | setId (int) |
Signals | |
void | editingFinished () |
Signals inherited from CurrDisplay | |
void | effectiveChanged (const QDate &) |
void | idChanged (int) |
void | noConversionRate () |
void | valueBaseChanged (const double) |
void | valueChanged () |
void | valueLocalChanged (const double) |
Protected Attributes | |
bool | _baseVisible |
XComboBox * | _currency |
bool | _currencyEnabled |
QDoubleValidator * | _validator |
QLabel * | _valueBaseLit |
QLabel * | _valueBaseWidget |
Protected Attributes inherited from CurrDisplay | |
bool | _baseKnown |
int | _decimals |
QDate | _effective |
QString | _fieldNameValue |
CurrDisplayFormats | _format |
QGridLayout * | _grid |
bool | _localControl |
int | _localId |
bool | _localKnown |
int | _localScale |
XDataWidgetMapper * | _mapper |
State | _state |
double | _valueBase |
double | _valueLocal |
XLineEdit * | _valueLocalWidget |
Protected Slots | |
virtual void | sId (int) |
virtual void | sReformat () const |
Protected Slots inherited from CurrDisplay | |
virtual void | setDataWidgetMap (XDataWidgetMapper *m) |
virtual void | sReformat () const |
virtual void | sValueBaseChanged () |
virtual void | sValueBaseChanged (double) |
virtual void | sValueLocalChanged () |
virtual void | sValueLocalChanged (double) |
Additional Inherited Members | |
Public Types inherited from CurrDisplay | |
enum | CurrDisplayFormats { Money, SalesPrice, PurchPrice, ExtPrice, Cost } |
Static Public Member Functions inherited from CurrDisplay | |
static QString | baseCurrAbbr () |
static int | baseId () |
static double | convert (const int, const int, const double, const QDate &) |
static QString | currSymbol (const int) |
Protected Types inherited from CurrDisplay | |
enum | State { New, NANew, Initialized, NAInit } |
Static Protected Attributes inherited from CurrDisplay | |
static QString | _baseAbbr = QString() |
static int | _baseId = -1 |
static int | _baseScale = 2 |
CurrCluster::CurrCluster | ( | QWidget * | parent, |
const char * | name = 0 |
||
) |
|
inline |
|
inline |
|
slot |
|
inlinevirtual |
Reimplemented from CurrDisplay.
|
inline |
|
inline |
|
inline |
|
signal |
|
inline |
|
inlinevirtual |
Reimplemented from CurrDisplay.
|
inlinevirtual |
Reimplemented from CurrDisplay.
|
inlinevirtual |
Reimplemented from CurrDisplay.
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
inlineslot |
|
virtualslot |
|
slot |
|
slot |
|
protectedvirtualslot |
|
slot |
|
protectedvirtualslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
Generated on Fri Oct 7 2016 16:24:47 | xTuple ERP Programmer Reference, Version 4.7.0 | 1.8.10 |