Eneboo - Documentación para desarrolladores
Tipos públicos | Métodos públicos | Métodos protegidos | Atributos protegidos
Referencia de la Clase MReportObject

#include <mreportobject.h>

Diagrama de herencias de MReportObject
QObject Qt Qt MLabelObject MFieldObject MSpecialObject MCalcObject

Lista de todos los miembros.

Tipos públicos

enum  BorderStyle {
  NoPen = 0, SolidLine, DashLine, DotLine,
  DashDotLine, DashDotDotLine
}

Métodos públicos

 MReportObject ()
 MReportObject (const MReportObject &mReportObject)
MReportObject operator= (const MReportObject &mReportObject)
virtual ~MReportObject ()
virtual int draw (FLStylePainter *p)
void setGeometry (int x, int y, int w, int h)
void move (int x, int y)
int getX () const
int getY () const
int getWidth () const
int getHeight () const
int getSectionIndex () const
bool getDrawAtBottom () const
int getObjectId () const
void setBackgroundColor (int r, int g, int b)
void setForegroundColor (int r, int g, int b)
void setBorderColor (int r, int g, int b)
void setBorderWidth (int width)
void setBorderStyle (int style)
void setTransparent (bool t)
void setDrawAtBottom (bool b)
void setSectionIndex (int idx)
void setObjectId (int id)

Métodos protegidos

void drawBase (FLStylePainter *p)

Atributos protegidos

int xpos
int ypos
int width
int height
QColor backgroundColor
bool transparent
bool drawAtBottom
QColor foregroundColor
QColor borderColor
int borderWidth
int borderStyle
int sectionIndex
int objectId

Descripción detallada

Kugar report object baseclass

Autor:
Mutiny Bay Software

Documentación de las enumeraciones miembro de la clase

Border style constants

Valores de enumeraciones:
NoPen 
SolidLine 
DashLine 
DotLine 
DashDotLine 
DashDotDotLine 

Documentación del constructor y destructor

MReportObject::MReportObject ( )

Constructor

MReportObject::MReportObject ( const MReportObject mReportObject)

Copy constructor

MReportObject::~MReportObject ( ) [virtual]

Destructor


Documentación de las funciones miembro

int MReportObject::draw ( FLStylePainter p) [virtual]

Draws the object to the specified painter & x/y offsets

Reimplementado en MFieldObject y MLabelObject.

void MReportObject::drawBase ( FLStylePainter p) [protected]

Draws the base object to the specified painter & x/y offsets

bool MReportObject::getDrawAtBottom ( ) const [inline]

Gets the object's drawAtBottom property

int MReportObject::getHeight ( ) const [inline]

Gets the object's height

int MReportObject::getObjectId ( ) const [inline]

Gets the object's id

int MReportObject::getSectionIndex ( ) const [inline]

Gets the object's report section index

int MReportObject::getWidth ( ) const [inline]

Gets the object's width

int MReportObject::getX ( ) const [inline]

Gets the object's x position

int MReportObject::getY ( ) const [inline]

Gets the object's y position

void MReportObject::move ( int  x,
int  y 
)

Sets the object's position

Set the object's position

MReportObject MReportObject::operator= ( const MReportObject mReportObject)

Assignment operator

void MReportObject::setBackgroundColor ( int  r,
int  g,
int  b 
)

Sets the object's background color - default is white

Sets the object's background color

void MReportObject::setBorderColor ( int  r,
int  g,
int  b 
)

Sets the object's border color - default is black

Sets the object's border color

void MReportObject::setBorderStyle ( int  style) [inline]

Sets the object's border style - default is SolidLine

Sets the object's border style

void MReportObject::setBorderWidth ( int  width) [inline]

Sets the object's border width - default is 1

Sets the object's border width

void MReportObject::setDrawAtBottom ( bool  b) [inline]

Sets the object's drawAtBottom property

Sets the object's draw at bottom property

void MReportObject::setForegroundColor ( int  r,
int  g,
int  b 
)

Sets the object's foreground color - default is black

Sets the object's foreground color

void MReportObject::setGeometry ( int  x,
int  y,
int  w,
int  h 
)

Sets the object's position and size

Set the object's position and size

void MReportObject::setObjectId ( int  id) [inline]

Sets the object's id

void MReportObject::setSectionIndex ( int  idx) [inline]

Sets the object's report section index

void MReportObject::setTransparent ( bool  t) [inline]

Sets the object's transparent mode


Documentación de los datos miembro

Object's background color

Object's border color

Object's border style

Object's border width

True if the object must be drawed at the bottom of the section

Object's foreground color

Object's height

Object's id

Report section index. -1 when is not yet in a report section

True if the object has no background color

Object's width

int MReportObject::xpos [protected]

Object's x position

int MReportObject::ypos [protected]

Object's y postition


La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'