Documents > BPS V2 C++ API
bpsreportpage.h
Go to the documentation of this file.
00001 
00004 #ifndef BPSREPORTPAGE_H
00005 #define BPSREPORTPAGE_H
00006 
00007 #include "bpsreportelement.h"
00008 
00009 class BpsReport;
00010 class BpsReportSection;
00011 class QGraphicsScene;
00012 
00017 class BPSCORE_EXPORT BpsReportPage : public BpsReportElement
00018 {
00019     Q_OBJECT
00020     BPS_PRIVATE(BpsReportPage)
00021 
00022 public:
00027     BpsReportPage(BpsReport* aParent);
00028 
00029     virtual ~BpsReportPage();
00030 
00031 public slots:
00032 
00037     int sectionCount() const;
00038 
00044     void appendSection(BpsReportSection* aSection);
00045 
00053     void insertSection(int aPosition, BpsReportSection* aSection);
00054 
00061     BpsReportSection* sectionAt(int aPosition) const;
00062 
00068     qreal printHeight() const;
00069 
00075     void draw(QGraphicsScene* aScene, int aResolution);
00076 };
00077 
00078 Q_DECLARE_METATYPE(BpsReportPage*)
00079 
00080 #endif // BPSREPORTPAGE_H