1
/***************************************************************************
5
copyright : (C) 2002 by Alexander Dymo
6
email : cloudtemple@mksat.net
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU Library General Public License as *
13
* published by the Free Software Foundation; either version 2 of the *
14
* License, or (at your option) any later version. *
16
***************************************************************************/
21
#include "creportitem.h"
23
class CanvasLine: public CanvasReportItem{
25
CanvasLine(int x, int y, int width, int height, QCanvas * canvas);
26
virtual int rtti() const { return KuDesignerRttiCanvasLine; }
27
virtual QString getXml();
28
virtual void draw(QPainter &painter);
30
virtual void updateGeomProps();
31
virtual void setSection(CanvasBand *section);
33
QPen getPenForShape();