Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportSection.shared.h
Show All 26 Lines | |||||
27 | //! @brief The KReportSection class represents a section of a report design | 27 | //! @brief The KReportSection class represents a section of a report design | ||
28 | /*! A section has optional report header, report footer, page header, page footer, | 28 | /*! A section has optional report header, report footer, page header, page footer, | ||
29 | group header, group footer and detail. | 29 | group header, group footer and detail. | ||
30 | In the case of page header and page footer it is possible to define (firstpage, odd, even or lastpage). */ | 30 | In the case of page header and page footer it is possible to define (firstpage, odd, even or lastpage). */ | ||
31 | class KREPORT_EXPORT KReportSection //SDC: explicit operator== virtual_dtor custom_clone | 31 | class KREPORT_EXPORT KReportSection //SDC: explicit operator== virtual_dtor custom_clone | ||
32 | { | 32 | { | ||
33 | Q_DECLARE_TR_FUNCTIONS(KReportSection) | 33 | Q_DECLARE_TR_FUNCTIONS(KReportSection) | ||
34 | public: | 34 | public: | ||
35 | enum Type { | 35 | enum class Type { | ||
36 | InvalidType = 0, | 36 | Invalid, | ||
37 | PageHeaderFirst = 1, | 37 | PageHeaderFirst, | ||
38 | PageHeaderOdd, | 38 | PageHeaderOdd, | ||
39 | PageHeaderEven, | 39 | PageHeaderEven, | ||
40 | PageHeaderLast, | 40 | PageHeaderLast, | ||
41 | PageHeaderAny, | 41 | PageHeaderAny, | ||
42 | ReportHeader, | 42 | ReportHeader, | ||
43 | ReportFooter, | 43 | ReportFooter, | ||
44 | PageFooterFirst, | 44 | PageFooterFirst, | ||
45 | PageFooterOdd, | 45 | PageFooterOdd, | ||
46 | PageFooterEven, | 46 | PageFooterEven, | ||
47 | PageFooterLast, | 47 | PageFooterLast, | ||
48 | PageFooterAny, | 48 | PageFooterAny, | ||
49 | GroupHeader, | 49 | GroupHeader, | ||
50 | GroupFooter, | 50 | GroupFooter, | ||
51 | Detail | 51 | Detail | ||
52 | }; | 52 | }; | ||
53 | 53 | | |||
54 | /*! | 54 | /*! | ||
55 | @getter | 55 | @getter | ||
56 | @return section type | 56 | @return section type | ||
57 | Default section type is InvalidType. | 57 | Default section type is Invalid. | ||
58 | @setter | 58 | @setter | ||
59 | Sets section type. | 59 | Sets section type. | ||
60 | */ | 60 | */ | ||
61 | KReportSection::Type type; //SDC: default=KReportSection::InvalidType simple_type | 61 | KReportSection::Type type; //SDC: default=KReportSection::Type::Invalid simple_type | ||
62 | 62 | | |||
63 | /*! | 63 | /*! | ||
64 | @getter | 64 | @getter | ||
65 | @return section height measured in points | 65 | @return section height measured in points | ||
66 | It is equal to KReportSection::defaultHeight() unless setHeight() | 66 | It is equal to KReportSection::defaultHeight() unless setHeight() | ||
67 | is called with value > 0. | 67 | is called with value > 0. | ||
68 | @setter | 68 | @setter | ||
69 | Sets section height measured in points. | 69 | Sets section height measured in points. | ||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |