Eneboo - Documentación para desarrolladores
|
#include <mlineobject.h>
Tipos públicos | |
enum | Style { NoPen = 0, SolidLine, DashLine, DotLine, DashDotLine, DashDotDotLine } |
Métodos públicos | |
MLineObject () | |
MLineObject (const MLineObject &mLineObject) | |
MLineObject | operator= (const MLineObject &mLineObject) |
virtual | ~MLineObject () |
int | getObjectId () const |
void | setLine (int xStart, int yStart, int xEnd, int yEnd) |
void | setWidth (int width) |
void | setStyle (int style) |
void | setColor (int r, int g, int b) |
void | setObjectId (int id) |
virtual void | draw (FLStylePainter *p) |
Métodos protegidos | |
void | drawBase (FLStylePainter *p) |
Atributos protegidos | |
int | xpos1 |
int | ypos1 |
int | xpos2 |
int | ypos2 |
int | penWidth |
QColor | penColor |
int | penStyle |
int | objectId |
Amigas | |
class | MReportSection |
Kugar report line object
enum MLineObject::Style |
Line style constants
MLineObject::MLineObject | ( | ) |
Constructor
MLineObject::MLineObject | ( | const MLineObject & | mLineObject | ) |
Copy constructor
MLineObject::~MLineObject | ( | ) | [virtual] |
Destructor
void MLineObject::draw | ( | FLStylePainter * | p | ) | [virtual] |
Draws the object to the specified painter & x/y offsets
void MLineObject::drawBase | ( | FLStylePainter * | p | ) | [protected] |
Draws the object to the specified painter & x/y offsets
Draws the base object to the specified painter & x/y offsets
int MLineObject::getObjectId | ( | ) | const [inline] |
Gets the object's id
MLineObject MLineObject::operator= | ( | const MLineObject & | mLineObject | ) |
Assignment operator
Sets the start and end points for the line
void MLineObject::setObjectId | ( | int | id | ) | [inline] |
Sets the object's id
void MLineObject::setStyle | ( | int | style | ) | [inline] |
Sets the object's style
void MLineObject::setWidth | ( | int | width | ) | [inline] |
Sets the object's width
friend class MReportSection [friend] |
int MLineObject::objectId [protected] |
Object's id
QColor MLineObject::penColor [protected] |
Object's color
int MLineObject::penStyle [protected] |
Object's style
int MLineObject::penWidth [protected] |
Object's width
int MLineObject::xpos1 [protected] |
Object's x start position
int MLineObject::xpos2 [protected] |
Object's x end position
int MLineObject::ypos1 [protected] |
Object's y start postition
int MLineObject::ypos2 [protected] |
Object's y end position