|
Eneboo - Documentación para desarrolladores
|
#include <mlabelobject.h>
Kugar report label object
| MLabelObject::MLabelObject | ( | ) |
Constructor
| MLabelObject::MLabelObject | ( | const MLabelObject & | mLabelObject | ) |
Copy constructor
| MLabelObject::~MLabelObject | ( | ) | [virtual] |
Destructor
| int MLabelObject::calcHeight | ( | FLStylePainter * | p | ) | const [virtual] |
Calculates the height of the drawed object
| int MLabelObject::draw | ( | FLStylePainter * | p | ) | [virtual] |
Draws the label
| p,: | Pintor, que pintas con amor |
Draws the label
Reimplementado de MReportObject.
Reimplementado en MFieldObject.
| bool MLabelObject::getChangeHeight | ( | ) | const [inline] |
Gets the label's text string
| QString MLabelObject::getText | ( | ) | [virtual] |
Gets the label's text string - default is an empty string
Gets the label's text string
| MLabelObject MLabelObject::operator= | ( | const MLabelObject & | mLabelObject | ) |
Assignment operator
| void MLabelObject::setAdjustFontSize | ( | bool | a | ) | [inline] |
Sets the label's adjust font size flag - default is false
Sets the label's adjust font size flag
| void MLabelObject::setChangeHeight | ( | bool | state | ) | [inline] |
Sets the label's change height flag
| void MLabelObject::setDomNodeData | ( | const QDomNode & | nD | ) | [inline, virtual] |
Sets the data
Sets the label's text font - default is Times,10,Normal,false
Sets the label's text font
| void MLabelObject::setHorizontalAlignment | ( | int | a | ) | [inline] |
Sets the label's horizontal alignment -default is Left
Sets the label's horizontal alignment
| void MLabelObject::setLabelFunction | ( | const QString & | lF | ) | [inline] |
Sets the label's function
| void MLabelObject::setPaintFunction | ( | const QString & | pF | ) | [inline] |
Sets paint function
| void MLabelObject::setPixmap | ( | const QPixmap & | pix | ) | [virtual] |
Sets the label's pixmap
| void MLabelObject::setText | ( | const QString | txt | ) | [virtual] |
Sets the label's text string - default is an empty string
Sets the label's text string
Reimplementado en MFieldObject.
| void MLabelObject::setVerticalAlignment | ( | int | a | ) | [inline] |
Sets the label's vertical alignment - default is Top
Sets the label's vertical alignment
| void MLabelObject::setWordWrap | ( | bool | state | ) | [inline] |
Sets the label's word wrap flag - default is false
Sets the label's word wrap flag
bool MLabelObject::adjustFontSize [protected] |
Label adjust font size flag
bool MLabelObject::changeHeight [protected] |
Indicates whether the label's height (and its including section if necessary) can change or not, if the text is too long and the wordWrap flag is set
QDomNode MLabelObject::domNodeData [protected] |
QString MLabelObject::fontFamily [protected] |
Label text font family
bool MLabelObject::fontItalic [protected] |
Label text font italic flag
float MLabelObject::fontSize [protected] |
Label text font size in points
int MLabelObject::fontWeight [protected] |
Label text font weight
int MLabelObject::hAlignment [protected] |
Lable text horizontal alignment
QString MLabelObject::labelFunction [protected] |
Label function
QString MLabelObject::paintFunction [protected] |
Paint function
QPixmap* MLabelObject::pixmap [protected] |
Label pixmap
QString MLabelObject::text [protected] |
Label text
int MLabelObject::vAlignment [protected] |
Label text vertical alignment
bool MLabelObject::wordWrap [protected] |
Label text word wrap flag
1.7.4