Eneboo - Documentación para desarrolladores
|
#include <mfieldobject.h>
Tipos públicos | |
enum | DataType { String = 0, Integer, Float, Date, Currency, Pixmap, Codbar, Bool } |
Métodos públicos | |
MFieldObject () | |
MFieldObject (const MFieldObject &mFieldObject) | |
MFieldObject | operator= (const MFieldObject &mFieldObject) |
virtual | ~MFieldObject () |
int | getDataType () const |
int | getBlankZero () const |
QString | getFieldName () const |
void | setFieldName (const QString field) |
void | setText (const QString txt) |
void | setDataType (int t) |
void | setCodBarType (const QString &t) |
void | setCodBarRes (int r) |
void | setDateFormat (int f) |
void | setPrecision (int p) |
void | setCurrency (const QChar c) |
void | setNegValueColor (int r, int g, int b) |
void | setCommaSeparator (int c) |
void | setBlankZero (int z) |
virtual int | draw (FLStylePainter *p) |
Atributos protegidos | |
QString | fieldName |
int | dataType |
int | codbarType |
int | codbarRes |
int | format |
int | precision |
QChar | currency |
QColor | negativeValueColor |
QColor | saveColor |
int | comma |
int | blankZero |
Amigas | |
class | MReportSection |
Kugar report field object
MFieldObject::MFieldObject | ( | ) |
Constructor
MFieldObject::MFieldObject | ( | const MFieldObject & | mFieldObject | ) |
Copy constructor
MFieldObject::~MFieldObject | ( | ) | [virtual] |
Destructor
int MFieldObject::draw | ( | FLStylePainter * | p | ) | [virtual] |
int MFieldObject::getBlankZero | ( | ) | const [inline] |
int MFieldObject::getDataType | ( | ) | const [inline] |
QString MFieldObject::getFieldName | ( | ) | const [inline] |
Returns the bound data field name
MFieldObject MFieldObject::operator= | ( | const MFieldObject & | mFieldObject | ) |
Assignment operator
void MFieldObject::setBlankZero | ( | int | z | ) | [inline] |
Sets if zero values are substituted by spaces.
void MFieldObject::setCodBarRes | ( | int | r | ) | [inline] |
Sets code bar res in dpi (dots per inch)
void MFieldObject::setCodBarType | ( | const QString & | t | ) |
Sets code bar type
void MFieldObject::setCommaSeparator | ( | int | c | ) | [inline] |
Sets if object should delimit numeric values with commas
void MFieldObject::setCurrency | ( | const QChar | c | ) | [inline] |
Sets the field's currency symbol
void MFieldObject::setDataType | ( | int | t | ) | [inline] |
Sets the field's data type
void MFieldObject::setDateFormat | ( | int | f | ) | [inline] |
Sets the field's date formatting
void MFieldObject::setFieldName | ( | const QString | field | ) | [inline] |
Sets the bound data field
Sets the object's negative value color - default is red
void MFieldObject::setPrecision | ( | int | p | ) | [inline] |
Sets the field's precision
void MFieldObject::setText | ( | const QString | txt | ) | [virtual] |
Sets the field's data string - default is an empty string
Sets the field's data string
Reimplementado de MLabelObject.
friend class MReportSection [friend] |
int MFieldObject::blankZero [protected] |
Field's blank zero flag
int MFieldObject::codbarRes [protected] |
Code bar res
int MFieldObject::codbarType [protected] |
Code bar type
int MFieldObject::comma [protected] |
Field's comma flag
QChar MFieldObject::currency [protected] |
Field currency symbol
int MFieldObject::dataType [protected] |
Field data type
QString MFieldObject::fieldName [protected] |
Field name
int MFieldObject::format [protected] |
Field date format
QColor MFieldObject::negativeValueColor [protected] |
Field's negative value color
int MFieldObject::precision [protected] |
Field precision
QColor MFieldObject::saveColor [protected] |
Field's original color