BPS C++ API  2.24.4
bpsreportsection.h
Go to the documentation of this file.
1 
4 #ifndef BPSREPORTSECTION_H
5 #define BPSREPORTSECTION_H
6 
7 #include "bpsreportelement.h"
8 
9 class BpsReport;
10 
15 {
16  Q_OBJECT
17 
18 public:
24  BpsReportSection(const BpsReportElement& aElement, BpsReport* aParent);
25 
26 public slots:
27 
33  int itemCount() const;
34 
41  BpsReportElement* itemAt(int aPosition) const;
42 
49  BpsReportElement* item(const QString& aName) const;
50 
56  qreal printHeight() const;
57 };
58 
59 Q_DECLARE_METATYPE(BpsReportSection*)
60 
61 #endif // BPSREPORTSECTION_H
#define BPSCORE_EXPORT
Declare class to be an import from the shared library.
Definition: bpscore_global.h:22
Public include file for BpsReportElement class.
This class represents a BPS report element.
Definition: bpsreportelement.h:79
BPS Report Object.
Definition: bpsreport.h:29
A report section will typically be created by calling BpsReport::createSection() from within the repo...
Definition: bpsreportsection.h:15
BpsReportElement * itemAt(int aPosition) const
Get item at a certain index position.
int itemCount() const
Get the number of items in this.
qreal printHeight() const
Returns the height in millimeters required to print the section.
BpsReportElement * item(const QString &aName) const
Get first named item.
BpsReportSection(const BpsReportElement &aElement, BpsReport *aParent)
The constructor.